Corva AI Usage API

The Usage API from Corva AI — 2 operation(s) for usage.

Operations 2

GET /v2/usage Returns Usage records #
GET /v2/usage/summaries Returns UsageSummary records #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/corva-ai-usage-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

corva-ai-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v2.222.1
  title: Corva Usage API
  description: 'The Corva API is a powerful interface providing great flexibility and extensibility with Corva. Whether your needs are simple UI visualizations, data entry, replication/sync tasks, real-time stream processing, or complex machine learning CPU-intensive apps, the Corva API is the way to make it happen. Our concepts are split into three distinct silos: data apps, visualization apps, and a REST API'
  termsOfService: https://www.corva.ai/terms-and-conditions/
  contact:
    name: Corva API Team
    email: support@corva.ai
security:
- api_key: []
tags:
- name: Usage
paths:
  /v2/usage:
    get:
      summary: Returns Usage records
      tags:
      - Usage
      parameters:
      - in: query
        name: company_id
        description: Company ID.
        required: false
        schema:
          type: integer
      - in: query
        name: billable
        description: Billable ID or identifier.
        required: false
        schema:
          type: string
      - in: query
        name: start_at
        description: Smallest start_at time of returned records. UNIX timestamp or string.
        required: false
      - in: query
        name: end_at
        description: Largest end_at time of returned records. UNIX timestamp or string.
        required: false
      - in: query
        name: segment
        description: Segment of the records to return.
        required: false
        schema:
          type: string
          enum:
          - drilling
          - completion
      - in: query
        name: totals_by
        description: Calculate totals grouped by selected value.
        required: false
        schema:
          type: string
          enum:
          - app
          - app_with_cost
          - dataset
          - dataset_with_cost
          - daily
          - daily_with_cost
          - billable
          - billable_with_cost
          - segment
          - segment_with_cost
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageTotal'
      operationId: getV2Usage
      x-operation-id-source: derived
  /v2/usage/summaries:
    get:
      summary: Returns UsageSummary records
      tags:
      - Usage
      parameters:
      - in: query
        name: company_id
        description: Company ID.
        required: false
        schema:
          type: integer
      - in: query
        name: billable
        description: Billable ID or identifier.
        required: false
        schema:
          type: string
      - in: query
        name: start_at
        description: Smallest start_at time of returned records. UNIX timestamp or string.
        required: false
      - in: query
        name: end_at
        description: Largest end_at time of returned records. UNIX timestamp or string.
        required: false
      - in: query
        name: segment
        description: Segment of the records to return.
        required: false
        schema:
          type: string
          enum:
          - drilling
          - completion
      - in: query
        name: totals_by
        description: Calculate totals grouped by selected value.
        required: false
        schema:
          type: string
          enum:
          - app
          - dataset
          - monthly
          - billable
          - segment
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageSummaryTotal'
      operationId: getV2UsageSummaries
      x-operation-id-source: derived
components:
  schemas:
    UsageTotal:
      properties:
        resource_type:
          type: string
        resource_id:
          type: integer
        measurement:
          type: decimal
        full_lambda_name:
          type: string
        date:
          type: string
          format: date-time
        cost:
          type: decimal
      example:
        resource_type: Dataset
        resource_id: 1
        measurement: 15.3
        full_lambda_name: environment_app-key
        date: '2019-11-01'
        cost: 16
    UsageSummaryTotal:
      properties:
        resource_type:
          type: string
        resource_id:
          type: integer
        measurement:
          type: decimal
        full_lambda_name:
          type: string
        month:
          type: string
          format: date-time
        cost:
          type: decimal
      example:
        resource_type: Dataset
        resource_id: 1
        measurement: 15.3
        full_lambda_name: environment_app-key
        month: 2019-11
        cost: 16
  securitySchemes:
    api_key:
      type: apiKey
      name: authorization
      in: header