Agents API
Reference for the 48 Agents operations in the Intuidy API.
Responses are JSON. A successful response is { "success": true, "data": …, "meta": … }, and each operation below documents its data. Errors use the error envelope described in Errors, pagination and limits.
| Operation | Method and path | Authorization |
|---|---|---|
| List agents | GET /agents | agents:read |
| Create an agent | POST /agents | agents:write |
| Get an agent | GET /agents/{agentId} | agents:read |
| Edit an agent | PATCH /agents/{agentId} | agents:write |
| Retire an agent | DELETE /agents/{agentId} | agents:write |
| Run an agent | POST /agents/{agentId}/run | agents:execute |
| Run the platform assistant | POST /agents/assistant/run | agents:execute |
| List agent teams | GET /agents/teams | agents:read |
| Create an agent team | POST /agents/teams | agents:write |
| Get an agent team | GET /agents/teams/{teamId} | agents:read |
| Edit an agent team | PATCH /agents/teams/{teamId} | agents:write |
| Retire an agent team | DELETE /agents/teams/{teamId} | agents:write |
| Run an agent team | POST /agents/teams/{teamId}/run | agents:execute |
| List the caller's own runs | GET /agents/runs | agents:read or agents:execute |
| Poll an async agent run | GET /agents/runs/{jobId} | agents:execute |
| Follow an async agent run as server-sent events | GET /agents/runs/{jobId}/stream | agents:read or agents:execute |
| List an agent's scheduled jobs | GET /agents/{agentId}/jobs | agents:read |
| Schedule an agent job | POST /agents/{agentId}/jobs | agents:write |
| Get a scheduled job | GET /agents/{agentId}/jobs/{jobId} | agents:read |
| Edit, pause, resume, or publish a job | PATCH /agents/{agentId}/jobs/{jobId} | agents:write |
| Delete a scheduled job | DELETE /agents/{agentId}/jobs/{jobId} | agents:write |
| Force-execute a scheduled job now | POST /agents/{agentId}/jobs/{jobId}/run-now | agents:execute |
| Run history for a scheduled job | GET /agents/{agentId}/jobs/{jobId}/runs | agents:read |
| List an agent's Library documents | GET /agents/{agentId}/brain | agents:read |
| Add a Library document | POST /agents/{agentId}/brain | agents:write |
| Update a Library document | PATCH /agents/{agentId}/brain/{documentId} | agents:write |
| Remove a Library document | DELETE /agents/{agentId}/brain/{documentId} | agents:write |
| Upload a document into an agent's Library | POST /agents/{agentId}/brain/upload | agents:write |
| List agent conversations | GET /agents/conversations | agents:read |
| Open a conversation | POST /agents/conversations | agents:execute |
| Read a conversation | GET /agents/conversations/{conversationId} | agents:read |
| Rename a conversation | PATCH /agents/conversations/{conversationId} | agents:execute |
| Delete a conversation | DELETE /agents/conversations/{conversationId} | agents:execute |
| List agent skills | GET /skills | agents:read |
| Create an agent skill | POST /skills | agents:write |
| Download skills as an Agent Skills bundle | GET /skills/download | agents:read |
| The skill library as a graph | GET /skills/graph | agents:read |
| Import Agent Skills bundles | POST /skills/import | agents:write |
| Get one agent skill in full | GET /skills/{skillId} | agents:read |
| Update an agent skill | PATCH /skills/{skillId} | agents:write |
| Delete an agent skill | DELETE /skills/{skillId} | agents:write |
| Download one skill as an Agent Skills bundle | GET /skills/{skillId}/download | agents:read |
| List the skill library's folders | GET /skills/folders | agents:read |
| Create a skill library folder | POST /skills/folders | agents:write |
| Rename or move a skill library folder | PATCH /skills/folders/{folderId} | agents:write |
| Delete a skill library folder | DELETE /skills/folders/{folderId} | agents:write |
| File skills and folders under a folder | POST /skills/move | agents:write |
| List or download agent workspace files | GET /workspace | agents:read |
List agents
GET /agents
Returns the agents this key can see: prebuilt agents, agents shared across the company, and the key owner's own private agents. Another user's private agents are never listed.
The agent's standing context (the system_prompt field), raw config,
and builder graph are not returned here.
Authorization: scope agents:read.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
page | integer | No | 0-indexed page number |
limit | integer (≤ 100) | No | — |
search | string | No | Match against name or role title |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
agents | array of AgentSummary | — |
total | integer | — |
page | integer | — |
limit | integer | — |
has_more | boolean | — |
Errors 403. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/agents" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Create an agent
POST /agents
Creates an agent with the same checks as the in-app builder. Each skill id must be a skill visible to your organization.
config takes allowlisted keys only (internetAccess, aiProvider,
aiModel, budget, readOnly, allowUnattendedOutbound,
allowUnattendedDbWrites, personality, dataResources); unknown keys are
a 400 and team is refused here — create teams with
POST /agents/teams.
New agents are private to the key's user; client_id/user_id come from the authenticated identity and are never read from the body.
Authorization: scope agents:write.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
role_title | string | No | — |
bio | string | No | — |
icon | string | No | — |
color | string | No | — |
system_prompt | string | No | — |
skills | array of integer | No | Ids from GET /skills — each must be visible to your organization |
config | object | No | Allowlisted keys only; unknown keys 400, team refused |
Response 201 Created
data fields:
| Field | Type | Description |
|---|---|---|
agent | AgentDetail | — |
Errors 400, 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/agents" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"<name>"}'Get an agent
GET /agents/{agentId}
One agent's public shape: identity, resolved skills, derived capabilities, and any model override. An agent this key cannot see returns 404 rather than 403.
Raw config and the builder graph are not returned. ?include=prompt
adds system_prompt, the agent's standing context, as the MCP server
and the web app already show it to anyone who can see the agent.
Authorization: scope agents:read.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
include | string | No | Comma-separated extras. prompt adds system_prompt to the detail. |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
agent | AgentDetail | — |
Errors 404. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/agents/<agentId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Edit an agent
PATCH /agents/{agentId}
Partial update — absent fields are left alone; config merges onto
the stored config after the allowlist (unknown keys 400, team
refused); each skill id must be a skill visible to your organization.
Writability is creator-only: a visible agent the key's user does not OWN (shared, or prebuilt) refuses writes with 403. An agent the key cannot see at all is 404.
Conflicts: send expected_modified, the agent's modified from the
last read. When the agent was saved since (through any access
method), the write is refused with 409 STALE_AGENT and nothing is
written. The answer's agent.modified is the
whole-second stamp to send on the next PATCH. Omit it for
last-writer-wins; an edit without it that loses three races in a row
to other saves is refused with 409 STALE_AGENT, so retry it. A share
change does not move the stamp.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
expected_modified | string (date-time) | No | The agent's modified from the last read. Compared at whole-second precision; a newer stored stamp is refused with 409 STALE_AGENT. |
name | string | No | — |
role_title | string | No | — |
bio | string | No | — |
icon | string | No | — |
color | string | No | — |
system_prompt | string | No | — |
skills | array of integer | No | — |
config | object | No | Merged onto the stored config after the allowlist |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
agent | AgentDetail | — |
Errors 400, 403 (INSUFFICIENT_SCOPE), 404, 409 (STALE_AGENT). See Errors, pagination and limits.
Example request
curl -X PATCH "https://vantage.intuidy.com/api/v1/agents/<agentId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"expected_modified":"<expected_modified>"}'Retire an agent
DELETE /agents/{agentId}
Soft retire (is_active: false) — finished runs stay pollable and
history stays readable. Creator-only, same rule as PATCH.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
Response 200 OK
Errors 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.
Example request
curl -X DELETE "https://vantage.intuidy.com/api/v1/agents/<agentId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Run an agent
POST /agents/{agentId}/run
Runs the agent headlessly with your organization's context, the agent's own skills, and the unattended policy gate — which still blocks outbound writes and raw SQL writes unless the agent's own configuration opted in. An API key cannot give an agent powers it does not already have.
mode: "sync" (default) waits up to 5 minutes and returns the answer.
mode: "async" returns a job_id and poll_url immediately.
Conversations. By default a run is a one-shot: the agent remembers
nothing from the last call. Pass start_conversation: true to open a
thread, then send its conversation_id on every later turn — the agent
is replayed the prior turns and the exchange is stored. Threads live in
the same place the in-app agent chat keeps its history, so a
conversation an external assistant opens is readable in the Agents page
and can be continued from either side. Read them back under
/agents/conversations.
The replay is windowed (most recent turns, bounded by size) — a long thread stays affordable, and the oldest turns fall out of the agent's view while remaining in the stored transcript.
Agent teams are refused here with 400 — run them via
POST /agents/teams/{teamId}/run instead (async-only).
Tokens are billed to the key's organization; an over-budget account is
refused before the model runs. Limited to 10 runs per minute per
organization, shared with the MCP run_agent tool.
Authorization: scope agents:execute.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | What the agent should do |
mode | "sync" or "async" | No | Default "sync" |
title | string | No | Label for the run record (async only) |
max_iterations | integer | No | Cap on agent turns; clamped to the platform ceiling |
conversation_id | integer | No | Make this run a turn in an existing conversation. The agent is replayed the thread's prior turns before your prompt, and the exchange is appended when it answers. 404 if the thread is not this key's. |
start_conversation | boolean | No | Open a new conversation for this run. The response carries its conversation_id — pass that back on the next turn. |
conversation_title | string | No | Names a conversation being opened. Defaults to the first prompt, truncated. |
Response 200 OK
data: AgentRunResult or AgentRunAccepted
Errors 400, 402, 422, 429. See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/agents/<agentId>/run" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"<prompt>"}'Run the platform assistant
POST /agents/assistant/run
Runs the platform assistant (the in-app chat with no agent selected)
headlessly. Same body and answers as POST /agents/{agentId}/run;
answers carry agent_id: null.
The assistant has your organization's context (business profile,
pinned notes and notes matching the prompt, connected services) and every
default tool, found through tool search. It has no skills, budget or
memory of its own. The unattended policy gate applies, as on
POST /agents/{agentId}/run: outbound writes and raw SQL writes are
refused, and a step your organization's rules hold for approval is
denied. The assistant is told to ask
for confirmation in its answer instead, so continue the conversation
to give it.
Conversations work as on POST /agents/{agentId}/run. Threads belong to the
person, not to an agent, so one conversation can mix assistant turns
and agent turns.
An async run is readable through GET /agents/runs/{jobId} and its
stream by the person who started it only. Billing and the
per-organization run limit are shared with POST /agents/{agentId}/run.
Authorization: scope agents:execute.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | What the assistant should do |
mode | "sync" or "async" | No | Default "sync" |
title | string | No | Label for the run record (async only) |
max_iterations | integer | No | Cap on turns; clamped to the platform ceiling |
conversation_id | integer | No | Make this run a turn in an existing conversation |
start_conversation | boolean | No | Open a new conversation for this run |
conversation_title | string | No | Names a conversation being opened |
Response 200 OK
data: AgentRunResult or AgentRunAccepted
Errors 400, 402, 403, 404, 422, 429. See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/agents/assistant/run" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"<prompt>"}'List agent teams
GET /agents/teams
The team-shaped view of the agents whose config.team exists — the
same agents GET /agents lists with is_team: true, here with
member_count. Same visibility fence: prebuilt, company-shared, and
the key owner's own private teams.
Authorization: scope agents:read.
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
teams | array of TeamSummary | — |
Errors 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/agents/teams" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Create an agent team
POST /agents/teams
The only v1 place teams are created — POST /agents refuses
config.team and points here. Same contract as the session builder:
every member agentId must be an agent the key can see, and
strategy: "sequential" chains members into handoff edges. Governance
knobs (autoApprove, humanInTheLoop, …) start at their conservative
defaults and are edited via PATCH /agents/teams/{teamId}. New teams
are private to the key's user.
Authorization: scope agents:write.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
description | string | No | — |
supervisorPrompt | string | No | Defaulted when blank |
members | array of object | No | — |
members[].agentId | integer | No | — |
members[].role | string | No | — |
strategy | "parallel" or "sequential" | No | — |
icon | string | No | — |
color | string | No | — |
supervisorAgentId | integer | No | — |
Response 201 Created
data fields:
| Field | Type | Description |
|---|---|---|
team | TeamDetail | — |
Errors 400, 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/agents/teams" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"<name>"}'Get an agent team
GET /agents/teams/{teamId}
One team's shaped detail — members, strategy, topology, governance knobs. A team the key cannot see is 404; a visible agent that is not a team is 400.
Authorization: scope agents:read.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
teamId | integer | Yes | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
team | TeamDetail | — |
Errors 400, 404. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/agents/teams/<teamId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Edit an agent team
PATCH /agents/teams/{teamId}
The session editor's full-state save contract: name, description,
supervisorPrompt, icon, color, and EITHER topology.{nodes,edges}
(the graph schema) OR flat members[] + strategy + handoffRules
(back-compat), plus the governance knobs (autoApprove, maxRevisions,
supervisorAgentId, maxBudget, humanInTheLoop, clarityGate — the last
only written when stated). Every member agentId must be an agent the
key can see. Stored config.team keys this contract does not model
survive the save, and the previous state is snapshotted into the
team's rolling history.
Writes are creator-only (403 otherwise); prebuilt teams are never writable. PATCH, not PUT — the v1 CORS contract has no PUT.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
teamId | integer | Yes | — |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | — |
description | string | No | — |
supervisorPrompt | string | No | — |
icon | string | No | — |
color | string | No | — |
topology | object | No | — |
topology.nodes | array of object | No | — |
topology.edges | array of object | No | — |
members | array of object | No | — |
members[].agentId | integer | No | — |
members[].role | string | No | — |
strategy | "parallel" or "sequential" | No | — |
handoffRules | array of object | No | — |
autoApprove | boolean | No | — |
maxRevisions | integer | No | — |
supervisorAgentId | integer | No | — |
maxBudget | number | No | — |
humanInTheLoop | boolean | No | — |
clarityGate | boolean | No | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
team | TeamDetail | — |
Errors 400, 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.
Example request
curl -X PATCH "https://vantage.intuidy.com/api/v1/agents/teams/<teamId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"<name>"}'Retire an agent team
DELETE /agents/teams/{teamId}
Soft retire (is_active: false) — finished runs stay pollable. Creator-only, same rule as PATCH.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
teamId | integer | Yes | — |
Response 200 OK
Errors 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.
Example request
curl -X DELETE "https://vantage.intuidy.com/api/v1/agents/teams/<teamId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Run an agent team
POST /agents/teams/{teamId}/run
Starts a team run in the background: the supervisor decomposes the
task, member agents work it, and results are reviewed before the team
answers. Returns a job_id immediately — poll it at
/agents/runs/{jobId}, which serves team runs exactly as it serves
solo async runs.
Async only. A team run fans out across the agent team with no iteration
ceiling, so there is no synchronous mode; mode: "sync" is refused
with 422 rather than silently running in the background. Omit mode
or pass "async".
Workers run with your organization's context and the unattended policy gate,
and human-in-the-loop pauses never trigger on this path — there is no
human here to resume one. Running a solo agent through this endpoint
returns 400 pointing at /agents/{agentId}/run.
Tokens are billed to the key's organization; an over-budget account
settles the job as failed with the billing reason. Run starts share the
10-per-minute organization throttle with solo runs and the MCP
run_agent_team tool.
Authorization: scope agents:execute.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
teamId | integer | Yes | ID of an agent team — rows in GET /agents with is_team: true. |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | The task for the team |
mode | "async" | No | Accepted for symmetry with POST /agents/{agentId}/run; async is the only mode |
title | string | No | Label for the run record |
Response 200 OK
data is AgentRunAccepted:
| Field | Type | Description |
|---|---|---|
job_id | integer | — |
agent_id | integer | null for the platform assistant |
conversation_id | integer | Present when the run was started into a conversation |
status | "running" | — |
poll_url | string | GET this path to poll the run, e.g. /api/v1/agents/runs/42 |
Errors 400, 404, 422, 429. See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/agents/teams/<teamId>/run" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"<prompt>"}'List the caller's own runs
GET /agents/runs
The runs the credential's own person started, newest first: solo,
team and assistant runs, from every access method. Open one through
GET /agents/runs/{jobId} or its stream.
agent_name is the agent's name while the person can still see the
agent, the assistant's name for an assistant run, and null otherwise.
finished is null while a run is running.
Requires agents:read or agents:execute, and the credential must
be the person: an OAuth sign-in or a user-scope key. A company key,
or a connection bound to another person's key, gets
403 PERSON_CREDENTIAL_REQUIRED.
Authorization: scope agents:read or agents:execute (any one). Needs a person’s own key or OAuth sign-in, not an admin key.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
status | "running" or "recent" | No | — |
limit | integer (≤ 50) | No | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
runs | array of object | — |
runs[].job_id | integer | — |
runs[].agent_id | integer | null for an assistant run |
runs[].agent_name | string | — |
runs[].kind | "agent" or "team" or "assistant" | — |
runs[].title | string | — |
runs[].status | "running" or "completed" or "failed" or "hibernating" | hibernating: paused, waiting for a person's input; finished is null |
runs[].started | string (date-time) | — |
runs[].finished | string (date-time) | — |
runs[].duration_ms | integer | — |
runs[].error | string | — |
status | "running" or "recent" | — |
limit | integer | — |
Errors 400, 403. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/agents/runs" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Poll an async agent run
GET /agents/runs/{jobId}
Status walks running → completed | failed. Serves solo runs and
team runs alike — both run endpoints return a poll_url pointing here.
Requires agents:execute (not agents:read), so the key that started
the run can always poll it.
Authorization: scope agents:execute.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
jobId | integer | Yes | — |
Response 200 OK
data is AgentRunStatus:
| Field | Type | Description |
|---|---|---|
job_id | integer | — |
agent_id | integer | null for the platform assistant |
conversation_id | integer or null | Present when the run was a turn in a conversation |
status | "running" or "completed" or "failed" or "hibernating" | hibernating: a team mission paused for a person's input (resume it through /approvals/runs/{jobId}) |
text | string or null | — |
tool_calls | array of object | — |
tool_calls[].name | string | — |
tool_calls[].success | boolean | — |
usage | object | — |
iterations | integer or null | — |
duration_ms | integer or null | — |
error | string or null | — |
created | string (date-time) or null | — |
modified | string (date-time) or null | — |
Errors 404. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/agents/runs/<jobId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Follow an async agent run as server-sent events
GET /agents/runs/{jobId}/stream
The streaming twin of GET /agents/runs/{jobId}: instead of polling,
hold this open and receive frames until the run settles.
Frames (event: names): status — the body of GET /agents/runs/{jobId},
sent first and again whenever the run's status changes; event — what a team run narrates
as it works ({ type, data, at }, the team's own event names
inside; solo runs narrate nothing between start and finish); done —
{ status }, after which the stream ends; ping every 15 seconds;
reconnect after four minutes (reconnect and the first frame is the
current status); error with a code if the run can no longer be read.
Serves solo and team runs alike. Requires agents:read or
agents:execute, so the credential that started a run can always
watch it.
Authorization: scope agents:read or agents:execute (any one).
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
jobId | integer | Yes | — |
Response 200 OK
Errors 400, 404. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/agents/runs/<jobId>/stream" \
-H "Authorization: Bearer $INTUIDY_API_KEY"List an agent's scheduled jobs
GET /agents/{agentId}/jobs
?type=scheduled (default) for the schedules themselves, ?type=run
for run history. Each item is an AgentJob summary.
Authorization: scope agents:read.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
type | "scheduled" or "run" | No | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
jobs | array of AgentJob | — |
total | integer | — |
Errors 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/agents/<agentId>/jobs" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Schedule an agent job
POST /agents/{agentId}/jobs
Creates a schedule — draft by default, status: "live" or
go_live: true to activate immediately, as in the web app.
Validation is strict: delivery_mode must be one of the user-settable
modes, timezone must be a real IANA zone, and schedule_type must be
a known type. Anything else is refused with 400.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | — |
description | string | No | — |
prompt | string | Yes | — |
schedule_type | string | No | — |
interval_minutes | integer | No | — |
time_of_day | string | No | — |
day_of_week | integer | No | — |
day_of_month | integer | No | — |
timezone | string | No | A real IANA zone; anything else is refused with 400 |
cron_expression | string | No | — |
delivery_mode | string | No | — |
max_runs | integer | No | — |
status | string | No | "live" to activate immediately; draft otherwise |
go_live | boolean | No | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
job | AgentJobDetail | — |
Errors 400, 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/agents/<agentId>/jobs" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"<title>","prompt":"<prompt>"}'Get a scheduled job
GET /agents/{agentId}/jobs/{jobId}
Authorization: scope agents:read.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
jobId | integer | Yes | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
job | AgentJobDetail | — |
Errors 404. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/agents/<agentId>/jobs/<jobId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Edit, pause, resume, or publish a job
PATCH /agents/{agentId}/jobs/{jobId}
The whole lifecycle the web app offers, through one verb: edit
fields, pause/resume via active, publish via status: "live", and
recompute_schedule: true to re-arm next_run_at without changing the
schedule. Strict validation, as on create.
Only the key's user can change their own jobs: a job created by a different user in your organization reads as 404.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
jobId | integer | Yes | — |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
title | string | No | — |
description | string | No | — |
prompt | string | No | — |
schedule_type | string | No | — |
interval_minutes | integer | No | — |
time_of_day | string | No | — |
day_of_week | integer | No | — |
day_of_month | integer | No | — |
timezone | string | No | — |
cron_expression | string | No | — |
delivery_mode | string | No | — |
max_runs | integer | No | — |
active | boolean | No | Pause (false) or resume (true) the schedule |
status | string | No | — |
recompute_schedule | boolean | No | Re-arm next_run_at without changing the schedule |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
job | AgentJobDetail | — |
updated_fields | array of string | — |
Errors 400, 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.
Example request
curl -X PATCH "https://vantage.intuidy.com/api/v1/agents/<agentId>/jobs/<jobId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"<title>"}'Delete a scheduled job
DELETE /agents/{agentId}/jobs/{jobId}
Owner-fenced like PATCH — another user's job reads as 404.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
jobId | integer | Yes | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
deleted | boolean | — |
job_id | integer | — |
Errors 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.
Example request
curl -X DELETE "https://vantage.intuidy.com/api/v1/agents/<agentId>/jobs/<jobId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Force-execute a scheduled job now
POST /agents/{agentId}/jobs/{jobId}/run-now
Returns right away with the new run's id. run_id is pollable
immediately via GET /agents/runs/{jobId} (status walks running →
completed | failed). Returns 409 if the job is already running.
Scope agents:execute — this spends model tokens, same as
POST /agents/{agentId}/run. As with Run Now in the web app, any
member of your organization who can see the job can trigger it; the
schedule itself is untouched except for its normal post-run advance.
Authorization: scope agents:execute.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
jobId | integer | Yes | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
job_id | integer | — |
run_id | integer | — |
status | "running" | — |
message | string | — |
Errors 403 (INSUFFICIENT_SCOPE), 404, 409. See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/agents/<agentId>/jobs/<jobId>/run-now" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Run history for a scheduled job
GET /agents/{agentId}/jobs/{jobId}/runs
Newest first. Each item is one run of the job; a run still in status
running can be polled live via GET /agents/runs/{jobId}.
Scope agents:read — history is a read, unlike run-now which spends
tokens.
Authorization: scope agents:read.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
jobId | integer | Yes | — |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | integer (≤ 50) | No | — |
offset | integer | No | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
runs | array of object | — |
runs[].id | integer | — |
runs[].parent_id | integer or null | — |
runs[].title | string or null | — |
runs[].status | string or null | — |
runs[].final_result | object or null | — |
runs[].last_error | string or null | — |
runs[].duration_ms | integer or null | — |
runs[].created | string (date-time) or null | — |
total | integer | — |
limit | integer | — |
offset | integer | — |
Errors 404. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/agents/<agentId>/jobs/<jobId>/runs" \
-H "Authorization: Bearer $INTUIDY_API_KEY"List an agent's Library documents
GET /agents/{agentId}/brain
Documents plus a usage summary against the Library's 50K-character
capacity — the same figures the in-app Library editor shows.
?original={documentId} returns one uploaded
document's stored full source text instead (uploads keep the source
alongside their summary).
Every v1 brain route first verifies the key's user can SEE the agent and answers 404 when not — a 403 would confirm the agent exists, which is what an id-enumerating caller wants to learn.
Authorization: scope agents:read.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
original | integer | No | Return this document's stored full source text |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
documents | array of object | — |
documents[].id | integer | — |
documents[].name | string | — |
documents[].type | string or null | — |
documents[].content | string | — |
documents[].created | string (date-time) | — |
documents[].modified | string (date-time) | — |
documents[].hasOriginal | boolean | — |
documents[].originalChars | integer | — |
usage | object | — |
Errors 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/agents/<agentId>/brain" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Add a Library document
POST /agents/{agentId}/brain
Over-budget content is auto-summarized to fit the Library's capacity —
that summarization is a billed model call, so an organization out of
tokens gets 402. A block by your organization's data rules returns 403
POLICY_BLOCKED.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | — |
content | string | Yes | — |
doc_type | string | No | — |
keywords | array of string | No | — |
Response 201 Created
Errors 400, 402, 403 (INSUFFICIENT_SCOPE, POLICY_BLOCKED), 404. See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/agents/<agentId>/brain" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"<title>","content":"<content>"}'Update a Library document
PATCH /agents/{agentId}/brain/{documentId}
Title and/or content; content changes are delta-budgeted against the Library's 50K-character capacity.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
documentId | integer | Yes | — |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
title | string | No | — |
content | string | No | — |
Response 200 OK
Errors 400, 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.
Example request
curl -X PATCH "https://vantage.intuidy.com/api/v1/agents/<agentId>/brain/<documentId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"<title>"}'Remove a Library document
DELETE /agents/{agentId}/brain/{documentId}
Soft-delete — the document is disabled, as in the web app; there is no hard delete.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
documentId | integer | Yes | — |
Response 200 OK
Errors 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.
Example request
curl -X DELETE "https://vantage.intuidy.com/api/v1/agents/<agentId>/brain/<documentId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Upload a document into an agent's Library
POST /agents/{agentId}/brain/upload
PDF, DOCX, or text; 10 MB cap. Extraction, billing, capacity and usage tracking run in the same shared service the in-app upload uses. Big documents are extracted and AI-summarized, so allow up to a minute.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | integer | Yes | — |
Response 201 Created
Errors 400, 402, 403 (INSUFFICIENT_SCOPE, POLICY_BLOCKED), 404, 413. See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/agents/<agentId>/brain/upload" \
-H "Authorization: Bearer $INTUIDY_API_KEY"List agent conversations
GET /agents/conversations
The stored threads this key owns, newest first — the same conversations the in-app agent chat lists, so an external assistant and the UI share one history.
Summaries only; a transcript can be long. Read one thread's messages
from /agents/conversations/{conversationId}.
Conversations are keyed to the user, not to an agent: one thread can be continued by whichever agent the caller names on each run.
Authorization: scope agents:read.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
page | integer | No | — |
limit | integer (≤ 100) | No | — |
q | string | No | Only threads whose title or message text contains this (case-insensitive). A query under 2 characters is ignored and the plain list comes back; only the first 200 characters are read. A search reads the 2,000 most recent threads and keeps at most 200 matches, which page and limit then page through. When either limit is reached the reply says truncated: true, and total counts only the kept matches. |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
conversations | array of ConversationSummary | — |
total | integer | — |
page | integer | — |
limit | integer | — |
has_more | boolean | — |
truncated | boolean | Present on a search (q). True when the search may have missed matches (see q). |
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/agents/conversations" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Open a conversation
POST /agents/conversations
Creates an empty thread and returns its id. Optional — passing
start_conversation: true on a run opens one too, named from the first
prompt. Use this when your assistant needs the id before it has anything to
say, such as on session start.
Requires agents:execute: opening a thread is the first half of running
an agent in one.
Authorization: scope agents:execute.
Request body (application/json, optional)
| Field | Type | Required | Description |
|---|---|---|---|
title | string | No | Defaults to a generated name; max 100 characters |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
conversation | ConversationSummary | — |
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/agents/conversations" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"<title>"}'Read a conversation
GET /agents/conversations/{conversationId}
The thread and its full message history — what an external assistant
renders when a user reopens a session — and the chat project it is
filed in, if any (project).
A thread that is not this key's returns 404.
Authorization: scope agents:read.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
conversationId | integer | Yes | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
conversation | Conversation | — |
Errors 404. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/agents/conversations/<conversationId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Rename a conversation
PATCH /agents/conversations/{conversationId}
Title only. Messages are written by runs — a caller cannot PUT a transcript, because the in-app chat renders this store as real history.
Authorization: scope agents:execute.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
conversationId | integer | Yes | — |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
conversation | ConversationSummary | — |
Errors 404. See Errors, pagination and limits.
Example request
curl -X PATCH "https://vantage.intuidy.com/api/v1/agents/conversations/<conversationId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"<title>"}'Delete a conversation
DELETE /agents/conversations/{conversationId}
Removes the thread and its stored transcript. Not recoverable.
Authorization: scope agents:execute.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
conversationId | integer | Yes | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
conversation_id | integer | — |
deleted | boolean | — |
Errors 404. See Errors, pagination and limits.
Example request
curl -X DELETE "https://vantage.intuidy.com/api/v1/agents/conversations/<conversationId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY"List agent skills
GET /skills
The agent skills available to your organization — prebuilt skills plus your organization's own. A skill carries the instructions and tool grants an agent picks up when the skill matches what it is doing.
Summaries only. This is the discovery shelf: it tells you what exists
and what each skill is for, without spending your context on every
instruction body. Read one in full with GET /skills/{skillId}.
Authorization: scope agents:read.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | integer (≤ 100) | No | — |
offset | integer | No | Rows to skip. Page while has_more is true — a library can hold hundreds of skills. |
search | string | No | Case-insensitive match on name, display name or description. |
folder_id | string | No | Only skills filed in this library folder (see GET /skills/folders); root for the unfiled. Unknown folder: 404. |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
skills | array of SkillSummary | — |
total | integer | Skills the key's user may see that match the filters. |
offset | integer | — |
limit | integer | — |
has_more | boolean | — |
Errors 403. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/skills" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Create an agent skill
POST /skills
Creates a skill owned by the calling key's organization.
Two body formats. Send application/json with the fields below, or
send text/markdown containing a complete SKILL.md — YAML
frontmatter (name, description) followed by the instructions as the
markdown body. The markdown form is what makes skills portable: a
SKILL.md written for Claude Code, or downloaded from another Intuidy
organization, can be posted verbatim.
Prebuilt skills cannot be created — is_prebuilt is not settable, and
client_id/user_id always come from the API key, never the body.
Authorization: scope agents:write.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | No | — |
name | string | No | Slug. Derived from display_name when omitted. |
description | string | No | — |
instructions | string | No | — |
references | array of object | No | Documents and files. Give an item a path to carry it as a file at that path (up to 256 KB each, 60 per skill, 1.5 MB in all; .., absolute paths and duplicate paths are refused). |
references[].title | string | No | — |
references[].path | string | No | — |
references[].description | string | No | — |
references[].content | string | No | — |
references[].url | string | No | — |
triggers | array of string | No | — |
tool_categories | array of string | No | — |
icon | string | No | — |
color | string | No | — |
category | string | No | — |
folder_id | string or null | No | File the skill in this library folder; null or root moves it to the root. May be the only field sent on PATCH. |
links | array of SkillLink | No | PATCH only. Replaces the skill's outgoing relationships as a set; send [] to clear them (null is refused with 422). Every target must be a skill the key's user can see. At most 25 entries; more is refused with 422. |
sharing | SkillSharing | No | PATCH only. Owner or manage_skills only, and the key's user needs share_skills. A patch over the stored sharing — a field not sent keeps its value, so { members } alone never widens a private skill. Every member id must be a user of this company (422 otherwise). |
sharing.scope | "company" or "private" | No | company — everyone in your organization can see it; private — only the owner and members. |
sharing.permission | "edit" or "view" | No | What the company audience may do (ignored for private). |
sharing.members | object | No | Per-user overrides keyed by user id, translated into direct user grants (editor → edit, viewer → view). At most 200 users. |
Response 201 Created
data fields:
| Field | Type | Description |
|---|---|---|
skill | SkillDetail | — |
Errors 400 (INVALID_INPUT), 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/skills" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"display_name":"<display_name>"}'Download skills as an Agent Skills bundle
GET /skills/download
Returns a zip archive in the Anthropic Agent Skills layout — one
directory per skill, each containing SKILL.md, any bundled
references/*.md, and a JSON sidecar file carrying the
Intuidy-only fields (triggers, tool categories, icon, colour).
Unzip it into ~/.claude/skills/ or a project's .claude/skills/, or
upload a single skill's directory to claude.ai, and your own runtime
runs the skill you authored here. The sidecar is ignored by runtimes
that do not know it, and is what lets the bundle be posted back to
POST /skills intact.
Subject to your organization's data rules: skill instructions can quote internal identifiers, so a rule that blocks that content on the export channel refuses the download rather than redacting it silently.
Authorization: scope agents:read.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
ids | string | No | Comma-separated skill ids. Omit for every skill the key can see. |
Response 200 OK
Errors 403 (INSUFFICIENT_SCOPE, POLICY_BLOCKED), 404. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/skills/download" \
-H "Authorization: Bearer $INTUIDY_API_KEY"The skill library as a graph
GET /skills/graph
The nodes and edges the Skills library's Graph view draws: skill nodes
(with their folder, colour and a private flag), folders as parent
nodes, requires / related edges between skills, and optionally the
agents that carry them. Node ids are skill:{id}, folder:{id} and
agent:{id}; a node inside a folder names it in parent. Only skills
the key's user may see appear, and an edge to one they cannot is
dropped with it.
Authorization: scope agents:read.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
group_by_folder | boolean | No | Wrap skills in their folder (default true). |
show_agents | boolean | No | Add agent nodes and carries edges (default false). |
show_prebuilt | boolean | No | — |
kinds | string | No | Comma-separated skill-to-skill edge kinds to include: requires, related. Default both. |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
nodes | array of object | — |
nodes[].id | string | skill:{id}, folder:{id} or agent:{id} |
nodes[].kind | "skill" or "folder" or "agent" | — |
nodes[].label | string | — |
nodes[].objId | object | The skill |
nodes[].parent | string | The enclosing folder node |
nodes[].color | string | The skill's colour as drawn on the graph's dark canvas, not the stored colour (GET /skills/{skillId} returns that) |
nodes[].system | integer | 1 for the synthetic Prebuilt folder node. It is not a library folder: PATCH or DELETE on its id returns 404. |
nodes[].prebuilt | integer | 1 for a prebuilt skill |
nodes[].priv | integer | 1 for a privately shared skill |
nodes[].degree | integer | Edges touching the node |
edges | array of object | — |
edges[].id | string | — |
edges[].source | string | — |
edges[].target | string | — |
edges[].kind | "requires" or "related" or "carries" | — |
edges[].note | string | — |
counts | object | — |
counts.skills | integer | — |
counts.folders | integer | — |
counts.agents | integer | — |
counts.requires | integer | — |
counts.related | integer | — |
counts.carries | integer | — |
Errors 400, 403. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/skills/graph" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Import Agent Skills bundles
POST /skills/import
The inverse of GET /skills/download: whatever that endpoint hands
out, this one takes back, so a library round-trips between
organizations or out of a git checkout. Each skill is a directory
holding SKILL.md, any files it carries and the optional JSON sidecar
file that GET /skills/download writes; a bare
SKILL.md imports too. A sidecar folder path is rebuilt beneath
folder_id (or the root). Imported skills are always your
organization's own — is_prebuilt in a sidecar is ignored.
Two body formats. multipart/form-data with one or more files parts
(a .zip, or loose text files with their bundle-relative paths in
matching paths fields) plus an optional folderId field; or JSON
with files (path + content), zip_base64, or both. 5 MB, up to 50
skills, 60 files and 1.5 MB per skill.
Needs agents:write, and the key owner's role must hold both
edit_skills and import_data (Import Data), as in the Skills tab.
Authorization: scope agents:write.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
files | array of object | No | — |
files[].path | string | Yes | Bundle-relative, e.g. invoice-triage/checks/validate.py |
files[].content | string | Yes | — |
zip_base64 | string | No | A skill bundle archive, base64-encoded. |
folder_id | string or null | No | Library folder to import into; omit or null for the root. |
Response 201 Created
data fields:
| Field | Type | Description |
|---|---|---|
skills | array of SkillDetail | — |
count | integer | — |
truncated | boolean | True when the archive held more than the caps allowed and some entries were dropped. |
Errors 400 (INVALID_INPUT), 403 (INSUFFICIENT_SCOPE), 404 (NOT_FOUND), 413 (PAYLOAD_TOO_LARGE), 429 (RATE_LIMITED). See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/skills/import" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"files":"<files>"}'Get one agent skill in full
GET /skills/{skillId}
The complete skill: its instructions, bundled references, trigger
keywords and tool categories.
Unlike GET /agents/{agentId}, which withholds the agent's
system_prompt, this returns the instruction text.
Authorization: scope agents:read.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
skillId | integer | Yes | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
skill | SkillDetail | — |
Errors 403, 404 (NOT_FOUND). See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/skills/<skillId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Update an agent skill
PATCH /skills/{skillId}
Partial update — omitted fields are left as they are. That matters for
references, triggers and tool_categories in particular: sending
the object without them preserves what is stored rather than clearing
it, so a client that only knows about some fields cannot silently
destroy the rest.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
skillId | integer | Yes | — |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | No | — |
name | string | No | Slug. Derived from display_name when omitted. |
description | string | No | — |
instructions | string | No | — |
references | array of object | No | Documents and files. Give an item a path to carry it as a file at that path (up to 256 KB each, 60 per skill, 1.5 MB in all; .., absolute paths and duplicate paths are refused). |
references[].title | string | No | — |
references[].path | string | No | — |
references[].description | string | No | — |
references[].content | string | No | — |
references[].url | string | No | — |
triggers | array of string | No | — |
tool_categories | array of string | No | — |
icon | string | No | — |
color | string | No | — |
category | string | No | — |
folder_id | string or null | No | File the skill in this library folder; null or root moves it to the root. May be the only field sent on PATCH. |
links | array of SkillLink | No | PATCH only. Replaces the skill's outgoing relationships as a set; send [] to clear them (null is refused with 422). Every target must be a skill the key's user can see. At most 25 entries; more is refused with 422. |
sharing | SkillSharing | No | PATCH only. Owner or manage_skills only, and the key's user needs share_skills. A patch over the stored sharing — a field not sent keeps its value, so { members } alone never widens a private skill. Every member id must be a user of this company (422 otherwise). |
sharing.scope | "company" or "private" | No | company — everyone in your organization can see it; private — only the owner and members. |
sharing.permission | "edit" or "view" | No | What the company audience may do (ignored for private). |
sharing.members | object | No | Per-user overrides keyed by user id, translated into direct user grants (editor → edit, viewer → view). At most 200 users. |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
skill | SkillDetail | — |
Errors 400 (INVALID_INPUT), 403 (INSUFFICIENT_SCOPE), 404 (NOT_FOUND), 422 (INVALID_INPUT). See Errors, pagination and limits.
Example request
curl -X PATCH "https://vantage.intuidy.com/api/v1/skills/<skillId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"display_name":"<display_name>"}'Delete an agent skill
DELETE /skills/{skillId}
Removes the skill. Agents that referenced it keep the id in their
skills array, where it resolves to nothing — detach it in the agent
builder if the agent should stop advertising the capability.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
skillId | integer | Yes | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
id | integer | — |
deleted | boolean | — |
Errors 403 (INSUFFICIENT_SCOPE), 404 (NOT_FOUND). See Errors, pagination and limits.
Example request
curl -X DELETE "https://vantage.intuidy.com/api/v1/skills/<skillId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Download one skill as an Agent Skills bundle
GET /skills/{skillId}/download
The same archive layout as GET /skills/download, containing a single
skill's directory. See that endpoint for what the bundle holds and how
to install it.
Authorization: scope agents:read.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
skillId | integer | Yes | — |
Response 200 OK
Errors 403 (INSUFFICIENT_SCOPE, POLICY_BLOCKED), 404 (NOT_FOUND). See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/skills/<skillId>/download" \
-H "Authorization: Bearer $INTUIDY_API_KEY"List the skill library's folders
GET /skills/folders
Every folder in your organization's skill library, each with its full path.
Skills name their folder through folder_id / folder; this is the
tree those ids belong to. Also returns the key's user's role grants
for the library (edit_skills, share_skills, manage_skills).
Authorization: scope agents:read.
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
folders | array of SkillFolder | — |
permissions | object | — |
permissions.edit_skills | boolean | — |
permissions.share_skills | boolean | — |
permissions.manage_skills | boolean | — |
Errors 403. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/skills/folders" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Create a skill library folder
POST /skills/folders
Needs agents:write and a user whose role may author skills
(edit_skills). Names may not contain /, which the export sidecar
uses as the path separator — a name with one is refused (400), not
rewritten.
Authorization: scope agents:write.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
name | string (max 80 chars) | Yes | — |
parentId | string or null | No | The enclosing folder; omit or null for the root. |
Response 201 Created
data fields:
| Field | Type | Description |
|---|---|---|
folder | SkillFolder | — |
Errors 400 (INVALID_INPUT), 403 (INSUFFICIENT_SCOPE), 404 (NOT_FOUND). See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/skills/folders" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"<name>"}'Rename or move a skill library folder
PATCH /skills/folders/{folderId}
name renames; parentId moves (null = the root). A folder cannot be
moved inside itself or one of its descendants.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
folderId | string | Yes | — |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
name | string (max 80 chars) | No | — |
parentId | string or null | No | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
folder | SkillFolder | — |
Errors 400 (INVALID_INPUT), 403 (INSUFFICIENT_SCOPE), 404 (NOT_FOUND). See Errors, pagination and limits.
Example request
curl -X PATCH "https://vantage.intuidy.com/api/v1/skills/folders/<folderId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"<name>"}'Delete a skill library folder
DELETE /skills/folders/{folderId}
Removes the folder only. Its sub-folders and the skills filed in it move up to its parent — nothing else is deleted.
Authorization: scope agents:write.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
folderId | string | Yes | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
id | string | — |
deleted | boolean | — |
movedTo | string or null | Where the contents went (the parent folder, or null for the root). |
Errors 403 (INSUFFICIENT_SCOPE), 404 (NOT_FOUND). See Errors, pagination and limits.
Example request
curl -X DELETE "https://vantage.intuidy.com/api/v1/skills/folders/<folderId>" \
-H "Authorization: Bearer $INTUIDY_API_KEY"File skills and folders under a folder
POST /skills/move
Moves several items at once — the API twin of the library's drag-and-
drop and multi-select move. Any skill the key's user can see may be
filed, prebuilt ones included (placement is organization metadata, not
an edit of the skill). targetFolderId null (or root) files them at the
root. Every id is checked before anything moves.
Authorization: scope agents:write.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
skillIds | array of integer | No | — |
folderIds | array of string | No | — |
targetFolderId | string or null | No | — |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
moved | integer | Skills filed |
folders | integer | Folders moved |
folderId | string or null | — |
Errors 400 (INVALID_INPUT), 403 (INSUFFICIENT_SCOPE), 404 (NOT_FOUND). See Errors, pagination and limits.
Example request
curl -X POST "https://vantage.intuidy.com/api/v1/skills/move" \
-H "Authorization: Bearer $INTUIDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"skillIds":"<skillIds>"}'List or download agent workspace files
GET /workspace
Reads the agent workspace with an API key — the API's view of the
in-app Files bar. ?scope= (repeatable, up to 4) names the
conversation or job whose workspace to read; add &name= to download
one file as an attachment, and &preview=1 for the same bytes
inline. Each scope is expanded to the team-run scopes registered
under it, so a mission's files are reachable by the conversation id
the caller actually holds.
A key reads only its own user's workspaces: a scope naming another
person's conversation returns no files.
Requires an AIPI key with scope agents:read. A download is checked
against your organization's data rules and recorded in usage, as in the
web app.
preview=1 differs only in labelling: the file is served inline as
text/plain, whatever its extension.
Returns 503 when workspaces are temporarily unavailable.
Authorization: scope agents:read.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
scope | string | Yes | Conversation id or job id (repeatable, up to 4) |
name | string | No | Download this file instead of listing |
preview | "1" | No | Serve the file inline as text/plain |
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
files | array of object | — |
files[].name | string | — |
files[].scope | string | — |
fileCount | integer | — |
Errors 400, 403 (INSUFFICIENT_SCOPE, POLICY_BLOCKED), 404, 503. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/workspace" \
-H "Authorization: Bearer $INTUIDY_API_KEY"Objects
AgentDetail
| Field | Type | Description |
|---|---|---|
id | integer | — |
name | string | — |
role_title | string or null | — |
bio | string or null | — |
icon | string or null | — |
color | string or null | — |
is_prebuilt | boolean | — |
is_shared | boolean | — |
is_active | boolean | — |
is_team | boolean | Run a team with POST /agents/teams/{teamId}/run, not POST /agents/{agentId}/run |
is_own | boolean | Created by the key's owner |
skill_count | integer | — |
created | string (date-time) or null | — |
modified | string (date-time) or null | — |
skills | array of object | — |
skills[].id | integer | — |
skills[].name | string | — |
skills[].display_name | string | — |
skills[].description | string | — |
skills[].category | string | — |
capabilities | object | — |
capabilities.internet_access | boolean | — |
capabilities.team | object or null | — |
model | object or null | Per-agent model override, if set |
model.provider | string or null | — |
model.model | string or null | — |
AgentJob
A scheduled agent job, or one past run when listed with ?type=run.
| Field | Type | Description |
|---|---|---|
id | integer | — |
agent_id | integer | — |
job_type | string | — |
title | string or null | — |
description | string or null | — |
status | string or null | — |
active | boolean | — |
schedule_type | string or null | — |
interval_minutes | integer or null | — |
time_of_day | string or null | — |
day_of_week | integer or null | — |
day_of_month | integer or null | — |
timezone | string or null | — |
cron_expression | string or null | — |
delivery_mode | string or null | — |
next_run_at | string (date-time) or null | — |
run_count | integer | — |
max_runs | integer or null | — |
consecutive_fails | integer | — |
last_error | string or null | — |
created | string (date-time) or null | — |
modified | string (date-time) or null | — |
AgentJobDetail
The summary plus prompt, result, and a checkpoint summary.
| Field | Type | Description |
|---|---|---|
id | integer | — |
agent_id | integer | — |
job_type | string | — |
title | string or null | — |
description | string or null | — |
status | string or null | — |
active | boolean | — |
schedule_type | string or null | — |
interval_minutes | integer or null | — |
time_of_day | string or null | — |
day_of_week | integer or null | — |
day_of_month | integer or null | — |
timezone | string or null | — |
cron_expression | string or null | — |
delivery_mode | string or null | — |
next_run_at | string (date-time) or null | — |
run_count | integer | — |
max_runs | integer or null | — |
consecutive_fails | integer | — |
last_error | string or null | — |
created | string (date-time) or null | — |
modified | string (date-time) or null | — |
prompt | string or null | — |
parent_id | integer or null | — |
duration_ms | integer or null | — |
final_result | object or null | — |
checkpoint | object or null | — |
AgentRunAccepted
| Field | Type | Description |
|---|---|---|
job_id | integer | — |
agent_id | integer | null for the platform assistant |
conversation_id | integer | Present when the run was started into a conversation |
status | "running" | — |
poll_url | string | GET this path to poll the run, e.g. /api/v1/agents/runs/42 |
AgentRunResult
| Field | Type | Description |
|---|---|---|
agent_id | integer | null for the platform assistant |
conversation_id | integer | Present only when the run was a turn in a conversation. Send it back on the next run to continue the thread. |
success | boolean | — |
text | string or null | The agent's answer |
tool_calls | array of object | — |
tool_calls[].name | string | — |
tool_calls[].success | boolean | — |
usage | object | — |
duration_ms | integer or null | — |
iterations | integer or null | — |
error | string or null | — |
AgentRunStatus
| Field | Type | Description |
|---|---|---|
job_id | integer | — |
agent_id | integer | null for the platform assistant |
conversation_id | integer or null | Present when the run was a turn in a conversation |
status | "running" or "completed" or "failed" or "hibernating" | hibernating: a team mission paused for a person's input (resume it through /approvals/runs/{jobId}) |
text | string or null | — |
tool_calls | array of object | — |
tool_calls[].name | string | — |
tool_calls[].success | boolean | — |
usage | object | — |
iterations | integer or null | — |
duration_ms | integer or null | — |
error | string or null | — |
created | string (date-time) or null | — |
modified | string (date-time) or null | — |
AgentSummary
| Field | Type | Description |
|---|---|---|
id | integer | — |
name | string | — |
role_title | string or null | — |
bio | string or null | — |
icon | string or null | — |
color | string or null | — |
is_prebuilt | boolean | — |
is_shared | boolean | — |
is_active | boolean | — |
is_team | boolean | Run a team with POST /agents/teams/{teamId}/run, not POST /agents/{agentId}/run |
is_own | boolean | Created by the key's owner |
skill_count | integer | — |
created | string (date-time) or null | — |
modified | string (date-time) or null | — |
Conversation
| Field | Type | Description |
|---|---|---|
conversation_id | integer | — |
title | string | — |
message_count | integer | Stored messages, counting both sides of every exchange |
created | string (date-time) | — |
modified | string (date-time) | — |
messages | array of object | Oldest first, ready to render as a transcript |
messages[].role | "user" or "assistant" | — |
messages[].content | string | — |
messages[].tool_calls | array of object | Present on assistant turns that used tools |
project | object or null | The chat project the user filed this thread in, or null. A run that continues a filed thread carries the project's instructions and files in its prompt. Projects are the user's own sidebar shelves and are managed in the Intuidy web app only. |
project.id | string | — |
project.name | string | — |
ConversationSummary
| Field | Type | Description |
|---|---|---|
conversation_id | integer | — |
title | string | — |
message_count | integer | Stored messages, counting both sides of every exchange |
created | string (date-time) | — |
modified | string (date-time) | — |
SkillDetail
| Field | Type | Description |
|---|---|---|
id | integer | — |
name | string | Slug identifier, e.g. "invoice-triage" |
display_name | string | — |
description | string | What the skill does and when to use it — what a model matches a request against. |
category | string | — |
icon | string | — |
is_prebuilt | boolean | Global skills shipped with Intuidy. Visible to every organization, editable by none. |
owner_id | integer or null | The user who created it. Null for prebuilt skills. |
folder_id | string or null | The library folder it is filed in; null at the root. See GET /skills/folders. |
folder | string | The folder's full path, e.g. "Finance/Accounts payable". Empty at the root. |
color | string | — |
instructions | string | The guidance an agent follows once the skill is active. The body of SKILL.md. |
references | array of object | Bundled level-3 material, read on demand rather than loaded up front. An item with a path is a FILE the skill carries (a rules file, a script, a schema): it exports at exactly that path with its content untouched. An item without one is a document Intuidy files as references/NN-title.md. |
references[].title | string | — |
references[].path | string | Bundle-relative path, e.g. "rules.md" or "checks/validate.py". Empty for a document. |
references[].description | string | — |
references[].content | string | The document body. Empty for a reference that is only a link. |
references[].url | string | — |
triggers | array of string | Keywords that auto-activate the skill inside Intuidy. No meaning outside it. |
tool_categories | array of string | Intuidy tool families the instructions assume, e.g. workflow, integration. |
created | string (date-time) | — |
modified | string (date-time) | — |
links | array of SkillLink | Outgoing relationships, from the Skills library. Only targets the key's user may read are listed — the same rule the graph applies to its edges. |
sharing | SkillSharing or null | Null for prebuilt skills. members is present only for a caller who may change the sharing. |
sharing.scope | "company" or "private" | company — everyone in your organization can see it; private — only the owner and members. |
sharing.permission | "edit" or "view" | What the company audience may do (ignored for private). |
sharing.members | object | Per-user overrides keyed by user id, translated into direct user grants (editor → edit, viewer → view). At most 200 users. |
access | object | What the calling key's user may do with this skill. |
access.level | "prebuilt" or "manager" or "owner" or "member" or "company" | — |
access.canWrite | boolean | — |
access.canShare | boolean | — |
SkillFolder
A folder in the skill library. Folders nest up to 8 levels.
| Field | Type | Description |
|---|---|---|
id | string | — |
name | string | — |
parentId | string or null | The enclosing folder, or null at the root. |
path | string | Full path from the root, e.g. "Finance/Accounts payable". |
created | string (date-time) | — |
createdBy | integer or null | — |
SkillLink
A relationship from one skill to another. requires makes the target
load whenever this skill activates; related names the target inside
this skill's prompt block so an agent can pull it in mid-turn.
A skill holds at most 25 links; a PATCH with more is refused with 422.
| Field | Type | Description |
|---|---|---|
to | integer | The target skill id |
kind | "requires" or "related" | — |
note | string | Optional, up to 200 characters; shown to the agent beside the target's name. |
SkillSharing
Who can see and edit a skill. The default is company / edit, with
no members. members is
not stored: it is the skill's direct user grants, read back as a
map, and a PATCH that
sends it is translated into user grants — the map replaces the owner
company's per-person grants and leaves role, company and cross-company
grants alone. A direct grant overrides the company default for that
person. members is only returned to a caller who may change it (the
owner, or a role with manage_skills), and names at most 200 users; a
PATCH with more is refused with 422.
| Field | Type | Description |
|---|---|---|
scope | "company" or "private" | company — everyone in your organization can see it; private — only the owner and members. |
permission | "edit" or "view" | What the company audience may do (ignored for private). |
members | object | Per-user overrides keyed by user id, translated into direct user grants (editor → edit, viewer → view). At most 200 users. |
SkillSummary
A skill as it appears in the catalogue — enough to decide whether to read it.
| Field | Type | Description |
|---|---|---|
id | integer | — |
name | string | Slug identifier, e.g. "invoice-triage" |
display_name | string | — |
description | string | What the skill does and when to use it — what a model matches a request against. |
category | string | — |
icon | string | — |
is_prebuilt | boolean | Global skills shipped with Intuidy. Visible to every organization, editable by none. |
owner_id | integer or null | The user who created it. Null for prebuilt skills. |
folder_id | string or null | The library folder it is filed in; null at the root. See GET /skills/folders. |
folder | string | The folder's full path, e.g. "Finance/Accounts payable". Empty at the root. |
TeamDetail
The summary plus config.team — members, strategy, topology and the
governance knobs. The raw config is not returned, as with
GET /agents/{agentId}.
| Field | Type | Description |
|---|---|---|
id | integer | — |
name | string | — |
role_title | string or null | — |
bio | string or null | — |
icon | string or null | — |
color | string or null | — |
is_prebuilt | boolean | — |
is_shared | boolean | — |
is_active | boolean | — |
is_team | boolean | Run a team with POST /agents/teams/{teamId}/run, not POST /agents/{agentId}/run |
is_own | boolean | Created by the key's owner |
skill_count | integer | — |
created | string (date-time) or null | — |
modified | string (date-time) or null | — |
member_count | integer | — |
team | object | — |
team.members | array of object | — |
team.strategy | "parallel" or "sequential" | — |
team.topology | object | — |
team.auto_approve | boolean | — |
team.max_revisions | integer | — |
team.supervisor_agent_id | integer or null | — |
team.max_budget | number or null | — |
team.human_in_the_loop | boolean | — |
team.clarity_gate | boolean | — |
TeamSummary
| Field | Type | Description |
|---|---|---|
id | integer | — |
name | string | — |
role_title | string or null | — |
bio | string or null | — |
icon | string or null | — |
color | string or null | — |
is_prebuilt | boolean | — |
is_shared | boolean | — |
is_active | boolean | — |
is_team | boolean | Run a team with POST /agents/teams/{teamId}/run, not POST /agents/{agentId}/run |
is_own | boolean | Created by the key's owner |
skill_count | integer | — |
created | string (date-time) or null | — |
modified | string (date-time) or null | — |
member_count | integer | — |