# Ragie

Fully managed RAG-as-a-Service for developers

- **Category:** developer tools
- **Auth:** API_KEY
- **Tools:** 31
- **Triggers:** 0
- **Slug:** `RAGIE`
- **Version:** 00000000_00

## Tools

### Create Document

**Slug:** `RAGIE_CREATE_DOCUMENT`

Tool to upload and process a document file in Ragie. Use when you need to create a new document with support for various formats including text, images, and documents. The endpoint accepts multipart/form-data and returns a Document object with processing status and metadata.

### Create Document From URL

**Slug:** `RAGIE_CREATE_DOCUMENT_FROM_URL`

Tool to ingest a document from a publicly accessible URL. Use when you need to add documents to Ragie from external sources. The document undergoes processing steps (pending, partitioning, indexed, ready) before becoming available for retrieval.

### Create Document Raw

**Slug:** `RAGIE_CREATE_DOCUMENT_RAW`

Tool to ingest a document as raw text or JSON. Use when creating a new document from text or JSON data. The document goes through processing steps and becomes available for retrieval once in the ready state.

### Create Instruction

**Slug:** `RAGIE_CREATE_INSTRUCTION`

Tool to create a new instruction that applies natural language directives to documents as they're ingested or updated. Use when you need to define structured data extraction or analysis rules for documents in Ragie.

### Create OAuth Redirect URL

**Slug:** `RAGIE_CREATE_OAUTH_REDIRECT_URL`

Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows. Use when you need to set up OAuth authentication for connectors like Google Drive, Notion, or HubSpot.

### Create Partition

**Slug:** `RAGIE_CREATE_PARTITION_PARTITIONS_POST`

Tool to create a new partition for scoping documents and connections in Ragie. Use when you need to organize documents and set resource limits for different workspaces or tenants.

### Delete Document

**Slug:** `RAGIE_DELETE_DOCUMENT`

Tool to delete a document from Ragie. Use when you need to remove a document permanently from the system. Supports both synchronous and asynchronous deletion modes.

### Delete Instruction

**Slug:** `RAGIE_DELETE_INSTRUCTION`

Tool to delete an instruction and all associated entities. Use when you need to permanently remove an instruction (irreversible operation). Requires the instruction ID (UUID format).

### Delete Partition

**Slug:** `RAGIE_DELETE_PARTITION`

Tool to delete a partition and all associated data irreversibly. Use when you need to permanently remove a partition. Returns status 200 for synchronous deletion or 202 for asynchronous deletion.

### Get Document

**Slug:** `RAGIE_GET_DOCUMENT`

Tool to retrieve a specific document by its unique identifier. Use when you need to get document details, metadata, processing status, or check for errors. Returns comprehensive document information including chunk count, page count, and any processing errors.

### Get Document Chunk

**Slug:** `RAGIE_GET_DOCUMENT_CHUNK`

Tool to retrieve a specific document chunk by its document and chunk ID. Use when you need detailed information about a specific chunk within a document, including its content, metadata, position index, and optional modality data for audio/video chunks.

### Get Document Chunk Content

**Slug:** `RAGIE_GET_DOCUMENT_CHUNK_CONTENT`

Tool to retrieve document chunk content in requested format with streaming support for media. Use when you need to get the actual content of a specific chunk from a document.

### Get Document Chunks

**Slug:** `RAGIE_GET_DOCUMENT_CHUNKS`

Tool to retrieve document chunks with pagination support. Lists all document chunks sorted by index in ascending order (max 100 items per page). Documents created prior to 9/18/2024 that have not been updated since have chunks sorted by ID instead of index.

### Get Document Content

**Slug:** `RAGIE_GET_DOCUMENT_CONTENT`

Tool to retrieve the content of a document by its ID. Use when you need to access the full content of a specific document. The media_type parameter can be used to request content in different formats.

### Get Document Summary

**Slug:** `RAGIE_GET_DOCUMENT_SUMMARY`

Tool to retrieve an LLM-generated summary of a document by its ID. Use when you need to get a concise summary of a document's content.

### Get Partition

**Slug:** `RAGIE_GET_PARTITION`

Tool to retrieve a partition by ID with usage statistics and resource limits. Use when you need to get detailed information about a specific partition.

### Get Response

**Slug:** `RAGIE_GET_RESPONSE`

Tool to retrieve a response by its unique identifier. Use when you need to check the status or details of a previously created response.

### List Connections

**Slug:** `RAGIE_LIST_CONNECTIONS_CONNECTIONS_GET`

Tool to list all connections sorted by creation date descending with pagination support. Use when you need to retrieve connections, optionally filtered by metadata.

### List Connection Source Types

**Slug:** `RAGIE_LIST_CONNECTION_SOURCE_TYPES`

Tool to list available connection source types like 'google_drive' and 'notion' along with their metadata. Use when you need to discover what connector types are available in Ragie.

### List Documents

**Slug:** `RAGIE_LIST_DOCUMENTS`

Tool to list all documents sorted by creation date (descending) with pagination support. Use when you need to browse or retrieve document metadata. Supports filtering and pagination up to 100 items per page.

### List Entities By Document

**Slug:** `RAGIE_LIST_ENTITIES_BY_DOCUMENT`

Tool to retrieve all extracted entities from a specific document with pagination support. Use when you need to access structured data that has been extracted from a document by Ragie's entity extraction instructions.

### List Entities by Instruction

**Slug:** `RAGIE_LIST_ENTITIES_BY_INSTRUCTION`

Tool to retrieve entities generated by a specific instruction. Use when you need to fetch entities extracted from documents based on a specific instruction's processing.

### List Instructions

**Slug:** `RAGIE_LIST_INSTRUCTIONS`

Tool to retrieve all instruction records from the Ragie system. Use when you need to view all available instructions that define natural language prompts and entity schemas applied to documents.

### List Partitions

**Slug:** `RAGIE_LIST_PARTITIONS`

Tool to retrieve a paginated list of all partitions sorted by name in ascending order. Use when you need to list available partitions with their configurations and limits.

### Patch Document Metadata

**Slug:** `RAGIE_PATCH_DOCUMENT_METADATA`

Tool to update metadata for a specific document with partial update support. Use when you need to modify document metadata fields without replacing the entire metadata object. Supports both synchronous and asynchronous updates.

### Retrieve Document Chunks

**Slug:** `RAGIE_RETRIEVE`

Tool to retrieve relevant document chunks based on a query. Use when you need to search and retrieve document content that matches a specific query, with optional filtering and reranking capabilities.

### Set Partition Limits

**Slug:** `RAGIE_SET_PARTITION_LIMITS`

Tool to set usage limits on partition pages and media. Use when you need to configure monthly or maximum limits for pages processed/hosted, video/audio processing, or media streaming/hosting for a specific partition.

### Update Document From URL

**Slug:** `RAGIE_UPDATE_DOCUMENT_FROM_URL`

Tool to update an existing document by fetching content from a publicly accessible URL. Use when you need to refresh or replace a document's content with data from a web URL. The document goes through processing steps before it is ready for retrieval.

### Update Document Raw

**Slug:** `RAGIE_UPDATE_DOCUMENT_RAW`

Tool to update a document's content from raw text or JSON data. Use when modifying existing document content. The document undergoes processing and becomes available for retrieval once it reaches the ready state.

### Update Instruction

**Slug:** `RAGIE_UPDATE_INSTRUCTION`

Tool to update an instruction's active status. Use when you need to activate or deactivate an existing instruction.

### Update Partition

**Slug:** `RAGIE_UPDATE_PARTITION`

Tool to update a partition's configuration including description, context-aware settings, and metadata schema. Use when you need to modify an existing partition's settings.
