dots.v2.genAi.agents.byAgent_uuId().usage.get()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.genAi.agents.byAgent_uuId(agent_uuId).usage.get(requestConfiguration?: RequestConfiguration<UsageRequestBuilderGetQueryParameters>): Promise<undefined | ApiGetAgentUsageOutput>Description
To get agent usage, send a GET request to /v2/gen-ai/agents/{uuid}/usage. Returns usage metrics for the specified agent within the provided time range.
Parameters
Path Parameters
agent_uuIdstring requiredExample:
"123e4567-e89b-12d3-a456-426614174000"Agent id
Query Parameters
startstring optionalExample:
"example string"Return all usage data from this date.
stopstring optionalExample:
"example string"Return all usage data up to this date, if omitted, will return up to the current date.
Request Sample
Response Example
More Information
See /v2/gen-ai/agents/{uuid}/usage in the API reference for additional detail on responses, headers, parameters, and more.