Skip to main content
Prism exposes a stateless OpenAI Responses-compatible endpoint. Use it with OpenAI SDK clients that call client.responses.create().

Create a response

Assistant text is available in output_text and in the output message item. Function calls are returned as function_call output items.

Body parameters

Continue a tool loop

Return prior output items explicitly in the next request:

Stream a response

Streams use typed Responses events, including response.created, response.output_item.added, response.output_text.delta, response.output_item.done, and response.completed.

Stateless compatibility

Prism applies zero data retention and does not implement stored Responses resources. Keep the conversation in your application and resend the required input items on each request. The following OpenAI features are not supported:
  • previous_response_id
  • store: true
  • background: true
  • hosted OpenAI tools such as web search, file search, and computer use
  • response retrieval, cancellation, deletion, and input-item subresources
Unsupported fields return an OpenAI-compatible 400 error rather than being silently ignored.
Last modified on September 10, 2026