Skip to content
Start here

AutoRAG

AI Search
Deprecated
POST/accounts/{account_id}/autorag/rags/{id}/ai-search
Search
Deprecated
POST/accounts/{account_id}/autorag/rags/{id}/search
Sync
Deprecated
PATCH/accounts/{account_id}/autorag/rags/{id}/sync
Files
Deprecated
GET/accounts/{account_id}/autorag/rags/{id}/files
ModelsExpand Collapse
AutoRAGAISearchResponse { response, search_query, data, 3 more }
response: string
search_query: string
data: optional array of { score, attributes, content, 2 more }
score: number
attributes: optional unknown
content: optional array of { text, type }
text: optional string
type: optional string
file_id: optional string
filename: optional string
has_more: optional boolean
next_page: optional string
object: optional string
AutoRAGSearchResponse { search_query, data, has_more, 2 more }
search_query: string
data: optional array of { score, attributes, content, 2 more }
score: number
attributes: optional unknown
content: optional array of { text, type }
text: optional string
type: optional string
file_id: optional string
filename: optional string
has_more: optional boolean
next_page: optional string
object: optional string
AutoRAGSyncResponse { job_id }
job_id: string
AutoRAGFilesResponse = array of { error, key }
error: string
key: string

AutoRAGJobs

List Jobs
Deprecated
GET/accounts/{account_id}/autorag/rags/{id}/jobs
Get a Job Details
Deprecated
GET/accounts/{account_id}/autorag/rags/{id}/jobs/{job_id}
List Job Logs
Deprecated
GET/accounts/{account_id}/autorag/rags/{id}/jobs/{job_id}/logs
ModelsExpand Collapse
JobListResponse { id, source, end_reason, 3 more }
id: string
source: "user" or "schedule"
One of the following:
"user"
"schedule"
end_reason: optional string
ended_at: optional string
last_seen_at: optional string
started_at: optional string
JobGetResponse { id, source, end_reason, 3 more }
id: string
source: "user" or "schedule"
One of the following:
"user"
"schedule"
end_reason: optional string
ended_at: optional string
last_seen_at: optional string
started_at: optional string
JobLogsResponse = array of { id, created_at, message, message_type }
id: number
created_at: number
message: string
message_type: number