Chat completion, paid per call via x402
Send without payment to receive a 402 carrying the exact price, then sign and resend.
post/v1/chat/completions
Request
- Base URL: https://agents.dexl.io
- URL: https://agents.dexl.io/v1/chat/completions
- Auth: API key in header X-Payment
Request body
Response
Payment settled, completion returned
Example response
{
"object": "chat.completion",
"choices": [
{
"message": {
"role": "assistant"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.