Developer API

Developer API for AI Agents and Workflows

Programmatic access to everything in Orckai. Manage agents, trigger workflows, search knowledge bases, stream chat responses, and deploy MCP servers through a RESTful interface with 42 endpoints, 18 permission scopes, and full OpenAPI 3.0 documentation.

42 Endpoints Across 6 Resource Groups

Every capability in the Orckai platform is exposed through a consistent REST interface. CRUD operations, execution triggers, search, and streaming are all available via API.

Agents

List, create, update, and delete AI agents. Execute agents with custom inputs and retrieve conversation history. Configure model selection, system prompts, tools, and runtime mode per agent.

Workflows

Build multi-step workflows with up to 7 step types. Trigger executions via API, retrieve run history with step-level output, and manage schedules, webhooks, and file-drop triggers programmatically.

Knowledge Bases

Upload documents in 50+ formats. Perform vector similarity search with configurable top-k and threshold. Manage embeddings, list indexed files, and delete individual documents from a knowledge base.

Chat

Send messages to any configured agent and receive streaming or synchronous responses. Resume conversations with full history context. Attach knowledge base context for RAG-powered responses with inline citations.

System Connections

Generate Model Context Protocol servers from database connections or API specifications. Deploy as Docker containers, discover available tools, and invoke them through the API. Manage lifecycle and networking.

Templates

Manage prompt templates with variable interpolation. List, create, update, and delete templates. Associate templates with widgets for consistent, branded AI interactions across your applications.

OpenAPI 3.0 Specification

The full API is documented in an OpenAPI 3.0 specification, so you can generate clients, validate requests, and explore endpoints interactively.

Complete Spec

Every endpoint, request body, response schema, and error code is documented in a machine-readable OpenAPI 3.0 YAML file. Download it from the docs or fetch it from the /api/v1/openapi.json endpoint.

Interactive Docs

Browse the API interactively with auto-generated documentation. Try endpoints directly from the browser, inspect request and response shapes, and copy curl commands for quick local testing.

Client SDK Generation

Use the OpenAPI spec with tools like openapi-generator to produce typed clients in Python, TypeScript, Go, Java, C#, and 40+ other languages. Keep your integration type-safe and auto-updated.

Start with one system, one use case.

Put AI to work on the systems you already run.