Authenticators
create
authenticators.create
Register your own OAuth app (client id and secret) for a provider’s connections
Risk: write
createConnection
authenticators.createConnection
Create a connection through your own OAuth app; it starts syncing and processing pages, which is billed
Risk: destructive
partition_strategy full type
partition_strategy full type
Record<string, any>
delete
authenticators.delete
Delete an OAuth app registration
Risk: destructive
list
authenticators.list
List your own OAuth apps registered for connections, paged by cursor
Risk: read
authenticators full type
authenticators full type
pagination full type
pagination full type
Connections
create
connections.create
Create a non-OAuth connector such as S3, GCS, Freshdesk, Zendesk, Intercom or a web crawler, with its settings and credentials
Risk: destructive
connection full type
connection full type
partition_strategy full type
partition_strategy full type
createOAuthRedirectUrl
connections.createOAuthRedirectUrl
Start an OAuth connector flow (Google Drive, Notion and the like) and get the short-lived redirect URL to send the user to
Risk: write
delete
connections.delete
Delete a connection. With keep_files false its documents are deleted too and cannot be recovered; with true the documents survive unlinked
Risk: destructive · Irreversible
Record<string, string>
get
connections.get
Read one connection, including its sync state and limits
Risk: read
getStats
connections.getStats
Read a connection’s document and page counts
Risk: read
list
connections.list
List managed data connectors, paged by cursor
Risk: read
connections full type
connections full type
pagination full type
pagination full type
listSourceTypes
connections.listSourceTypes
List the connector types Ragie supports, with the metadata each needs
Risk: read
connectors full type
connectors full type
setEnabled
connections.setEnabled
Enable or disable a connection syncing
Risk: write
setLimits
connections.setLimits
Set the monthly page limit on a connection; null removes the limit
Risk: write
sync
connections.sync
Schedule a connector to sync as soon as possible; the sync itself runs in the background
Risk: destructive
update
connections.update
Update a connection metadata, mode, partition strategy or page limit
Risk: write
partition_strategy full type
partition_strategy full type
Documents
create
documents.create
Upload a file for ingestion. Processing runs in the background: poll documents.get until status is ready or failed
Risk: destructive
file full type
file full type
createFromUrl
documents.createFromUrl
Fetch a URL and ingest its content. Processing runs in the background: poll documents.get until status is ready or failed
Risk: destructive
createRaw
documents.createRaw
Ingest raw text. Processing runs in the background: poll documents.get until status is ready or failed
Risk: destructive
delete
documents.delete
Delete a document and its chunks. There is no restore call
Risk: destructive · Irreversible
get
documents.get
Read one document, including its processing status: pending, partitioning, partitioned, refined, chunked, indexed, summary_indexed, keyword_indexed, ready or failed
Risk: read
getChunk
documents.getChunk
Read one chunk of a document: its text, metadata and links
Risk: read
getChunkContent
documents.getChunkContent
Download one chunk as text, audio, video or image (media_type), returned as a file
Risk: read
media_type (text/plain by default; audio/mpeg, video/mp4 or an image type for media chunks). range asks for part of an audio or video stream.
Output: empty object
getChunks
documents.getChunks
List the chunks a document was split into, paged by cursor
Risk: read
chunks full type
chunks full type
pagination full type
pagination full type
getContent
documents.getContent
Read a document processed content as JSON. Audio and video media-type streaming is not wrapped
Risk: read
getSource
documents.getSource
Download the original file a document was made from
Risk: read
getSummary
documents.getSummary
Read the LLM summary of a document; unavailable for spreadsheets, JSON and documents over a million tokens
Risk: read
list
documents.list
List documents with their processing status, paged by cursor; filter by a JSON metadata filter or partition
Risk: read
documents full type
documents full type
pagination full type
pagination full type
listElements
documents.listElements
List the structural elements Ragie parsed from a document (titles, text, tables, images), paged by cursor
Risk: read
document_elements full type
document_elements full type
pagination full type
pagination full type
listEntities
documents.listEntities
List the entities instructions extracted from one document, paged by cursor
Risk: read
entities full type
entities full type
pagination full type
pagination full type
patchMetadata
documents.patchMetadata
Merge metadata onto a document; a null value deletes that key
Risk: write
object
Output full type
Output full type
updateFile
documents.updateFile
Replace a document with a new file. Reprocessing runs in the background: poll documents.get until status is ready or failed
Risk: destructive
file full type
file full type
updateFromUrl
documents.updateFromUrl
Replace a document with content fetched from a URL. Reprocessing runs in the background: poll documents.get until status is ready or failed
Risk: destructive
updateRaw
documents.updateRaw
Replace a document with new raw text. Reprocessing runs in the background: poll documents.get until status is ready or failed
Risk: destructive
Elements
get
elements.get
Read one parsed document element
Risk: read
Instructions
create
instructions.create
Create an entity extraction instruction; it runs on matching documents and their extraction is billed
Risk: destructive
scope: chunk runs once per chunk.
Output
delete
instructions.delete
Delete an instruction and the entities it extracted
Risk: destructive · Irreversible
list
instructions.list
List entity extraction instructions
Risk: read
instructions full type
instructions full type
listEntities
instructions.listEntities
List the entities one instruction extracted, paged by cursor
Risk: read
entities full type
entities full type
pagination full type
pagination full type
listExtractionLogs
instructions.listExtractionLogs
List extraction attempts for an instruction with status and reasons, filterable by document, status and date
Risk: read
document_ids, status (extracted, not_found, error) and created_after / created_before (ISO 8601).
Output
logs full type
logs full type
pagination full type
pagination full type
update
instructions.update
Change an instruction’s prompt, schema, filter or active flag
Risk: write
Partitions
create
partitions.create
Create a partition with optional page and media limits and a metadata schema
Risk: write
limits full type
limits full type
delete
partitions.delete
Delete a partition and every document in it
Risk: destructive · Irreversible
async: true answers at once and deletes in the background.
Output
get
partitions.get
Read a partition with its limits and usage stats
Risk: read
limits full type
limits full type
list
partitions.list
List partitions with their limits, paged by cursor
Risk: read
partitions full type
partitions full type
pagination full type
pagination full type
setLimits
partitions.setLimits
Set a partition’s monthly and maximum page and media limits
Risk: write
limits full type
limits full type
update
partitions.update
Change a partition’s description, context awareness or metadata schema
Risk: write
limits full type
limits full type
Responses
create
responses.create
Generate a grounded answer with the deep-search model. Bills LLM usage; poll responses.get until status is completed or failed
Risk: destructive
usage full type
usage full type
get
responses.get
Read a generated response, including its status and the final answer
Risk: read
usage full type
usage full type
Retrievals
retrieve
retrievals.retrieve
Search ingested documents and return scored chunks, optionally reranked and filtered by metadata operators
Risk: read
scored_chunks full type
scored_chunks full type
Webhook Endpoints
create
webhookEndpoints.create
Register a webhook endpoint. The answer carries its signing secret (reads of the endpoint return it too); keep it somewhere safe
Risk: write
delete
webhookEndpoints.delete
Delete a webhook endpoint registration; its signing secret stops working
Risk: destructive · Irreversible
get
webhookEndpoints.get
Read one webhook endpoint registration
Risk: read
list
webhookEndpoints.list
List the webhook endpoints registered to receive tenant events, paged by cursor. This plugin verifies and handles the deliveries (see webhooks)
Risk: read
webhook_endpoints full type
webhook_endpoints full type
pagination full type
pagination full type
update
webhookEndpoints.update
Update a webhook endpoint name, URL, partition pattern or active flag
Risk: write