Create Response
Changed onCreate a response using OpenAI Responses API format.
This endpoint accepts a flow_id in the model parameter and processes the input through the specified Langflow flow.
Args: request: OpenAI Responses API request with model (flow_id) and input background_tasks: FastAPI background task manager api_key_user: Authenticated user from API key http_request: The incoming HTTP request telemetry_service: Telemetry service for logging
Returns: OpenAI-compatible response or streaming response
Raises: HTTPException: For validation errors or flow execution issues
Request
- The document declares no server URL.
- Auth
- API key in query parameter x-api-key
- or API key in header x-api-key
Request body
Response
Successful Response
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status
- warning