Tasuku
ReferenceAPI referenceConfiguration

Read subscription usage for a coding-agent provider

Returns a normalized, cached snapshot for the requested provider, or the configured default when provider is omitted. Provider failures are represented in the response status and do not fail the request.

GET/organizations/{organization_id}/agent-usage

Returns a normalized, cached snapshot for the requested provider, or the configured default when provider is omitted. Provider failures are represented in the response status and do not fail the request.

Authorization

tasuku_session<token>

In: cookie

Path Parameters

organization_id*string
Length1 <= length <= 128

Query Parameters

provider?string

Value in

  • "CODEX"
  • "CLAUDE"

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/organizations/string/agent-usage"
{  "data": {    "fetched_at": "string",    "limits": [      {        "id": "string",        "label": "string",        "period": "FIVE_HOUR",        "resets_at": "string",        "used_percent": 0,        "window_minutes": 1      }    ],    "plan": "string",    "provider": "string",    "status": "AVAILABLE",    "unavailable_reason": "AUTHENTICATION_FAILED"  }}