Analytics apiQuery

Export Semantic Threads Query Results

Copy page

POST
/query/semantic-threads/export
AuthorizationBearer <token>

The API key for an API integration. For more details, see authentication documentation

In: header

Note: The maximum size of the request body is 2 MB.

query?string
select?array<SemanticThreadSelection>
groupBy?array<SemanticThreadGroupBy>
where?SemanticThreadFilter
orderBy?array<SemanticThread OrderBy Schema>
notes?string

Notes are not persisted, but may be useful for your debugging purposes

Lengthlength <= 80

Response Body

curl -X POST "https://api.analytics.inkeep.com/query/semantic-threads/export" \
  -H "Content-Type: application/json" \
  -d '{}'
"string"
{
  "title": "Bad Request",
  "status": 400,
  "detail": "Bad Request",
  "instance": "/conversations/123",
  "requestId": "req_1234567890",
  "code": "bad_request",
  "error": {
    "code": "bad_request",
    "message": "Bad Request"
  }
}
{
  "title": "Unauthorized",
  "status": 401,
  "detail": "Unauthorized",
  "instance": "/conversations/123",
  "requestId": "req_1234567890",
  "code": "unauthorized",
  "error": {
    "code": "unauthorized",
    "message": "Unauthorized"
  }
}
{
  "title": "Forbidden",
  "status": 403,
  "detail": "Forbidden",
  "instance": "/conversations/123",
  "requestId": "req_1234567890",
  "code": "forbidden",
  "error": {
    "code": "forbidden",
    "message": "Forbidden"
  }
}
{
  "title": "Unprocessable Entity",
  "status": 422,
  "detail": "Unprocessable Entity",
  "instance": "/conversations/123",
  "requestId": "req_1234567890",
  "code": "unprocessable_entity",
  "error": {
    "code": "unprocessable_entity",
    "message": "Unprocessable Entity"
  }
}
{
  "title": "Internal Server Error",
  "status": 500,
  "detail": "Internal Server Error",
  "instance": "/conversations/123",
  "requestId": "req_1234567890",
  "code": "internal_server_error",
  "error": {
    "code": "internal_server_error",
    "message": "Internal Server Error"
  }
}