deployments
inference
Deployment Chat Completion
Changed onTest this exact deployment without changing the slug's production target.
post/api/v1/deploy/{deployment_id}/chat/completions
Request
- Base URLhttps://api.trajectory.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.trajectory.ai/api/v1/deploy/{deployment_id}/chat/completions
- AuthHTTP bearer
Path parameters
deployment_idstring required
Headers
X-Trajectory-Idstring required
Idempotency-Keystring nullable
X-API-Keystring nullable
Request body
Response
Successful Response
Changes
- info
added the new optional
headerrequest parameterIdempotency-Key
- info
- info
added the new optional request property
- info