skills/devic-api/SKILL.md
Devic AI Platform API reference for assistants, agents, and tool servers. Use when working with Devic API endpoints, creating integrations, or building applications that interact with the Devic platform.
npx skillsauth add devicai/skills devic-apiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Devic is an AI platform that enables developers to build, deploy, and manage AI-powered assistants and autonomous agents. The platform provides a comprehensive REST API for programmatic access to all platform features.
https://api.devic.ai
All API requests require authentication using a JWT Bearer token. API keys follow the pattern. Generate your API key from the Devic dashboard on https://app.devic.ai/api-keys:
devic-{random_string}
Example: devic-wengpqengqp1234abcd
Include the API key in the Authorization header:
Authorization: Bearer devic-your-api-key-here
curl -X GET "https://api.devic.ai/api/v1/assistants" \
-H "Authorization: Bearer devic-your-api-key-here" \
-H "Content-Type: application/json"
All API responses follow a standardized format:
{
"success": true,
"data": { ... },
"timestamp": "2024-01-15T10:30:00.000Z"
}
{
"success": false,
"error": {
"message": "Error description",
"code": "ERROR_CODE"
},
"timestamp": "2024-01-15T10:30:00.000Z"
}
Understanding how the core entities relate to each other is essential for building integrations with the Devic platform.
┌─────────────────────────────────────────────────────────────────┐
│ Tool Server │
│ (External API integration with tool definitions) │
└─────────────────────────────────────────────────────────────────┘
│
│ referenced by
▼
┌─────────────────────────────────────────────────────────────────┐
│ Tools Group │
│ (Logical grouping of tools - built-in or from tool server) │
└─────────────────────────────────────────────────────────────────┘
│
│ availableToolsGroupsUids
▼
┌─────────────────────────────────────────────────────────────────┐
│ Assistant Specialization │
│ (Configuration: presets, tools, model, provider, etc.) │
└─────────────────────────────────────────────────────────────────┘
/ \
/ \
▼ ▼
┌──────────────────────┐ ┌──────────────────────────────────┐
│ Assistant │ │ Agent │
│ (Chat interface) │ │ (Autonomous execution threads) │
└──────────────────────┘ └──────────────────────────────────┘
│ │ │
▼ ▼ │ hand_off_subagent
┌──────────────────────┐ ┌──────────────────────┴───────────┐
│ Chat Histories │ │ Threads │
│ (Conversations) │ │ (Execution sessions with tasks) │
└──────────────────────┘ │ │
│ ┌─────────────────────────────┐ │
│ │ Subthreads │ │
│ │ (Child executions from │ │
│ │ subagent handoffs) │ │
│ └─────────────────────────────┘ │
└──────────────────────────────────┘
Assistant Specialization: The core configuration object that defines how an AI assistant or agent behaves. It includes:
presets - System prompt instructionsavailableToolsGroupsUids - Array of tool group identifiers that determine available toolsenabledTools - Optional subset of explicitly enabled tool identifiersmodel / provider - Default LLM configurationmemoryDocuments - Persistent context documentsAgents: Autonomous executors that use an embedded assistantSpecialization configuration. When you create an agent, you configure its specialization which determines:
availableToolsGroupsUids)presets)model/provider)Tool Servers: External API integrations that define tools. A tool server:
availableToolsGroupsUidsTo give an agent access to a custom CRM API:
availableToolsGroupsUidsThe Devic API is organized into three main sections:
Manage AI assistants that can process messages and maintain conversation history.
Base path: /api/v1/assistants
For detailed documentation, see assistants.md.
Manage autonomous agents that can execute multi-step tasks with tool access.
Base path: /api/v1/agents
For detailed documentation, see agents.md.
Configure external tool integrations that agents and assistants can use.
Base path: /api/v1/tool-servers
For detailed documentation, see tool-servers.md.
Upload files and get shareable download URLs. Used for attaching files to assistant messages.
Base path: /api/v1/files
For detailed documentation, see files.md.
Collect user feedback on AI responses from both assistants and agents.
Base paths:
/api/v1/assistants/:identifier/chats/:chatUid/feedback/api/v1/agents/threads/:threadId/feedbackFor detailed documentation, see feedback.md.
Transcribe audio to text using OpenAI Whisper with Devic's own OpenAI key.
transcriptId to attach to the resulting assistant messageBase path: /api/v1/whisper
For detailed documentation, see whisper.md.
List of all built-in tool groups with their UIDs, ready to use in availableToolsGroupsUids.
For detailed documentation, see built-in-tools.md.
List endpoints support pagination with the following query parameters:
| Parameter | Type | Default | Max | Description |
|-----------|------|---------|-----|-------------|
| offset | number | 0 | - | Number of items to skip |
| limit | number | 10 | 100 | Maximum items to return |
Paginated responses include metadata:
{
"data": [...],
"total": 50,
"offset": 0,
"limit": 10,
"hasMore": true
}
API rate limits are applied per API key. Contact support for rate limit details specific to your plan.
| Code | Description | |------|-------------| | 200 | Success | | 201 | Created | | 400 | Bad Request - Invalid input data | | 401 | Unauthorized - Invalid or missing API key | | 404 | Not Found - Resource does not exist | | 429 | Too Many Requests - Rate limit exceeded | | 500 | Internal Server Error |
curl -X POST "https://api.devic.ai/api/v1/assistants" \
-H "Authorization: Bearer devic-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"name": "My Assistant",
"description": "A helpful assistant",
"model": "gpt-4.1-mini",
"provider": "openai"
}'
curl -X POST "https://api.devic.ai/api/v1/assistants/default/messages" \
-H "Authorization: Bearer devic-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"message": "Hello, how can you help me?",
"chatUid": "optional-chat-id"
}'
curl -X POST "https://api.devic.ai/api/v1/agents/{agentId}/threads" \
-H "Authorization: Bearer devic-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"message": "Analyze the sales data and create a report"
}'
curl -X GET "https://api.devic.ai/api/v1/tool-servers?limit=10" \
-H "Authorization: Bearer devic-your-api-key"
tools
Build, configure and ship Devic MCP Apps — sandboxed HTML/JS widgets that render inside MCP clients like Claude Custom Connectors and ChatGPT, attached to your Devic tool servers. Covers the runtime contract, the Devic UI editor, and the public API for headless creation.
tools
Link Devic MCP App widgets to a folder in a GitHub repository so the source code becomes the runtime source of truth. Covers the opinionated repo layout, the code Devic injects around your JS, the connect/scan/bulk-import UI flow, and the gotcha of "self-contained" widgets that try to ship their own MCP Apps client.
development
Devic UI is a react component library to integrate AI UI components like chats and agents executions handler directly in your code base connected to devicai API
tools
@devicai/cli reference — the Devic AI Platform CLI. Use when executing Devic API operations from the command line, scripting automations, or building agent workflows that interact with assistants, agents, tool servers, and feedback.