POST
/
api
/
v1
/
responses
/
Create Response
curl --request POST \
  --url https://api.cognee.ai/api/v1/responses/ \
  --header 'Content-Type: application/json' \
  --data '{
  "input": "<string>"
}'
{
  "id": "<string>",
  "created": 123,
  "model": "<string>",
  "object": "response",
  "status": "completed",
  "toolCalls": [
    {
      "id": "<string>",
      "type": "function",
      "function": {
        "name": "<string>",
        "arguments": "<string>"
      },
      "output": {
        "status": "success",
        "data": {}
      }
    }
  ],
  "usage": {
    "prompt_tokens": 0,
    "completion_tokens": 0,
    "total_tokens": 0
  },
  "metadata": {}
}

Body

application/json

Request body for the new responses endpoint (OpenAI Responses API format)

Response

200
application/json

Successful Response

Response body for the new responses endpoint