AutoRAG

autorag

Methods

AI Search -> Envelope<{ response, search_query, data, 3 more... }>
post/accounts/{account_id}/autorag/rags/{id}/ai-search

AI Search

Security

The preferred authorization scheme for interacting with the Cloudflare API. Create a token.

Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY

Accepted Permissions (at least one required)

Auto Rag Write

path Parameters
account_id: string
id: string
(maxLength: 32, minLength: 1)

rag id

Response fields
result: { response, search_query, data, 3 more... }
success: boolean
Request example
200Example
Search -> Envelope<{ search_query, data, has_more, 2 more... }>
post/accounts/{account_id}/autorag/rags/{id}/search

Search

Sync -> Envelope<{ job_id }>
patch/accounts/{account_id}/autorag/rags/{id}/sync

Sync

autorag.jobs

Methods

Get A Job Details -> Envelope<{ id, source, end_reason, 3 more... }>
get/accounts/{account_id}/autorag/rags/{id}/jobs/{job_id}

Get a Job Details

List Jobs -> V4PagePaginationArray<{ id, source, end_reason, 3 more... }>
get/accounts/{account_id}/autorag/rags/{id}/jobs

List Jobs

List Job Logs -> Envelope<Array<{ id, created_at, message, 1 more... }>>
get/accounts/{account_id}/autorag/rags/{id}/jobs/{job_id}/logs

List Job Logs