Agents API

Reference for the 48 Agents operations in the Intuidy API.

Updated in Intuidy 2026.11.2168 min read

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.

OperationMethod and pathAuthorization
List agentsGET /agentsagents:read
Create an agentPOST /agentsagents:write
Get an agentGET /agents/{agentId}agents:read
Edit an agentPATCH /agents/{agentId}agents:write
Retire an agentDELETE /agents/{agentId}agents:write
Run an agentPOST /agents/{agentId}/runagents:execute
Run the platform assistantPOST /agents/assistant/runagents:execute
List agent teamsGET /agents/teamsagents:read
Create an agent teamPOST /agents/teamsagents:write
Get an agent teamGET /agents/teams/{teamId}agents:read
Edit an agent teamPATCH /agents/teams/{teamId}agents:write
Retire an agent teamDELETE /agents/teams/{teamId}agents:write
Run an agent teamPOST /agents/teams/{teamId}/runagents:execute
List the caller's own runsGET /agents/runsagents:read or agents:execute
Poll an async agent runGET /agents/runs/{jobId}agents:execute
Follow an async agent run as server-sent eventsGET /agents/runs/{jobId}/streamagents:read or agents:execute
List an agent's scheduled jobsGET /agents/{agentId}/jobsagents:read
Schedule an agent jobPOST /agents/{agentId}/jobsagents:write
Get a scheduled jobGET /agents/{agentId}/jobs/{jobId}agents:read
Edit, pause, resume, or publish a jobPATCH /agents/{agentId}/jobs/{jobId}agents:write
Delete a scheduled jobDELETE /agents/{agentId}/jobs/{jobId}agents:write
Force-execute a scheduled job nowPOST /agents/{agentId}/jobs/{jobId}/run-nowagents:execute
Run history for a scheduled jobGET /agents/{agentId}/jobs/{jobId}/runsagents:read
List an agent's Library documentsGET /agents/{agentId}/brainagents:read
Add a Library documentPOST /agents/{agentId}/brainagents:write
Update a Library documentPATCH /agents/{agentId}/brain/{documentId}agents:write
Remove a Library documentDELETE /agents/{agentId}/brain/{documentId}agents:write
Upload a document into an agent's LibraryPOST /agents/{agentId}/brain/uploadagents:write
List agent conversationsGET /agents/conversationsagents:read
Open a conversationPOST /agents/conversationsagents:execute
Read a conversationGET /agents/conversations/{conversationId}agents:read
Rename a conversationPATCH /agents/conversations/{conversationId}agents:execute
Delete a conversationDELETE /agents/conversations/{conversationId}agents:execute
List agent skillsGET /skillsagents:read
Create an agent skillPOST /skillsagents:write
Download skills as an Agent Skills bundleGET /skills/downloadagents:read
The skill library as a graphGET /skills/graphagents:read
Import Agent Skills bundlesPOST /skills/importagents:write
Get one agent skill in fullGET /skills/{skillId}agents:read
Update an agent skillPATCH /skills/{skillId}agents:write
Delete an agent skillDELETE /skills/{skillId}agents:write
Download one skill as an Agent Skills bundleGET /skills/{skillId}/downloadagents:read
List the skill library's foldersGET /skills/foldersagents:read
Create a skill library folderPOST /skills/foldersagents:write
Rename or move a skill library folderPATCH /skills/folders/{folderId}agents:write
Delete a skill library folderDELETE /skills/folders/{folderId}agents:write
File skills and folders under a folderPOST /skills/moveagents:write
List or download agent workspace filesGET /workspaceagents: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

NameTypeRequiredDescription
pageintegerNo0-indexed page number
limitinteger (≤ 100)No—
searchstringNoMatch against name or role title

Response 200 OK

data fields:

FieldTypeDescription
agentsarray of AgentSummary—
totalinteger—
pageinteger—
limitinteger—
has_moreboolean—

Errors 403. See Errors, pagination and limits.

Example request

bash
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)

FieldTypeRequiredDescription
namestringYes—
role_titlestringNo—
biostringNo—
iconstringNo—
colorstringNo—
system_promptstringNo—
skillsarray of integerNoIds from GET /skills — each must be visible to your organization
configobjectNoAllowlisted keys only; unknown keys 400, team refused

Response 201 Created

data fields:

FieldTypeDescription
agentAgentDetail—

Errors 400, 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—

Query parameters

NameTypeRequiredDescription
includestringNoComma-separated extras. prompt adds system_prompt to the detail.

Response 200 OK

data fields:

FieldTypeDescription
agentAgentDetail—

Errors 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—

Request body (application/json)

FieldTypeRequiredDescription
expected_modifiedstring (date-time)NoThe agent's modified from the last read. Compared at whole-second precision; a newer stored stamp is refused with 409 STALE_AGENT.
namestringNo—
role_titlestringNo—
biostringNo—
iconstringNo—
colorstringNo—
system_promptstringNo—
skillsarray of integerNo—
configobjectNoMerged onto the stored config after the allowlist

Response 200 OK

data fields:

FieldTypeDescription
agentAgentDetail—

Errors 400, 403 (INSUFFICIENT_SCOPE), 404, 409 (STALE_AGENT). See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—

Response 200 OK

Errors 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—

Request body (application/json)

FieldTypeRequiredDescription
promptstringYesWhat the agent should do
mode"sync" or "async"NoDefault "sync"
titlestringNoLabel for the run record (async only)
max_iterationsintegerNoCap on agent turns; clamped to the platform ceiling
conversation_idintegerNoMake 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_conversationbooleanNoOpen a new conversation for this run. The response carries its conversation_id — pass that back on the next turn.
conversation_titlestringNoNames 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

bash
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)

FieldTypeRequiredDescription
promptstringYesWhat the assistant should do
mode"sync" or "async"NoDefault "sync"
titlestringNoLabel for the run record (async only)
max_iterationsintegerNoCap on turns; clamped to the platform ceiling
conversation_idintegerNoMake this run a turn in an existing conversation
start_conversationbooleanNoOpen a new conversation for this run
conversation_titlestringNoNames 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

bash
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:

FieldTypeDescription
teamsarray of TeamSummary—

Errors 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
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)

FieldTypeRequiredDescription
namestringYes—
descriptionstringNo—
supervisorPromptstringNoDefaulted when blank
membersarray of objectNo—
members[].agentIdintegerNo—
members[].rolestringNo—
strategy"parallel" or "sequential"No—
iconstringNo—
colorstringNo—
supervisorAgentIdintegerNo—

Response 201 Created

data fields:

FieldTypeDescription
teamTeamDetail—

Errors 400, 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
teamIdintegerYes—

Response 200 OK

data fields:

FieldTypeDescription
teamTeamDetail—

Errors 400, 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
teamIdintegerYes—

Request body (application/json)

FieldTypeRequiredDescription
namestringNo—
descriptionstringNo—
supervisorPromptstringNo—
iconstringNo—
colorstringNo—
topologyobjectNo—
topology.nodesarray of objectNo—
topology.edgesarray of objectNo—
membersarray of objectNo—
members[].agentIdintegerNo—
members[].rolestringNo—
strategy"parallel" or "sequential"No—
handoffRulesarray of objectNo—
autoApprovebooleanNo—
maxRevisionsintegerNo—
supervisorAgentIdintegerNo—
maxBudgetnumberNo—
humanInTheLoopbooleanNo—
clarityGatebooleanNo—

Response 200 OK

data fields:

FieldTypeDescription
teamTeamDetail—

Errors 400, 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
teamIdintegerYes—

Response 200 OK

Errors 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
teamIdintegerYesID of an agent team — rows in GET /agents with is_team: true.

Request body (application/json)

FieldTypeRequiredDescription
promptstringYesThe task for the team
mode"async"NoAccepted for symmetry with POST /agents/{agentId}/run; async is the only mode
titlestringNoLabel for the run record

Response 200 OK

data is AgentRunAccepted:

FieldTypeDescription
job_idinteger—
agent_idintegernull for the platform assistant
conversation_idintegerPresent when the run was started into a conversation
status"running"—
poll_urlstringGET 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

bash
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

NameTypeRequiredDescription
status"running" or "recent"No—
limitinteger (≤ 50)No—

Response 200 OK

data fields:

FieldTypeDescription
runsarray of object—
runs[].job_idinteger—
runs[].agent_idintegernull for an assistant run
runs[].agent_namestring—
runs[].kind"agent" or "team" or "assistant"—
runs[].titlestring—
runs[].status"running" or "completed" or "failed" or "hibernating"hibernating: paused, waiting for a person's input; finished is null
runs[].startedstring (date-time)—
runs[].finishedstring (date-time)—
runs[].duration_msinteger—
runs[].errorstring—
status"running" or "recent"—
limitinteger—

Errors 400, 403. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
jobIdintegerYes—

Response 200 OK

data is AgentRunStatus:

FieldTypeDescription
job_idinteger—
agent_idintegernull for the platform assistant
conversation_idinteger or nullPresent 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})
textstring or null—
tool_callsarray of object—
tool_calls[].namestring—
tool_calls[].successboolean—
usageobject—
iterationsinteger or null—
duration_msinteger or null—
errorstring or null—
createdstring (date-time) or null—
modifiedstring (date-time) or null—

Errors 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
jobIdintegerYes—

Response 200 OK

Errors 400, 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—

Query parameters

NameTypeRequiredDescription
type"scheduled" or "run"No—

Response 200 OK

data fields:

FieldTypeDescription
jobsarray of AgentJob—
totalinteger—

Errors 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—

Request body (application/json)

FieldTypeRequiredDescription
titlestringYes—
descriptionstringNo—
promptstringYes—
schedule_typestringNo—
interval_minutesintegerNo—
time_of_daystringNo—
day_of_weekintegerNo—
day_of_monthintegerNo—
timezonestringNoA real IANA zone; anything else is refused with 400
cron_expressionstringNo—
delivery_modestringNo—
max_runsintegerNo—
statusstringNo"live" to activate immediately; draft otherwise
go_livebooleanNo—

Response 200 OK

data fields:

FieldTypeDescription
jobAgentJobDetail—

Errors 400, 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—
jobIdintegerYes—

Response 200 OK

data fields:

FieldTypeDescription
jobAgentJobDetail—

Errors 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—
jobIdintegerYes—

Request body (application/json)

FieldTypeRequiredDescription
titlestringNo—
descriptionstringNo—
promptstringNo—
schedule_typestringNo—
interval_minutesintegerNo—
time_of_daystringNo—
day_of_weekintegerNo—
day_of_monthintegerNo—
timezonestringNo—
cron_expressionstringNo—
delivery_modestringNo—
max_runsintegerNo—
activebooleanNoPause (false) or resume (true) the schedule
statusstringNo—
recompute_schedulebooleanNoRe-arm next_run_at without changing the schedule

Response 200 OK

data fields:

FieldTypeDescription
jobAgentJobDetail—
updated_fieldsarray of string—

Errors 400, 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—
jobIdintegerYes—

Response 200 OK

data fields:

FieldTypeDescription
deletedboolean—
job_idinteger—

Errors 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—
jobIdintegerYes—

Response 200 OK

data fields:

FieldTypeDescription
job_idinteger—
run_idinteger—
status"running"—
messagestring—

Errors 403 (INSUFFICIENT_SCOPE), 404, 409. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—
jobIdintegerYes—

Query parameters

NameTypeRequiredDescription
limitinteger (≤ 50)No—
offsetintegerNo—

Response 200 OK

data fields:

FieldTypeDescription
runsarray of object—
runs[].idinteger—
runs[].parent_idinteger or null—
runs[].titlestring or null—
runs[].statusstring or null—
runs[].final_resultobject or null—
runs[].last_errorstring or null—
runs[].duration_msinteger or null—
runs[].createdstring (date-time) or null—
totalinteger—
limitinteger—
offsetinteger—

Errors 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—

Query parameters

NameTypeRequiredDescription
originalintegerNoReturn this document's stored full source text

Response 200 OK

data fields:

FieldTypeDescription
documentsarray of object—
documents[].idinteger—
documents[].namestring—
documents[].typestring or null—
documents[].contentstring—
documents[].createdstring (date-time)—
documents[].modifiedstring (date-time)—
documents[].hasOriginalboolean—
documents[].originalCharsinteger—
usageobject—

Errors 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—

Request body (application/json)

FieldTypeRequiredDescription
titlestringYes—
contentstringYes—
doc_typestringNo—
keywordsarray of stringNo—

Response 201 Created

Errors 400, 402, 403 (INSUFFICIENT_SCOPE, POLICY_BLOCKED), 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—
documentIdintegerYes—

Request body (application/json)

FieldTypeRequiredDescription
titlestringNo—
contentstringNo—

Response 200 OK

Errors 400, 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—
documentIdintegerYes—

Response 200 OK

Errors 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
agentIdintegerYes—

Response 201 Created

Errors 400, 402, 403 (INSUFFICIENT_SCOPE, POLICY_BLOCKED), 404, 413. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
pageintegerNo—
limitinteger (≤ 100)No—
qstringNoOnly 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:

FieldTypeDescription
conversationsarray of ConversationSummary—
totalinteger—
pageinteger—
limitinteger—
has_moreboolean—
truncatedbooleanPresent on a search (q). True when the search may have missed matches (see q).

Example request

bash
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)

FieldTypeRequiredDescription
titlestringNoDefaults to a generated name; max 100 characters

Response 200 OK

data fields:

FieldTypeDescription
conversationConversationSummary—

Example request

bash
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

NameTypeRequiredDescription
conversationIdintegerYes—

Response 200 OK

data fields:

FieldTypeDescription
conversationConversation—

Errors 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
conversationIdintegerYes—

Request body (application/json)

FieldTypeRequiredDescription
titlestringYes—

Response 200 OK

data fields:

FieldTypeDescription
conversationConversationSummary—

Errors 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
conversationIdintegerYes—

Response 200 OK

data fields:

FieldTypeDescription
conversation_idinteger—
deletedboolean—

Errors 404. See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
limitinteger (≤ 100)No—
offsetintegerNoRows to skip. Page while has_more is true — a library can hold hundreds of skills.
searchstringNoCase-insensitive match on name, display name or description.
folder_idstringNoOnly skills filed in this library folder (see GET /skills/folders); root for the unfiled. Unknown folder: 404.

Response 200 OK

data fields:

FieldTypeDescription
skillsarray of SkillSummary—
totalintegerSkills the key's user may see that match the filters.
offsetinteger—
limitinteger—
has_moreboolean—

Errors 403. See Errors, pagination and limits.

Example request

bash
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)

FieldTypeRequiredDescription
display_namestringNo—
namestringNoSlug. Derived from display_name when omitted.
descriptionstringNo—
instructionsstringNo—
referencesarray of objectNoDocuments 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[].titlestringNo—
references[].pathstringNo—
references[].descriptionstringNo—
references[].contentstringNo—
references[].urlstringNo—
triggersarray of stringNo—
tool_categoriesarray of stringNo—
iconstringNo—
colorstringNo—
categorystringNo—
folder_idstring or nullNoFile the skill in this library folder; null or root moves it to the root. May be the only field sent on PATCH.
linksarray of SkillLinkNoPATCH 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.
sharingSkillSharingNoPATCH 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"Nocompany — everyone in your organization can see it; private — only the owner and members.
sharing.permission"edit" or "view"NoWhat the company audience may do (ignored for private).
sharing.membersobjectNoPer-user overrides keyed by user id, translated into direct user grants (editor → edit, viewer → view). At most 200 users.

Response 201 Created

data fields:

FieldTypeDescription
skillSkillDetail—

Errors 400 (INVALID_INPUT), 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
idsstringNoComma-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

bash
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

NameTypeRequiredDescription
group_by_folderbooleanNoWrap skills in their folder (default true).
show_agentsbooleanNoAdd agent nodes and carries edges (default false).
show_prebuiltbooleanNo—
kindsstringNoComma-separated skill-to-skill edge kinds to include: requires, related. Default both.

Response 200 OK

data fields:

FieldTypeDescription
nodesarray of object—
nodes[].idstringskill:{id}, folder:{id} or agent:{id}
nodes[].kind"skill" or "folder" or "agent"—
nodes[].labelstring—
nodes[].objIdobjectThe skill
nodes[].parentstringThe enclosing folder node
nodes[].colorstringThe skill's colour as drawn on the graph's dark canvas, not the stored colour (GET /skills/{skillId} returns that)
nodes[].systeminteger1 for the synthetic Prebuilt folder node. It is not a library folder: PATCH or DELETE on its id returns 404.
nodes[].prebuiltinteger1 for a prebuilt skill
nodes[].privinteger1 for a privately shared skill
nodes[].degreeintegerEdges touching the node
edgesarray of object—
edges[].idstring—
edges[].sourcestring—
edges[].targetstring—
edges[].kind"requires" or "related" or "carries"—
edges[].notestring—
countsobject—
counts.skillsinteger—
counts.foldersinteger—
counts.agentsinteger—
counts.requiresinteger—
counts.relatedinteger—
counts.carriesinteger—

Errors 400, 403. See Errors, pagination and limits.

Example request

bash
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)

FieldTypeRequiredDescription
filesarray of objectNo—
files[].pathstringYesBundle-relative, e.g. invoice-triage/checks/validate.py
files[].contentstringYes—
zip_base64stringNoA skill bundle archive, base64-encoded.
folder_idstring or nullNoLibrary folder to import into; omit or null for the root.

Response 201 Created

data fields:

FieldTypeDescription
skillsarray of SkillDetail—
countinteger—
truncatedbooleanTrue 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

bash
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

NameTypeRequiredDescription
skillIdintegerYes—

Response 200 OK

data fields:

FieldTypeDescription
skillSkillDetail—

Errors 403, 404 (NOT_FOUND). See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
skillIdintegerYes—

Request body (application/json)

FieldTypeRequiredDescription
display_namestringNo—
namestringNoSlug. Derived from display_name when omitted.
descriptionstringNo—
instructionsstringNo—
referencesarray of objectNoDocuments 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[].titlestringNo—
references[].pathstringNo—
references[].descriptionstringNo—
references[].contentstringNo—
references[].urlstringNo—
triggersarray of stringNo—
tool_categoriesarray of stringNo—
iconstringNo—
colorstringNo—
categorystringNo—
folder_idstring or nullNoFile the skill in this library folder; null or root moves it to the root. May be the only field sent on PATCH.
linksarray of SkillLinkNoPATCH 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.
sharingSkillSharingNoPATCH 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"Nocompany — everyone in your organization can see it; private — only the owner and members.
sharing.permission"edit" or "view"NoWhat the company audience may do (ignored for private).
sharing.membersobjectNoPer-user overrides keyed by user id, translated into direct user grants (editor → edit, viewer → view). At most 200 users.

Response 200 OK

data fields:

FieldTypeDescription
skillSkillDetail—

Errors 400 (INVALID_INPUT), 403 (INSUFFICIENT_SCOPE), 404 (NOT_FOUND), 422 (INVALID_INPUT). See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
skillIdintegerYes—

Response 200 OK

data fields:

FieldTypeDescription
idinteger—
deletedboolean—

Errors 403 (INSUFFICIENT_SCOPE), 404 (NOT_FOUND). See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
skillIdintegerYes—

Response 200 OK

Errors 403 (INSUFFICIENT_SCOPE, POLICY_BLOCKED), 404 (NOT_FOUND). See Errors, pagination and limits.

Example request

bash
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:

FieldTypeDescription
foldersarray of SkillFolder—
permissionsobject—
permissions.edit_skillsboolean—
permissions.share_skillsboolean—
permissions.manage_skillsboolean—

Errors 403. See Errors, pagination and limits.

Example request

bash
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)

FieldTypeRequiredDescription
namestring (max 80 chars)Yes—
parentIdstring or nullNoThe enclosing folder; omit or null for the root.

Response 201 Created

data fields:

FieldTypeDescription
folderSkillFolder—

Errors 400 (INVALID_INPUT), 403 (INSUFFICIENT_SCOPE), 404 (NOT_FOUND). See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
folderIdstringYes—

Request body (application/json)

FieldTypeRequiredDescription
namestring (max 80 chars)No—
parentIdstring or nullNo—

Response 200 OK

data fields:

FieldTypeDescription
folderSkillFolder—

Errors 400 (INVALID_INPUT), 403 (INSUFFICIENT_SCOPE), 404 (NOT_FOUND). See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
folderIdstringYes—

Response 200 OK

data fields:

FieldTypeDescription
idstring—
deletedboolean—
movedTostring or nullWhere 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

bash
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)

FieldTypeRequiredDescription
skillIdsarray of integerNo—
folderIdsarray of stringNo—
targetFolderIdstring or nullNo—

Response 200 OK

data fields:

FieldTypeDescription
movedintegerSkills filed
foldersintegerFolders moved
folderIdstring or null—

Errors 400 (INVALID_INPUT), 403 (INSUFFICIENT_SCOPE), 404 (NOT_FOUND). See Errors, pagination and limits.

Example request

bash
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

NameTypeRequiredDescription
scopestringYesConversation id or job id (repeatable, up to 4)
namestringNoDownload this file instead of listing
preview"1"NoServe the file inline as text/plain

Response 200 OK

data fields:

FieldTypeDescription
filesarray of object—
files[].namestring—
files[].scopestring—
fileCountinteger—

Errors 400, 403 (INSUFFICIENT_SCOPE, POLICY_BLOCKED), 404, 503. See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/workspace" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Objects

AgentDetail

FieldTypeDescription
idinteger—
namestring—
role_titlestring or null—
biostring or null—
iconstring or null—
colorstring or null—
is_prebuiltboolean—
is_sharedboolean—
is_activeboolean—
is_teambooleanRun a team with POST /agents/teams/{teamId}/run, not POST /agents/{agentId}/run
is_ownbooleanCreated by the key's owner
skill_countinteger—
createdstring (date-time) or null—
modifiedstring (date-time) or null—
skillsarray of object—
skills[].idinteger—
skills[].namestring—
skills[].display_namestring—
skills[].descriptionstring—
skills[].categorystring—
capabilitiesobject—
capabilities.internet_accessboolean—
capabilities.teamobject or null—
modelobject or nullPer-agent model override, if set
model.providerstring or null—
model.modelstring or null—

AgentJob

A scheduled agent job, or one past run when listed with ?type=run.

FieldTypeDescription
idinteger—
agent_idinteger—
job_typestring—
titlestring or null—
descriptionstring or null—
statusstring or null—
activeboolean—
schedule_typestring or null—
interval_minutesinteger or null—
time_of_daystring or null—
day_of_weekinteger or null—
day_of_monthinteger or null—
timezonestring or null—
cron_expressionstring or null—
delivery_modestring or null—
next_run_atstring (date-time) or null—
run_countinteger—
max_runsinteger or null—
consecutive_failsinteger—
last_errorstring or null—
createdstring (date-time) or null—
modifiedstring (date-time) or null—

AgentJobDetail

The summary plus prompt, result, and a checkpoint summary.

FieldTypeDescription
idinteger—
agent_idinteger—
job_typestring—
titlestring or null—
descriptionstring or null—
statusstring or null—
activeboolean—
schedule_typestring or null—
interval_minutesinteger or null—
time_of_daystring or null—
day_of_weekinteger or null—
day_of_monthinteger or null—
timezonestring or null—
cron_expressionstring or null—
delivery_modestring or null—
next_run_atstring (date-time) or null—
run_countinteger—
max_runsinteger or null—
consecutive_failsinteger—
last_errorstring or null—
createdstring (date-time) or null—
modifiedstring (date-time) or null—
promptstring or null—
parent_idinteger or null—
duration_msinteger or null—
final_resultobject or null—
checkpointobject or null—

AgentRunAccepted

FieldTypeDescription
job_idinteger—
agent_idintegernull for the platform assistant
conversation_idintegerPresent when the run was started into a conversation
status"running"—
poll_urlstringGET this path to poll the run, e.g. /api/v1/agents/runs/42

AgentRunResult

FieldTypeDescription
agent_idintegernull for the platform assistant
conversation_idintegerPresent only when the run was a turn in a conversation. Send it back on the next run to continue the thread.
successboolean—
textstring or nullThe agent's answer
tool_callsarray of object—
tool_calls[].namestring—
tool_calls[].successboolean—
usageobject—
duration_msinteger or null—
iterationsinteger or null—
errorstring or null—

AgentRunStatus

FieldTypeDescription
job_idinteger—
agent_idintegernull for the platform assistant
conversation_idinteger or nullPresent 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})
textstring or null—
tool_callsarray of object—
tool_calls[].namestring—
tool_calls[].successboolean—
usageobject—
iterationsinteger or null—
duration_msinteger or null—
errorstring or null—
createdstring (date-time) or null—
modifiedstring (date-time) or null—

AgentSummary

FieldTypeDescription
idinteger—
namestring—
role_titlestring or null—
biostring or null—
iconstring or null—
colorstring or null—
is_prebuiltboolean—
is_sharedboolean—
is_activeboolean—
is_teambooleanRun a team with POST /agents/teams/{teamId}/run, not POST /agents/{agentId}/run
is_ownbooleanCreated by the key's owner
skill_countinteger—
createdstring (date-time) or null—
modifiedstring (date-time) or null—

Conversation

FieldTypeDescription
conversation_idinteger—
titlestring—
message_countintegerStored messages, counting both sides of every exchange
createdstring (date-time)—
modifiedstring (date-time)—
messagesarray of objectOldest first, ready to render as a transcript
messages[].role"user" or "assistant"—
messages[].contentstring—
messages[].tool_callsarray of objectPresent on assistant turns that used tools
projectobject or nullThe 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.idstring—
project.namestring—

ConversationSummary

FieldTypeDescription
conversation_idinteger—
titlestring—
message_countintegerStored messages, counting both sides of every exchange
createdstring (date-time)—
modifiedstring (date-time)—

SkillDetail

FieldTypeDescription
idinteger—
namestringSlug identifier, e.g. "invoice-triage"
display_namestring—
descriptionstringWhat the skill does and when to use it — what a model matches a request against.
categorystring—
iconstring—
is_prebuiltbooleanGlobal skills shipped with Intuidy. Visible to every organization, editable by none.
owner_idinteger or nullThe user who created it. Null for prebuilt skills.
folder_idstring or nullThe library folder it is filed in; null at the root. See GET /skills/folders.
folderstringThe folder's full path, e.g. "Finance/Accounts payable". Empty at the root.
colorstring—
instructionsstringThe guidance an agent follows once the skill is active. The body of SKILL.md.
referencesarray of objectBundled 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[].titlestring—
references[].pathstringBundle-relative path, e.g. "rules.md" or "checks/validate.py". Empty for a document.
references[].descriptionstring—
references[].contentstringThe document body. Empty for a reference that is only a link.
references[].urlstring—
triggersarray of stringKeywords that auto-activate the skill inside Intuidy. No meaning outside it.
tool_categoriesarray of stringIntuidy tool families the instructions assume, e.g. workflow, integration.
createdstring (date-time)—
modifiedstring (date-time)—
linksarray of SkillLinkOutgoing relationships, from the Skills library. Only targets the key's user may read are listed — the same rule the graph applies to its edges.
sharingSkillSharing or nullNull 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.membersobjectPer-user overrides keyed by user id, translated into direct user grants (editor → edit, viewer → view). At most 200 users.
accessobjectWhat the calling key's user may do with this skill.
access.level"prebuilt" or "manager" or "owner" or "member" or "company"—
access.canWriteboolean—
access.canShareboolean—

SkillFolder

A folder in the skill library. Folders nest up to 8 levels.

FieldTypeDescription
idstring—
namestring—
parentIdstring or nullThe enclosing folder, or null at the root.
pathstringFull path from the root, e.g. "Finance/Accounts payable".
createdstring (date-time)—
createdByinteger or null—

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.

FieldTypeDescription
tointegerThe target skill id
kind"requires" or "related"—
notestringOptional, 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.

FieldTypeDescription
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).
membersobjectPer-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.

FieldTypeDescription
idinteger—
namestringSlug identifier, e.g. "invoice-triage"
display_namestring—
descriptionstringWhat the skill does and when to use it — what a model matches a request against.
categorystring—
iconstring—
is_prebuiltbooleanGlobal skills shipped with Intuidy. Visible to every organization, editable by none.
owner_idinteger or nullThe user who created it. Null for prebuilt skills.
folder_idstring or nullThe library folder it is filed in; null at the root. See GET /skills/folders.
folderstringThe 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}.

FieldTypeDescription
idinteger—
namestring—
role_titlestring or null—
biostring or null—
iconstring or null—
colorstring or null—
is_prebuiltboolean—
is_sharedboolean—
is_activeboolean—
is_teambooleanRun a team with POST /agents/teams/{teamId}/run, not POST /agents/{agentId}/run
is_ownbooleanCreated by the key's owner
skill_countinteger—
createdstring (date-time) or null—
modifiedstring (date-time) or null—
member_countinteger—
teamobject—
team.membersarray of object—
team.strategy"parallel" or "sequential"—
team.topologyobject—
team.auto_approveboolean—
team.max_revisionsinteger—
team.supervisor_agent_idinteger or null—
team.max_budgetnumber or null—
team.human_in_the_loopboolean—
team.clarity_gateboolean—

TeamSummary

FieldTypeDescription
idinteger—
namestring—
role_titlestring or null—
biostring or null—
iconstring or null—
colorstring or null—
is_prebuiltboolean—
is_sharedboolean—
is_activeboolean—
is_teambooleanRun a team with POST /agents/teams/{teamId}/run, not POST /agents/{agentId}/run
is_ownbooleanCreated by the key's owner
skill_countinteger—
createdstring (date-time) or null—
modifiedstring (date-time) or null—
member_countinteger—