Add new resource usage log using type and amount.
The type of resource consumed
OPENAI_TOKENS
Possible values: The amount of resource consumed.
4567
Successfully add resource usage log.
Invalid API key or secret key. Ensure that you are using a valid authentication key.
Unexpected error occurred while processing the request. Please try again later.
POST /external/resource-usage HTTP/1.1
Host: api.raia2.com
Agent-Secret-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"type": "OPENAI_TOKENS",
"amount": 4567
}
No content