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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/arthurai-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
openapi: 3.2.0
info:
title: Arthur GenAI Engine Agent Discovery Usage API
version: 2.1.688
description: Endpoints for retrieving token usage
servers:
- url: https://platform.arthur.ai/api
description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Usage
description: Endpoints for retrieving token usage
paths:
/api/v2/usage/tokens:
get:
tags:
- Usage
summary: Get Token Usage
description: Get token usage.
operationId: get_token_usage_api_v2_usage_tokens_get
security:
- API Key: []
parameters:
- name: start_time
in: query
required: false
schema:
type: string
format: date-time
description: Inclusive start date in ISO8601 string format. Defaults to the beginning of the current day if not provided.
title: Start Time
description: Inclusive start date in ISO8601 string format. Defaults to the beginning of the current day if not provided.
- name: end_time
in: query
required: false
schema:
type: string
format: date-time
description: Exclusive end date in ISO8601 string format. Defaults to the end of the current day if not provided.
title: End Time
description: Exclusive end date in ISO8601 string format. Defaults to the end of the current day if not provided.
- name: group_by
in: query
required: false
schema:
type: array
items:
$ref: '#/components/schemas/TokenUsageScope'
description: Entities to group token counts on.
default:
- rule_type
title: Group By
description: Entities to group token counts on.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TokenUsageResponse'
title: Response Get Token Usage Api V2 Usage Tokens Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
TokenUsageScope:
type: string
enum:
- rule_type
- task
title: TokenUsageScope
TokenUsageResponse:
properties:
rule_type:
anyOf:
- type: string
- type: 'null'
title: Rule Type
task_id:
anyOf:
- type: string
- type: 'null'
title: Task Id
count:
$ref: '#/components/schemas/TokenUsageCount'
type: object
required:
- count
title: TokenUsageResponse
TokenUsageCount:
properties:
inference:
type: integer
title: Inference
description: Number of inference tokens sent to Arthur.
eval_prompt:
type: integer
title: Eval Prompt
description: Number of Prompt tokens incurred by Arthur rules.
eval_completion:
type: integer
title: Eval Completion
description: Number of Completion tokens incurred by Arthur rules.
user_input:
type: integer
title: User Input
description: Number of user input tokens sent to Arthur. This field is deprecated and will be removed in the future. Use inference instead.
deprecated: true
prompt:
type: integer
title: Prompt
description: Number of Prompt tokens incurred by Arthur rules. This field is deprecated and will be removed in the future. Use eval_prompt instead.
deprecated: true
completion:
type: integer
title: Completion
description: Number of Completion tokens incurred by Arthur rules. This field is deprecated and will be removed in the future. Use eval_completion instead.
deprecated: true
type: object
required:
- inference
- eval_prompt
- eval_completion
- user_input
- prompt
- completion
title: TokenUsageCount
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
API_Key:
type: http
description: Bearer token authentication with an API key
scheme: bearer