Agents

Get an agent's max-tokens admission status

Returns whether a new investigation could start for the agent right now, the max-tokens limit blocking it when not, and when the current max-tokens window resets.

get/v1/agents/{id}/max-tokens-status

Request

  • Base URL
    https://docs.grepr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header GREPR-API-KEY
    • or OpenID Connect (https://grepr-prod.us.auth0.com/.well-known/openid-configuration)

Path parameters

idstring required

Response

Max-tokens status retrieved successfully

admitsboolean
agentLimitinteger
agentReservedinteger
agentUsageinteger
blockedBy'AGENT_MAX_TOKENS' | 'INTEGRATION_MAX_TOKENS'
integrationLimitinteger
integrationReservedinteger
integrationUsageinteger
investigationsQueuedinteger
reservationinteger
windowResetsAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.