How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OpenAI Usage API

The Usage API from OpenAI — 9 operation(s) for usage.

OpenAI Usage API is one of 51 APIs that OpenAI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Usage. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 9 operations across 9 paths, and defines 11 schemas. It is described by OpenAPI 3.0.0, at version 2.0.0.

Requests are made against a single base URL, https://api.openai.com/v1.

9 operations 9 paths 11 schemas 9 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0.0
Base URL
https://api.openai.com
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

OpenAI Usage API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (ApiKeyAuth). By default, every request must be authenticated.

Paths & Operations 9

Across 9 paths, the API surfaces 9 operations — 9 GET. Each is listed below with its method, path, parameters, and response codes.

Usage 9
GET
/organization/costs
Get costs details for the organization.
usage-costs 8 params → 200
GET
/organization/usage/audio_speeches
Get audio speeches usage details for the organization.
usage-audio-speeches 10 params → 200
GET
/organization/usage/audio_transcriptions
Get audio transcriptions usage details for the organization.
usage-audio-transcriptions 10 params → 200
GET
/organization/usage/code_interpreter_sessions
Get code interpreter sessions usage details for the organization.
usage-code-interpreter-sessions 7 params → 200
GET
/organization/usage/completions
Get completions usage details for the organization.
usage-completions 11 params → 200
GET
/organization/usage/embeddings
Get embeddings usage details for the organization.
usage-embeddings 10 params → 200
GET
/organization/usage/images
Get images usage details for the organization.
usage-images 12 params → 200
GET
/organization/usage/moderations
Get moderations usage details for the organization.
usage-moderations 10 params → 200
GET
/organization/usage/vector_stores
Get vector stores usage details for the organization.
usage-vector-stores 7 params → 200

Schemas 11

The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are UsageCompletionsResult (13 properties), UsageImagesResult (9 properties), UsageAudioSpeechesResult (7 properties), UsageModerationsResult (7 properties). Each schema is shown below with its type and property counts.

UsageImagesResult
object
The aggregated images usage details of the specific time bucket.
9 properties 3 required
UsageResponse
object
4 properties 4 required
UsageAudioTranscriptionsResult
object
The aggregated audio transcriptions usage details of the specific time bucket.
7 properties 3 required
UsageModerationsResult
object
The aggregated moderations usage details of the specific time bucket.
7 properties 3 required
UsageCompletionsResult
object
The aggregated completions usage details of the specific time bucket.
13 properties 4 required
UsageVectorStoresResult
object
The aggregated vector stores usage details of the specific time bucket.
3 properties 2 required
UsageAudioSpeechesResult
object
The aggregated audio speeches usage details of the specific time bucket.
7 properties 3 required
UsageCodeInterpreterSessionsResult
object
The aggregated code interpreter sessions usage details of the specific time bucket.
3 properties 2 required
UsageTimeBucket
object
4 properties 4 required
CostsResult
object
The aggregated costs details of the specific time bucket.
6 properties 1 required
UsageEmbeddingsResult
object
The aggregated embeddings usage details of the specific time bucket.
7 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

openai-usage-api-openapi.yml Raw ↑

Other APIs OpenAI publishes across the network.

OpenAI Responses API
OpenAI Moderations API
OpenAI Batch API
OpenAI Vector Stores API
OpenAI Uploads API
OpenAI Realtime API
OpenAI Evals API
OpenAI Videos API
OpenAI Conversations API
OpenAI Containers API
OpenAI ChatKit API
OpenAI Skills API
Where this information came from

This is an independent, third-party profile of OpenAI Usage API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.