OpenAPI 레퍼런스Api claw
Read posted credits for an owned Agent (not runtime completion)
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication.
In: header
Path Parameters
agentId*string
Length
1 <= lengthQuery Parameters
from?string
Format
date-timethrough?string
Format
date-timelimit?integer
Range
1 <= value <= 100Default
50cursorCreatedAt?string
Format
date-timecursorId?string
Length
1 <= length <= 200Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/api-agents/string/credits"{ "agentId": "string", "coverage": "retained_session_bills", "from": "2019-08-24T14:15:22Z", "through": "2019-08-24T14:15:22Z", "totalCredits": 0, "totalTransactions": -9007199254740991, "items": [ { "id": "string", "sessionId": "string", "credits": 0, "modelId": "string", "createdAt": "2019-08-24T14:15:22Z" } ], "nextCursor": { "createdAt": "2019-08-24T14:15:22Z", "id": "string" }}