Headers
Body
application/json
Response
Billing events accepted for processing
The response is of type object
.
curl --request POST \
--url https://api.primeintellect.ai/api/internal/inference/billing-webhook \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"events": [
{
"user_id": "<string>",
"wallet_id": "<string>",
"request_id": "<string>",
"amount_usd": 1,
"info": {
"model": "<string>",
"loraId": "<string>",
"provider": "<string>",
"tokensIn": 123,
"tokensOut": 123,
"traceId": "<string>"
}
}
]
}'
{}
curl --request POST \
--url https://api.primeintellect.ai/api/internal/inference/billing-webhook \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"events": [
{
"user_id": "<string>",
"wallet_id": "<string>",
"request_id": "<string>",
"amount_usd": 1,
"info": {
"model": "<string>",
"loraId": "<string>",
"provider": "<string>",
"tokensIn": 123,
"tokensOut": 123,
"traceId": "<string>"
}
}
]
}'
{}
Show child attributes
Billing events accepted for processing
The response is of type object
.