POST
/
v0
/
chat_sessions
/
chat_results
curl --request POST \
  --url https://api.inkeep.com/v0/chat_sessions/chat_results \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json'
{
  "chat_session_id": "<string>",
  "message": {
    "role": "<string>",
    "content": "<string>",
    "records_cited": {
      "citations": [
        {
          "number": 123,
          "record": {
            "type": "documentation",
            "url": "<string>",
            "title": "<string>",
            "description": "<string>",
            "breadcrumbs": [
              "<string>"
            ]
          },
          "hit_url": "<string>"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
headerrequired

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

Body

application/json
integration_id
string
required
chat_session
object
required
chat_mode
Available options:
turbo,
auto
stream
boolean
default: false

Response

200 - application/json
chat_session_id
string
required
message
object
required