Ingestion Rules
Create an ingestion rule
Creates a rule mapping a content_type glob to a converter. Exactly one of tool_id or agent_id must be set.
post/v1/projects/{project_id}/ingestion-rules
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/ingestion-rules
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Request body
Example request
{
"content_type_glob": "image/*",
"tool_id": "tool_V1StGXR8Z5jdHi6B",
"agent_id": "agent_V1StGXR8Z5jdHi6B",
"metadata": {
"author": "John",
"revision": 2
}
}Response
Ingestion rule created
Example response
{
"id": "igr_V1StGXR8Z5jdHi6B",
"content_type_glob": "image/*",
"metadata": {
"author": "John",
"revision": 2
}
}Changes
No recorded changes to this operation across all 1 revision of this API.