Claix
dev.claix/claix
Security layer for AI agents: Retrieve for controlled SQL reads, Guard for allow/deny writes.
- claix.agent.audio — Run audio extraction plus Agent mode reasoning. Requires is_agent_mode. Returns data[], agent_data, and log_id from spoken content. If the schema has Guardar Datos (window_context), the response may i
- claix.agent.doc — Run document extraction plus Agent mode reasoning on .docx/.txt/.md/.rtf. Requires is_agent_mode. Returns data[], agent_data, and log_id. If the schema has Guardar Datos (window_context), the response
- claix.agent.excel — Run Excel/CSV extraction plus Agent mode semantic reasoning. Requires is_agent_mode on the schema. Returns data[], agent_data, and log_id. If the schema has Guardar Datos (window_context), the respons
- claix.agent.image — Run image extraction plus Agent mode reasoning. Requires is_agent_mode. Returns data[], agent_data, and log_id from visible content. If the schema has Guardar Datos (window_context), the response may
- claix.agent.pdf — Run PDF extraction plus Agent mode reasoning. Requires is_agent_mode. Returns structured data[], agent_data, and log_id. If the schema has Guardar Datos (window_context), the response may include row_
- claix.agent.text — Run text/HTML/XML extraction plus Agent mode reasoning. Requires is_agent_mode. Send content (no file). Returns data[], agent_data, and log_id. If the schema has Guardar Datos (window_context), the re
- claix.agents.create — Create a Retrieve agent (POST /agents). Body: { name, slug, description, prompt, routes: uuid[], response_mode: "bruto"|"razonada", call_limit_period?: "day"|"week"|"month"|"unlimited", call_limit?: n
- claix.agents.edit — Edit a Retrieve agent (PUT /agents/edit/{agent_id}). Same body as create plus agent_id. Omit call_limit_period and call_limit to keep the current cap.
- claix.agents.pause — Pause or activate a Retrieve agent (POST /agents/pause/{agent_id}). Body: { status: "paused"|"active" }.
- claix.convert.json_to_excel — Convert JSON to an Excel .xlsx file using a Claix json-excel schema. Provide json_data inline or file_base64 with a .json file. Returns base64-encoded xlsx on success.
- claix.extract.audio — Extract structured JSON from spoken audio (MP3, WAV, M4A, OGG; max 12 MB / 10 minutes) using a Claix audio-json schema. Returns log_id. If the schema has Guardar Datos (window_context), the response m
- claix.extract.doc — Extract structured JSON from a Word document (.docx, .txt, .md, .rtf; max 10 MB) using a Claix doc-json schema. Returns log_id. If the schema has Guardar Datos (window_context), the response may inclu
- claix.extract.excel — Extract structured JSON from an Excel (.xlsx) or CSV file using a Claix excel-json schema. Processes the first sheet only. Returns typed JSON matching the schema plus log_id. If the schema has Guardar
- claix.extract.image — Extract structured JSON from a visible image (JPEG, PNG, WebP, HEIC/HEIF; max 15 MB) using a Claix img-json schema. Returns log_id. If the schema has Guardar Datos (window_context), the response may i
- claix.extract.pdf — Extract structured JSON from a PDF (text or scanned, max 15 MB) using a Claix pdf-json schema. Returns a single JSON object in data[] plus log_id. If the schema has Guardar Datos (window_context), the
- claix.extract.text — Extract structured JSON from already processed plain text, HTML, or XML using a Claix txt-json schema. Send the payload in the content field (no file). Max 300,000 characters. Returns log_id. If the s
- claix.guard.check — Claix Guard: check a proposed SQL write before your app executes it (POST /check-sql). Body: { sql, params?: unknown[], connection_id?: uuid }. You define what is allowed. Returns allowed, needs_appro
- claix.markdown.audio — Convert spoken audio to Markdown (POST /api/audio-markdown). No schema_id. Optional save=true inserts into the connected DB using Markdown rules and may return row_id; omit/false returns markdown only
- claix.markdown.doc — Convert Word/text document to Markdown (POST /api/doc-markdown). No schema_id. Optional save=true inserts into the connected DB using Markdown rules and may return row_id; omit/false returns markdown
- claix.markdown.excel — Convert Excel/CSV to Markdown (POST /api/excel-markdown). No schema_id. Optional save=true inserts into the connected DB using Markdown rules and may return row_id; omit/false returns markdown only.
- claix.markdown.image — Convert image to Markdown (POST /api/img-markdown). No schema_id. Optional save=true inserts into the connected DB using Markdown rules and may return row_id; omit/false returns markdown only.
- claix.markdown.pdf — Convert PDF to Markdown (POST /api/pdf-markdown). No schema_id. Optional save=true inserts into the connected DB using Markdown rules and may return row_id; omit/false returns markdown only.
- claix.markdown.text — Convert plain text/HTML/XML to Markdown (POST /api/txt-markdown). content field, no file, no schema_id. Optional save=true inserts into the connected DB using Markdown rules and may return row_id; omi
- claix.multi_document.ask — Ask up to 5 typed questions across up to 10 uploaded documents (POST /multi-document). Multipart: repeat field file for each document; questions as a JSON string of { question, format } (format: strin
- claix.retrieve.ask — Ask a Retrieve agent (POST /retrieve/{agent_name}). Controlled read against the live SQL database within the agent's routes. Body { questions: [{ question, format? }] }. format is required only for ra
- claix.routes.create — Create a Retrieve route (POST /routes). Body: { name, description, rules, tables: [{ name, columns: string[] }] }.
- claix.routes.delete — Delete a Retrieve route (POST /routes/delete/{route_id}). Requires route_id.
- claix.routes.edit — Edit a Retrieve route (PUT /routes/edit/{route_id}). Same body as create plus route_id path param.
- claix.schemas.create — Create a Claix schema (POST /api/create-schema). Requires name, type (excel-json, json-excel, pdf-json, doc-json, img-json, txt-json, audio-json) and schema_definition. Optional: is_agent_mode, agent_
- claix.schemas.delete — Delete a Claix schema owned by the API key (POST /api/delete-schema). Requires schema_id.
- claix.schemas.get — Get one Claix schema by schema_id (GET /api/get-schema/{schema_id}). Returns the full schema object (definition, Agent mode, Guardar Datos / window_context, source verification). Free call. 404 if mis
- claix.schemas.list — List the Claix schemas available for the authenticated account. Returns id, name, type, schema_definition, is_agent_mode, and agent_definition. Call this first whenever you need a schema_id before cla
- claix.schemas.update — Update a Claix schema (PUT /api/update-schema/{schema_id}). Same body as create: name, type, schema_definition; optional Agent mode, window_context (Guardar Datos), source verification. Replaces the f