Skip to main content
POST
Create reference query

Authorizations

Authorization
string
header
required

API key authentication using Bearer scheme

Body

application/json

Serializer for Reference Query model instances.

query
string
required
Minimum string length: 1
connection_id
integer
required

Connection ID this query applies to

title
string | null
source_type
enum<string> | null
  • USER - User Provided
  • AI - AI Generated
  • TABLE - Table
Available options:
USER,
AI,
TABLE,
,
null

Response

201 - application/json

Serializer for Reference Query model instances.

id
integer
required
read-only
query
string
required
detailed_description
string | null
required
read-only
connection_id
integer
required

Connection ID this query applies to

status
enum<string>
required
read-only
  • PROCESSING - Processing
  • ERROR - Error
  • VALID - Valid
  • TEMPORARY - Temporary
Available options:
PROCESSING,
ERROR,
VALID,
TEMPORARY
error_message
string | null
required
read-only
created_at
string<date-time>
required
read-only
last_modified
string<date-time>
required
read-only
title
string | null
source_type
enum<string> | null
  • USER - User Provided
  • AI - AI Generated
  • TABLE - Table
Available options:
USER,
AI,
TABLE,
,
null