OpenAI Compatible
Completions
Responses
Non-Streaming
LLM
v1
Create a response (OpenAI-compatible, non-streaming)
Changed onCreates a standard (non-streaming) completion response, compatible with the OpenAI response format. Use this endpoint as a drop-in replacement to create responses similar to OpenAI's chat/completions, but always returns the full response in a single payload. Requires API key authentication and is subject to rate limiting. Common use cases include chatbot interactions, assistant replies, and single-turn LLM completions.
post/v1/responses
Request
- Base URLhttps://api.swarms.world
- URLhttps://api.swarms.world/v1/responses
- Authnone declared. Required headers: x-api-key
Headers
x-api-keystring required
Request body
Response
Successful Response
Changes
- info
endpoint added
- info