OpenAPI 參考Api claw
Aggregate retained user prompts for owned agents
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/api-agents/usage" \ -H "Content-Type: application/json" \ -d '{ "spaceId": "string", "agentIds": [ "string" ], "through": "2019-08-24T14:15:22Z" }'{ "coverage": "retained_history", "through": "string", "days": [ { "agentId": "string", "day": "string", "channel": "miniapp", "questions": 0, "answered": 0, "firstAt": "string", "lastAt": "string" } ]}