{
"document_ids": [
123
],
"chunk_type": "string",
"question": "string",
"llm_provider": "string",
"answer_mode": "string"
}
{
"job_status_id": "string",
"status": "string",
"error_message": {},
"question_id": 123
}
Questions & Answers
Ask a question
Asks a question (in reference to a document), returning a question ID and a job status ID to track the completion state. Maximum questions per user is 100.
POST
/
api
/
v0
/
questions
{
"document_ids": [
123
],
"chunk_type": "string",
"question": "string",
"llm_provider": "string",
"answer_mode": "string"
}
{
"job_status_id": "string",
"status": "string",
"error_message": {},
"question_id": 123
}
Ask a question
Asks a question (in reference to a document), returning a question ID and a job status ID to track the completion state. Maximum questions per user is 100.Request Body
This endpoint requires a request body.{
"document_ids": [
123
],
"chunk_type": "string",
"question": "string",
"llm_provider": "string",
"answer_mode": "string"
}
Response
object
The response data for this endpoint.
{
"job_status_id": "string",
"status": "string",
"error_message": {},
"question_id": 123
}