API Reference
Components
Documents
- POSTUpload and process a document
- GETGet all documents
- GETGet a signed upload URL for a document
- PUTUpdate document file content
- GETGet all tags
- GETGet a document by ID
- DELDelete a document
- PUTUpdate a document
- GETGet document visual components
- GETGet document text blocks
- GETGet document collaborators
- PUTAdd collaborators to a document
- PUTUpdate document file content
- POSTAdd a tag to a document
- GETGet tags for a document
- DELRemove a tag from a document
- POSTSearch for documents
- GETGet a document search by ID
- POSTAdd a retention policy to a document
- GETGet retention policies for a document
- DELRemove a retention policy from a document
Job Status
Questions & Answers
Questions & Answers
Get a question & answer by ID
Retrieves a question & answer by its unique identifier.
GET
/
api
/
v0
/
questions
/
{question_id}
Copy
{
"id": 123,
"user_id": 123,
"question_text": "string",
"documents": [
{
"id": 123,
"name": "string",
"folder_id": {},
"file_path": {},
"file_type": "string",
"file_url": {},
"summary": "string",
"visibility": "string",
"version": 123,
"owner_id": 123,
"created_at": "string",
"updated_at": "string"
}
],
"plan": {},
"evidences": [
{
"id": 123,
"question_id": 123,
"evidence": "string",
"reasoning": "string",
"sequence_number": 123,
"document_id": 123,
"page_number": {},
"bboxes": {},
"created_at": "string",
"updated_at": "string"
}
],
"final_answer": {},
"answer_mode": "string",
"llm_provider": "string",
"chunk_type": "string",
"num_chunks": 123,
"num_chunks_processed": 123,
"current_state": "string",
"created_at": "string",
"updated_at": "string"
}
Get a question & answer by ID
Retrieves a question & answer by its unique identifier.
Path Parameters
integer
required
No description provided
Response
The response data for this endpoint.
Copy
{
"id": 123,
"user_id": 123,
"question_text": "string",
"documents": [
{
"id": 123,
"name": "string",
"folder_id": {},
"file_path": {},
"file_type": "string",
"file_url": {},
"summary": "string",
"visibility": "string",
"version": 123,
"owner_id": 123,
"created_at": "string",
"updated_at": "string"
}
],
"plan": {},
"evidences": [
{
"id": 123,
"question_id": 123,
"evidence": "string",
"reasoning": "string",
"sequence_number": 123,
"document_id": 123,
"page_number": {},
"bboxes": {},
"created_at": "string",
"updated_at": "string"
}
],
"final_answer": {},
"answer_mode": "string",
"llm_provider": "string",
"chunk_type": "string",
"num_chunks": 123,
"num_chunks_processed": 123,
"current_state": "string",
"created_at": "string",
"updated_at": "string"
}
Copy
{
"id": 123,
"user_id": 123,
"question_text": "string",
"documents": [
{
"id": 123,
"name": "string",
"folder_id": {},
"file_path": {},
"file_type": "string",
"file_url": {},
"summary": "string",
"visibility": "string",
"version": 123,
"owner_id": 123,
"created_at": "string",
"updated_at": "string"
}
],
"plan": {},
"evidences": [
{
"id": 123,
"question_id": 123,
"evidence": "string",
"reasoning": "string",
"sequence_number": 123,
"document_id": 123,
"page_number": {},
"bboxes": {},
"created_at": "string",
"updated_at": "string"
}
],
"final_answer": {},
"answer_mode": "string",
"llm_provider": "string",
"chunk_type": "string",
"num_chunks": 123,
"num_chunks_processed": 123,
"current_state": "string",
"created_at": "string",
"updated_at": "string"
}
Assistant
Responses are generated using AI and may contain mistakes.