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

Togai Usage Meters API

Usage Meter level calls

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

This API exposes 1 JSON Schema definition.

Tagged areas include Usage Meters. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, and 1 JSON Schema.

This API exposes 7 operations across 4 paths, and defines 10 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 2 base URLs: https://api.togai.com/, https://sandbox-api.togai.com/.

7 operations 4 paths 10 schemas 1 DELETE2 GET1 PATCH3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.togai.com
Authentication
HTTP Bearer, API Key
License
Resource Areas
1

Authentication & Security 2

Togai Usage Meters API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (Bearer ) (bearerAuth). An API key is passed in the header as X-API-Key (apiKeyAuth). By default, every request must be authenticated.

Paths & Operations 7

Across 4 paths, the API surfaces 7 operations — 1 DELETE, 2 GET, 1 PATCH, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Usage Meters 7

Usage Meter level calls

POST
/usage_meters
Create an Usage Meter
createUsageMeter body → 201400401403404429default
GET
/usage_meters
List Usage Meters for Event Schema
getUsageMetersForEventSchema 4 params → 200400401403404429default
GET
/usage_meters/{usage_meter_id}
Get Usage Meter
getUsageMeter 1 param → 200400401403404429default
PATCH
/usage_meters/{usage_meter_id}
Update an Usage Meter
updateUsageMeter 1 param body → 200400401403404429default
DELETE
/usage_meters/{usage_meter_id}
Delete an Usage Meter
deleteUsageMeter 1 param → 200400401403404429default
POST
/usage_meters/{usage_meter_id}/activate
Activate Usage Meter
activateUsageMeter 1 param → 200400401403404429default
POST
/usage_meters/{usage_meter_id}/deactivate
Deactivate Usage Meter
deactivateUsageMeter 1 param → 200400401403404429default

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are UsageMeter (13 properties), CreateUsageMeterRequest (8 properties), UpdateUsageMeterRequest (8 properties), Computation (4 properties). Each schema is shown below with its type and property counts.

Computation
object
4 properties 2 required
CreateUsageMeterRequest
object
Request to create usage meter
8 properties 3 required
UsageMeterFilterEntry
object
Filter entry with field and value
2 properties 2 required
UsageMeterPaginatedResponse
object
3 properties
ErrorResponse
object
1 property 1 required
UsageMeterAggregation
string
Aggregation to be applied on usage meter result COUNT - Counts number of events matching the usage meter SUM - Sums up results of computation of all events mat…
PaginationOptions
object
2 properties
UpdateUsageMeterRequest
object
Request to update usage meter
8 properties
BaseSuccessResponse
object
1 property 1 required
UsageMeter
object
Structure of usage meter
13 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

togai-usage-meters-api-openapi.yml Raw ↑

Other APIs Togai publishes across the network.

Togai Accounts API
Togai AddOns API
Togai Aliases API
Togai Authentication API
Togai Credits API
Togai Customer Portal API
Togai Customers API
Togai Entitlements API
Togai Event Ingestion API
Togai Event Management API
Togai Event Schemas API
Togai Feature API
Where this information came from

This is an independent, third-party profile of Togai Usage Meters 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.