responses
Create Response
OpenAI-compatible responses endpoint with function calling support.
This endpoint provides OpenAI-compatible API responses with integrated function calling capabilities for Cognee operations.
Request Parameters
- input (str): The input text to process
- model (str): The model to use for processing
- tools (Optional[List[Dict]]): Available tools for function calling
- tool_choice (Any): Tool selection strategy (default: “auto”)
- temperature (float): Response randomness (default: 1.0)
Response
Returns an OpenAI-compatible response body with function call results.
Error Codes
- 400 Bad Request: Invalid request parameters
- 500 Internal Server Error: Error processing request
Notes
- Compatible with OpenAI API format
- Supports function calling with Cognee tools
- Uses default tools if none provided
POST
Create Response
Documentation Index
Fetch the complete documentation index at: https://docs.cognee.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Request body for the new responses endpoint (OpenAI Responses API format)
Previous
Generate Custom PromptGenerate a custom extraction prompt from a provided graph model schema JSON.
Next
Create Response