GET /v2/gen-ai/agents/{uuid}/usage
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.
Servers
- https://api.digitalocean.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
uuid |
String | Yes |
Agent id |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
stop |
String | No |
Return all usage data up to this date, if omitted, will return up to the current date. |
start |
String | No |
Return all usage data from this date. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.