pydo.genai.get_agent_usage()
Generated on 7 Jul 2026
from pydo version
v0.39.0
Usage
client.genai.get_agent_usage(
uuid="\"123e4567-e89b-12d3-a456-426614174000\"",
start=None,
stop=None,
)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
uuidstring requiredAgent id
startstring optionalReturn all usage data from this date.
stopstring optionalReturn all usage data up to this date, if omitted, will return up to the current date.
Response Example
More Information
See /v2/gen-ai/agents/{uuid}/usage in the API reference for additional detail on responses, headers, parameters, and more.