Sign in

Get agent usage

documented

Retrieve usage metrics for an agent.

GET /v2/gen-ai/agents/{uuid}/usageGradient AI Platformno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.digitalocean.com/v2/gen-ai/agents/{{$uuid}}/usage?start={{$start}}&stop={{$stop}}" \
  -X GET \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}"