OpenAI Responses API
Create Response
Create 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
post/api/v1/responses
Request body
Response
Successful Response
{"stackTrail":"paths:/api/v1/responses:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}