cURL
curl --request POST \ --url https://api.example.com/api/v1/chat/completions \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
OpenAI chat completions endpoint with intelligent context injection.
This endpoint provides:
Headers:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The workspace ID
Successful Response