Skip to main content
POST
/
v1
/
interviews
/
{interview_id}
/
graph
/
query
/
stream
Query Interview Graph Stream
curl --request POST \
  --url https://api.ontora.com/v1/interviews/{interview_id}/graph/query/stream \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "anonymize": false,
  "top_k": 20,
  "conversation_history": [
    {
      "role": "<string>",
      "content": "<string>"
    }
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.ontora.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-API-Key
string | null

Path Parameters

interview_id
string<uuid>
required

Body

application/json
query
string
required
anonymize
boolean
default:false
top_k
integer
default:20
conversation_history
ConversationMessage · object[] | null

Response

Successful Response