Schemas
The request and response bodies that the operations reference.
ActorKind
One of: "user" , "agent" , "service_identity" , "system" , "platform_user"
"user" ActorRef
A person, an agent (ivy for the built-in assistant), a service identity or Ivy itself.
-
idstringrequired
{
"id": "id_123",
"type": "user"
} AgentChangesPending
Deletes and conflicting overwrites the sandbox made, held until the person confirms them (…/sandbox/changes/{change_set_id}/apply or /discard).
-
change_set_idstringrequired
{
"change_set_id": "change_set_123",
"conflicts": [
{
"base_version_id": "base_version_123",
"current_version_id": "current_version_123",
"file_id": "file_123",
"path": "string"
}
],
"deletes": [
{
"file_id": "file_123",
"path": "string"
}
]
} AgentChangesSaved
Files the sandbox created or changed, saved as new versions after a step.
-
checkpointinteger (int64)requiredminimum 0 -
skippedstring[]requiredPaths over the write-back limits, not saved.
{
"checkpoint": 0,
"files": [
{
"change": "created",
"check": {
"file_id": "file_123",
"kind": {},
"path_changes": [],
"problems": [],
"reference": {},
"valid": false,
"version_id": "version_123"
},
"file_id": "file_123",
"path": "string",
"version_id": "version_123"
}
],
"skipped": [
"string"
]
} AgentCredential
The organisation's model credential an agent's admin configuration (agents/<id>.toml) names.
-
fall_back_to_ivybooleanrequiredWhether the agent runs on Ivy's account, in credits, while the credential can't be used.
-
namestringrequired
{
"fall_back_to_ivy": false,
"name": "Ada Lovelace",
"state": "ready"
} AgentDone
Data of the done SSE event.
{
"message": {
"acting_for": {
"id": "id_123",
"type": "user"
},
"ask_id": "ask_123",
"attachments": [
{
"file_id": "file_123",
"name": "Ada Lovelace"
}
],
"author": {
"id": "id_123",
"type": "user"
},
"author_name": "Ada Lovelace",
"branch": {
"count": 0,
"index": 0
},
"created_at": "2026-01-15T09:30:00Z",
"deleted_at": "2026-01-15T09:30:00Z",
"edited_at": "2026-01-15T09:30:00Z",
"feedback": "up",
"file_links": [
{
"file_id": "file_123",
"name": "Ada Lovelace",
"path": "string",
"space_id": "space_123",
"version": 1,
"workspace_id": "workspace_123"
}
],
"id": "id_123",
"in_reply_to": "string",
"mentions": [
"string"
],
"model": "string",
"notice": {
"actor": {},
"channel_id": "channel_123",
"conversation_id": "conversation_123",
"kind": "invited",
"participants": [
"string"
],
"title": "string"
},
"origin": {
"platform_message_id": "platform_message_123",
"source": "web"
},
"parts": [
{
"text": "Hello, Ivy",
"type": "text"
}
],
"quote": {
"author": {},
"author_name": "Ada Lovelace",
"created_at": "2026-01-15T09:30:00Z",
"deleted": false,
"excerpt": "string",
"message_id": "message_123"
},
"reactions": [
{
"emoji": "string",
"participants": [
"string"
]
}
],
"read_through": "string",
"role": "user",
"stopped_by": {
"id": "id_123",
"type": "user"
},
"thinking": [
{
"before_part": 0,
"duration_ms": 0,
"text": "Hello, Ivy"
}
]
}
} AgentError
Data of the error SSE event. The stream ends after it.
-
codestringrequired -
messagestringrequired
{
"code": "not_found",
"message": "A short explanation for people"
} AgentMessageStart
Data of the message_start SSE event.
-
message_idstringrequired -
modelstringrequiredThe model producing this message.
{
"message_id": "message_123",
"model": "string"
} AgentModel
A model the assistant can use.
-
descriptionstringrequired -
display_namestringrequiredThe model's name, the same for both of its variants:
eutells them apart. -
eubooleanrequiredWhether this is the model's EU variant, served from an endpoint in the EU. An organisation with EU-only AI processing (
AiSettings.eu_only) sees only these. -
idstringrequiredVariant id: the model's id (
claude-opus-5-5), with-eufor its EU variant (claude-opus-5-5-eu); pass it asSendMessage.model. -
is_defaultbooleanrequiredUsed when
SendMessage.modelis absent.
{
"description": "string",
"display_name": "Ada Lovelace",
"eu": false,
"id": "id_123",
"is_default": false
} AgentModelList
{
"items": [
{
"description": "string",
"display_name": "Ada Lovelace",
"eu": false,
"id": "id_123",
"is_default": false
}
]
} AgentProvider
One of: "anthropic" , "google" , "mistral" , "openai" , "deepseek"
"anthropic" AgentRunState
working: an agent turn is queued or running. done and failed: the latest turn succeeded or failed after the caller last read the conversation (while conversations with people are on; without read state only working is given). A cancelled turn leaves none.
One of: "working" , "done" , "failed"
"working" AgentRuntime
One of: "ivy" , "sandbox"
"ivy" AgentSandboxStatus
The conversation's sandbox. reason says why it stopped or is unavailable; a new one is started (with a fresh working copy) the next time the assistant needs a shell.
-
reasonstring|null
{
"reason": "string",
"state": "starting"
} AgentStreamEvent
One server-sent event of sendMessage: the SSE event: field is event and the SSE data: field is the JSON of data. The stream ends after done or error.
One of: object | object | object | object | object | object | object | object | object | object | object | object
{
"data": {
"message_id": "message_123",
"model": "string"
},
"event": "message_start"
} AgentTextDelta
Data of the text_delta SSE event.
-
textstringrequired
{
"text": "Hello, Ivy"
} AgentThinking
Data of the thinking SSE event: the summarized progress note so far, replacing the one before it.
-
textstringrequired
{
"text": "Hello, Ivy"
} AgentToolCall
Data of the tool_call SSE event.
-
idstringrequired -
inputanyrequired -
namestringrequired
{
"id": "id_123",
"input": {},
"name": "Ada Lovelace"
} AgentToolProgress
Live output of a running tool: a bash command's output, or an event of the code run that run_code started (event is then the run's event name: stdout, stderr, output_file, …).
-
dataanyrequired -
eventstringrequired -
tool_use_idstringrequired
{
"data": {},
"event": "string",
"tool_use_id": "tool_use_123"
} AgentToolResult
Data of the tool_result SSE event.
-
filesFileRef[]The files the call listed, found, looked up, read or wrote.
-
idstringrequired -
sourcesWebSource[]The pages a web search found or a fetch read.
-
summarystringrequired -
viewToolView|null
{
"files": [
{
"file_id": "file_123",
"name": "Ada Lovelace",
"path": "string",
"space_id": "space_123",
"version": 1,
"workspace_id": "workspace_123"
}
],
"id": "id_123",
"invalidates": [
"workspaces"
],
"sources": [
{
"title": "string",
"url": "https://example.com"
}
],
"status": "ok",
"summary": "string",
"view": {
"app_id": "app_123",
"instance_id": "instance_123",
"kind": "page",
"result": {},
"source_space_id": "source_space_123",
"source_workspace_id": "source_workspace_123",
"ui": "string",
"version_id": "version_123"
}
} AiProviderSetting
-
enabledbooleanrequired
{
"enabled": false,
"provider": "anthropic"
} AiSettings
-
eu_availablebooleanrequiredWhether this installation offers any EU model variant (Mistral's models are served only in the EU). Without one, EU-only processing would leave no models, so it can't be turned on. It is on by default only where the installation offers an EU variant of the built-in assistant's models (Claude's), so the assistant keeps a model.
-
eu_onlybooleanrequiredEU-only AI processing. While it is on, only EU model variants (
AgentModel.eu) are listed, accepted in chats and run by agents; turning it off adds the regular variants, served from outside the EU. On by default wherever the installation offers EU variants. -
The model providers this installation offers, and whether the organisation's chats and agents may use each one's models. Anthropic's (the built-in assistant's) always may; Mistral's may until an admin says otherwise, and Google's and OpenAI's only once an admin allows them.
-
updated_atstring (date-time)|nullWhen an owner or admin last changed them;
nullwhile they are the defaults.
{
"eu_available": false,
"eu_only": false,
"providers": [
{
"enabled": false,
"provider": "anthropic"
}
],
"updated_at": "2026-01-15T09:30:00Z"
} Answer
-
confidencenumber (double)|nullHow sure the model is of its answer, from 0 to 1, where it says; act on confident answers and hand the rest to a person or a larger model.
-
idstringrequiredThe question's
id. -
probabilitiesobject|nullFor
choiceeach option's probability, forscoreeach level's. -
probabilitynumber (double)|nullHow likely the answer is: of yes for
boolean, of the chosen option forchoice;nullforscore, whose levels are inprobabilities.
{
"confidence": 1,
"id": "id_123",
"kind": "boolean",
"probabilities": {},
"probability": 1,
"value": false
} AnswerMode
every_message: the conversation's one agent answers each of its person's messages; mentions: agents answer only messages that @mention them.
One of: "every_message" , "mentions"
"every_message" ApiKeyInfo
The calling API key.
-
expires_atstring (date-time)|null -
key_idstringrequired -
namestringrequired -
organisation_idstringrequired -
service_identity_idstringrequired -
service_identity_namestringrequired
{
"expires_at": "2026-01-15T09:30:00Z",
"key_id": "key_123",
"name": "Ada Lovelace",
"organisation_id": "organisation_123",
"scopes": [
"workspaces:read"
],
"service_identity_id": "service_identity_123",
"service_identity_name": "Ada Lovelace"
} ApiScope
What an API key may do. write includes read of the same family; workflows:run is its own grant.
One of: "workspaces:read" , "files:read" , "files:write" , "conversations:read" , "conversations:write" , "code_runs:read" , "code_runs:write" , "share_links:read" , "share_links:write" , "channels:read" , "channels:write" , "workflows:read" , "workflows:write" , "workflows:run" , "records:read" , "records:write"
"workspaces:read" AppAccess
Who may use a space-owned app: read apps any member, write apps only the space's editors and admins.
One of: "read" , "write"
"read" AppAdminReason
What makes an app's snapshot need a space admin, with step-up, to approve it. Without any, the space's editors may approve it too.
One of: "frontend" , "processes" , "services" , "tools" , "ui" , "egress" , "secrets" , "runs" , "write_access" , "collection_write"
"frontend" AppApprovalProblem
-
codestringrequired -
messagestringrequired
{
"code": "not_found",
"message": "A short explanation for people"
} AppApprovalReview
What an admin reviews before approving one of the space's own apps.
-
app_idstringrequired -
approvedApprovedAppSnapshot|null -
can_approvebooleanrequiredThe caller may approve
current(an admin-tier approval still asks for step-up). -
can_revokebooleanrequired -
currentagainstapprovedby path; without an approval, every file isadded. -
currentAppSnapshot|null -
Of
current; empty when the space's editors may approve it. -
org_admins_approvebooleanrequiredThe organisation lets only its owners and admins approve apps, whatever
needs_adminsays. -
problemAppApprovalProblem|null
{
"app_id": "app_123",
"approved": {
"approved_at": "2026-01-15T09:30:00Z",
"approved_by": "string",
"from_message": false,
"last_editor": false,
"snapshot": {
"definition": {
"access": {},
"assistant": {},
"collections": [],
"creates": [],
"description": {},
"egress": [],
"environment": "string",
"fallback": {},
"frontend": {},
"id": "id_123",
"manifest": "string",
"name": {},
"open": "string",
"opens": [],
"page": "string",
"processes": [],
"root": "string",
"runs": [],
"scratch": [],
"secrets": [],
"services": [],
"share_files": [],
"shareable": false,
"tools": [],
"ui": []
},
"files": [
{}
],
"hash": "string",
"input_schemas": {},
"source": {
"kind": "version",
"space_id": "space_123",
"version_id": "version_123",
"workspace_id": "workspace_123"
}
}
},
"can_approve": false,
"can_revoke": false,
"changes": [
{
"change": "added",
"diff": "string",
"path": "string",
"size_bytes": 1
}
],
"current": {
"definition": {
"access": "read",
"assistant": {},
"collections": [
{}
],
"creates": [
{}
],
"description": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"egress": [
"string"
],
"environment": "string",
"fallback": {},
"frontend": "builtin",
"id": "id_123",
"manifest": "string",
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"open": "string",
"opens": [
{}
],
"page": "string",
"processes": [
{}
],
"root": "string",
"runs": [
{}
],
"scratch": [
"string"
],
"secrets": [
{}
],
"services": [
{}
],
"share_files": [
"string"
],
"shareable": false,
"tools": [
{}
],
"ui": [
{}
]
},
"files": [
{
"file_id": "file_123",
"file_version_id": "file_version_123",
"path": "string",
"sha256": "string",
"size_bytes": 1
}
],
"hash": "string",
"input_schemas": {},
"source": {
"kind": "version",
"space_id": "space_123",
"version_id": "version_123",
"workspace_id": "workspace_123"
}
},
"needs_admin": [
"frontend"
],
"org_admins_approve": false,
"problem": {
"code": "not_found",
"message": "A short explanation for people"
}
} AppCollection
A collection of the space the app reads, or reads and writes, through window.ivy.records and its processes' app token.
-
accessAppAccesswriteneeds the app's ownaccess = "write". -
namestringrequiredThe collection's name in the space.
{
"access": "read",
"name": "Ada Lovelace"
} AppDefinition
-
accessAppAccess -
assistantLocalisedText|null -
collectionsAppCollection[]Absent in versions stored before apps declared collections.
-
createsFileTemplate[] -
egressstring[]The hosts its processes reach through the egress proxy, on HTTPS, or
host:portfor a port the installation's proxy opens to apps, such as IMAP's 993. -
environmentstring|nullThe sandbox environment its processes need (
runtimein older manifests). -
fallbackAppFallback|null -
idstringrequired -
manifeststringWhere its manifest is: a
*.ivy-app.tomlfile;.ivy/apps/<id>.tomlin versions stored before them. -
openstring|nullThe file a
pageapp opens when it is opened by itself, as a path in the space: its data, which approving the app doesn't pin. -
pagestring|nullThe page of a
pagefrontend: a path in the version. -
processesAppProcess[] -
rootstring|nullThe folder of the version the app is made of, outside
.ivy/. -
runsRunHandler[]Absent in versions stored before run handlers existed.
-
scratchstring[]Paths under
/workspacethat are never written back. -
secretsAppSecret[] -
servicesAppService[]Absent in versions stored before services existed.
-
share_filesstring[]The folders or globs a share of the app copies (
[share] files). -
shareableboolean -
toolsAppTool[]
{
"access": "read",
"assistant": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"collections": [
{
"access": "read",
"name": "Ada Lovelace"
}
],
"creates": [
{
"extension": "string",
"icon": "string",
"template": "string"
}
],
"description": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"egress": [
"string"
],
"environment": "string",
"fallback": "builtin",
"frontend": "builtin",
"id": "id_123",
"manifest": "string",
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"open": "string",
"opens": [
{
"default": false,
"edits": false,
"extensions": [
"string"
],
"mime_types": [
"string"
]
}
],
"page": "string",
"processes": [
{
"command": [
"string"
],
"id": "id_123",
"mcp": false,
"port": 0,
"ready": "started",
"restart": "never"
}
],
"root": "string",
"runs": [
{
"extensions": [
"string"
],
"runner": "python"
}
],
"scratch": [
"string"
],
"secrets": [
{
"kind": "google_oauth",
"name": "Ada Lovelace",
"optional": false,
"per": "person",
"scopes": [
"string"
]
}
],
"services": [
{
"kind": "speech-to-text",
"path": "string",
"process": "string"
}
],
"share_files": [
"string"
],
"shareable": false,
"tools": [
{
"description": "string",
"input_schema": "string",
"name": "Ada Lovelace"
}
],
"ui": [
{
"name": "Ada Lovelace",
"page": "string"
}
]
} AppFallback
What runs a page app where pages can't: an installation without the sandboxed preview origin, or a visitor who can't read the space.
One of: "builtin"
"builtin" AppFileChange
One of: "added" , "removed" , "modified"
"added" AppFrontend
One of: "builtin" , "page" , "port" , "terminal" , "none"
"builtin" AppInstance
One running copy of an app: in the sandbox session of a conversation, or the space's own.
-
app_idstringrequired -
conversation_idstring|nullThe conversation of a session-owned instance.
-
From the snapshot it runs: a
portfrontend opens through…/frontend-grants. -
idstringrequired -
last_active_atstring (date-time)required -
reasonstring|nullWhy it stopped:
idle,lifetime,requested,usage_limit_reached,exited,failed,tools_mismatch(its MCP server offers other tools than the manifest declares),files_changed(a shared app's copies or its app were refreshed; it starts again with them),access_revoked,approval_revoked,owner_deactivated,workspace_archived,app_runtime_unavailable,crashed,sandbox_busy(a space's instance found every app slot taken) orunavailable. -
snapshot_hashstringrequired -
started_atstring (date-time)required -
stopped_atstring (date-time)|null
{
"access": "read",
"app_id": "app_123",
"conversation_id": "conversation_123",
"frontend": "builtin",
"id": "id_123",
"last_active_at": "2026-01-15T09:30:00Z",
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"owner": "session",
"reason": "string",
"snapshot_hash": "string",
"started_at": "2026-01-15T09:30:00Z",
"state": "starting",
"status": {
"dropped": [
"string"
],
"processes": [
{
"busy": "string",
"error": "string",
"exit_code": 1,
"id": "id_123",
"ports": [
0
],
"progress": 1,
"restarts": 0,
"state": "starting",
"text": "Hello, Ivy"
}
],
"skipped": [
"string"
]
},
"stopped_at": "2026-01-15T09:30:00Z"
} AppInstanceList
A conversation's 20 newest app instances, newest first: those running and those stopped in the last 7 days. For a space: its own running instances, by app.
{
"items": [
{
"access": "read",
"app_id": "app_123",
"conversation_id": "conversation_123",
"frontend": "builtin",
"id": "id_123",
"last_active_at": "2026-01-15T09:30:00Z",
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"owner": "session",
"reason": "string",
"snapshot_hash": "string",
"started_at": "2026-01-15T09:30:00Z",
"state": "starting",
"status": {
"dropped": [
"string"
],
"processes": [
{}
],
"skipped": [
"string"
]
},
"stopped_at": "2026-01-15T09:30:00Z"
}
]
} AppInstanceOwner
One of: "session" , "workspace"
"session" AppInstanceState
One of: "starting" , "running" , "stopping" , "stopped"
"starting" AppInstanceStatus
What the instance's processes last reported, read every 30 seconds while it runs. Everything in it comes from the app's own code.
-
droppedstring[]Space paths a
readapp changed, which weren't saved. -
skippedstring[]Space paths a
writeapp changed that couldn't be saved: too large, past a checkpoint's file count, or deleted or conflicting where nobody can confirm it (a space's own instance runs as its identity).
{
"dropped": [
"string"
],
"processes": [
{
"busy": "string",
"error": "string",
"exit_code": 1,
"id": "id_123",
"ports": [
0
],
"progress": 1,
"restarts": 0,
"state": "starting",
"text": "Hello, Ivy"
}
],
"skipped": [
"string"
]
} ApplyChanges
D10: deletes listed here are carried out; conflicts follow their choice. Anything not listed is dropped.
-
conflictsobject -
deletesstring[]
{
"conflicts": {},
"deletes": [
"string"
]
} AppOpenFile
A page app's default file (its manifest's open), as the space has it now.
-
file_idstringrequired -
pathstringrequiredIts path from the top of the space, such as
crm/data/crm.crm-data.
{
"file_id": "file_123",
"path": "string"
} AppPage
A page app's page, from the version of the space that declares the app.
-
htmlstringrequiredThe page as one HTML document. Run it only in the sandboxed preview origin (
runnerOrigin), never on the app's own origin. -
source_space_idstringrequiredThe space that declares the app, such as
ivy-core. -
source_workspace_idstringrequiredLegacy name of
source_space_id, sent and accepted until 2027-05-31. -
version_idstringrequired
{
"html": "string",
"source_space_id": "source_space_123",
"source_workspace_id": "source_workspace_123",
"version_id": "version_123"
} AppProcess
-
commandstring[]requiredThe program and its arguments, run in the app's root without a shell.
-
idstringrequired -
mcpbooleanIt speaks MCP over stdio and serves the app's tools.
-
portinteger (int32)|nullThe port a
portfrontend or a service is served from.minimum 0 -
readyProcessReady -
restartProcessRestart
{
"command": [
"string"
],
"id": "id_123",
"mcp": false,
"port": 0,
"ready": "started",
"restart": "never"
} AppProcessState
One of: "starting" , "ready" , "running" , "exited" , "failed"
"starting" AppProcessStatus
-
busystring|nullWhy the process asked not to be stopped, while it does.
-
errorstring|null -
exit_codeinteger (int32)|null -
idstringrequired -
portsinteger (int32)[] -
progressnumber (double)|nullFrom 0 to 1.
-
restartsinteger (int32)requiredminimum 0 -
textstring|nullThe last status line the process sent.
{
"busy": "string",
"error": "string",
"exit_code": 1,
"id": "id_123",
"ports": [
0
],
"progress": 1,
"restarts": 0,
"state": "starting",
"text": "Hello, Ivy"
} ApprovedAppSnapshot
-
approved_atstring (date-time)required -
approved_bystringrequired -
from_messagebooleanrequiredApproved from an approval request in a conversation rather than this screen.
-
last_editorbooleanrequiredThe approver had made the latest edit to one of its files.
{
"approved_at": "2026-01-15T09:30:00Z",
"approved_by": "string",
"from_message": false,
"last_editor": false,
"snapshot": {
"definition": {
"access": "read",
"assistant": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"collections": [
{
"access": {},
"name": "Ada Lovelace"
}
],
"creates": [
{
"extension": "string",
"icon": "string",
"template": "string"
}
],
"description": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"egress": [
"string"
],
"environment": "string",
"fallback": "builtin",
"frontend": "builtin",
"id": "id_123",
"manifest": "string",
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"open": "string",
"opens": [
{
"default": false,
"edits": false,
"extensions": [],
"mime_types": []
}
],
"page": "string",
"processes": [
{
"command": [],
"id": "id_123",
"mcp": false,
"port": 0,
"ready": {},
"restart": {}
}
],
"root": "string",
"runs": [
{
"extensions": [],
"runner": {}
}
],
"scratch": [
"string"
],
"secrets": [
{
"kind": {},
"name": "Ada Lovelace",
"optional": false,
"per": {},
"scopes": []
}
],
"services": [
{
"kind": {},
"path": "string",
"process": "string"
}
],
"share_files": [
"string"
],
"shareable": false,
"tools": [
{
"description": "string",
"input_schema": "string",
"name": "Ada Lovelace"
}
],
"ui": [
{
"name": "Ada Lovelace",
"page": "string"
}
]
},
"files": [
{
"file_id": "file_123",
"file_version_id": "file_version_123",
"path": "string",
"sha256": "string",
"size_bytes": 1
}
],
"hash": "string",
"input_schemas": {},
"source": {
"kind": "version",
"space_id": "space_123",
"version_id": "version_123",
"workspace_id": "workspace_123"
}
}
} AppSecret
A secret the app's processes ask Ivy for while they run; its value is never in a version.
-
namestringrequired -
optionalbooleanThe app starts without it, and its process asks whether the person signed in; without it a start waits for the sign-in.
-
scopesstring[]requiredThe OAuth scopes the sign-in asks for.
{
"kind": "google_oauth",
"name": "Ada Lovelace",
"optional": false,
"per": "person",
"scopes": [
"string"
]
} AppService
A WebSocket a process serves for Ivy's own clients, reached through the app gateway.
-
pathstringrequiredThe path the WebSocket opens, starting with
/. -
processstringrequiredThe id of the process that serves it, on its
port.
{
"kind": "speech-to-text",
"path": "string",
"process": "string"
} AppServiceKind
What a service offers Ivy's own clients (session-apps-processes.md §2 "Services").
One of: "speech-to-text"
"speech-to-text" AppSnapshot
Exactly what an app runs: its definition and its files, hashed together.
-
The manifest, the page and every file under the app's root but its default file, by path.
-
hashstringrequiredSHA-256 over the files' paths and hashes, computed like a version id.
-
input_schemasobjectrequiredEach tool's input schema, by tool name.
{
"definition": {
"access": "read",
"assistant": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"collections": [
{
"access": "read",
"name": "Ada Lovelace"
}
],
"creates": [
{
"extension": "string",
"icon": "string",
"template": "string"
}
],
"description": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"egress": [
"string"
],
"environment": "string",
"fallback": "builtin",
"frontend": "builtin",
"id": "id_123",
"manifest": "string",
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"open": "string",
"opens": [
{
"default": false,
"edits": false,
"extensions": [
"string"
],
"mime_types": [
"string"
]
}
],
"page": "string",
"processes": [
{
"command": [
"string"
],
"id": "id_123",
"mcp": false,
"port": 0,
"ready": "started",
"restart": "never"
}
],
"root": "string",
"runs": [
{
"extensions": [
"string"
],
"runner": "python"
}
],
"scratch": [
"string"
],
"secrets": [
{
"kind": "google_oauth",
"name": "Ada Lovelace",
"optional": false,
"per": "person",
"scopes": [
"string"
]
}
],
"services": [
{
"kind": "speech-to-text",
"path": "string",
"process": "string"
}
],
"share_files": [
"string"
],
"shareable": false,
"tools": [
{
"description": "string",
"input_schema": "string",
"name": "Ada Lovelace"
}
],
"ui": [
{
"name": "Ada Lovelace",
"page": "string"
}
]
},
"files": [
{
"file_id": "file_123",
"file_version_id": "file_version_123",
"path": "string",
"sha256": "string",
"size_bytes": 1
}
],
"hash": "string",
"input_schemas": {},
"source": {
"kind": "version",
"space_id": "space_123",
"version_id": "version_123",
"workspace_id": "workspace_123"
}
} AppSnapshotChange
-
diffstring|nullA unified diff of a changed UTF-8 file, when both sides are small enough to show.
-
pathstringrequired -
size_bytesinteger (int64)requiredThe file's size now; a removed file's as approved.
{
"change": "added",
"diff": "string",
"path": "string",
"size_bytes": 1
} AppSnapshotFile
-
file_idstring|nullFor the space's own files: the file and the version read.
-
file_version_idstring|null -
pathstringrequired -
sha256stringrequired -
size_bytesinteger (int64)required
{
"file_id": "file_123",
"file_version_id": "file_version_123",
"path": "string",
"sha256": "string",
"size_bytes": 1
} AppSnapshotSource
One of: object | object
{
"kind": "version",
"space_id": "space_123",
"version_id": "version_123",
"workspace_id": "workspace_123"
} AppTool
A tool the app's MCP process serves, offered to agents as <app>__<name>.
-
descriptionstringrequiredFor the model, in English.
-
input_schemastringrequiredIts JSON Schema, a path relative to the app's root.
-
namestringrequired
{
"description": "string",
"input_schema": "string",
"name": "Ada Lovelace"
} AppToolCallResult
What the app's MCP server answered.
-
contentobject[]requiredMCP content items as the server sent them:
text,imageand others. -
is_errorbooleanrequiredThe tool reported an error (MCP
isError).
{
"content": [
{}
],
"is_error": false
} AppUiResource
A static MCP Apps UI resource, ui://<app>/<name>.
-
namestringrequired -
pagestringrequiredAn HTML file, a path relative to the app's root.
{
"name": "Ada Lovelace",
"page": "string"
} AskStatus
One of: "draft" , "open" , "answered" , "declined" , "expired" , "cancelled"
"draft" AuthorKind
One of: "user" , "agent" , "system"
"user" BatchDelete
-
idstring|nullThe record's id; or give its
key. -
keyobject|nullThe record's key value.
{
"id": "id_123",
"key": {}
} BatchItem
-
errorBatchItemError|null -
indexinteger (int32)requiredThe item's place in the batch, from 0.
minimum 0 -
keystring|nullThe item's key value as text, for an upsert or a delete by key.
-
record_idstring|null
{
"error": {
"code": "not_found",
"field": "string",
"message": "A short explanation for people",
"reason": "string"
},
"index": 0,
"key": "string",
"outcome": "created",
"record_id": "record_123"
} BatchItemError
-
codestringrequired -
fieldstring|nullThe request field at fault, such as
fields.name. -
messagestringrequired -
reasonstring|nullA stable code for a validation failure, such as
required.
{
"code": "not_found",
"field": "string",
"message": "A short explanation for people",
"reason": "string"
} BatchSync
-
delete_missingbooleanAfter the upserts, deletes the collection's records with a key the batch didn't name, only when every item succeeded and it named at least one. Records without a key are never deleted. Needs the collection's
access.delete.
{
"delete_missing": false
} BatchUpsert
-
fieldsobjectValues by field key, as
PUT …/records/by-key/{value}takes them. -
keyobjectrequiredThe key's value: a text, or a whole number for a
numberkey.
{
"fields": {},
"key": {}
} BindingState
Where a value's binding stands (§7.5).
One of: "current" , "needs_confirmation" , "behind"
"current" CallAppTool
-
inputobjectrequiredThe tool's input, checked against the schema the app declares for it.
{
"input": {}
} Change
Something a new version of a collection file changes that waits for a space admin to apply it: a breaking change, or a change of who may write.
-
codestringrequiredfield_removed,field_type_changed,field_required,limit_tightened,option_removed,index_removed,title_changed,key_changed,comments_removed,access_changed,read_only_changed,source_added,source_changedorsource_removed. -
messagestringrequired -
pathstringrequiredWhere in the new version, such as
fields.stage.options.
{
"code": "not_found",
"message": "A short explanation for people",
"path": "string"
} ChangeSet
-
awaiting_user_idstringrequiredThe person whose turn made the changes, the only one whose Apply and Discard work (D10), or for a schedule's turn the approver it names (§9): everyone else sees "Waiting for …".
-
change_set_idstringrequired -
created_atstring (date-time)required
{
"awaiting_user_id": "awaiting_user_123",
"change_set_id": "change_set_123",
"conflicts": [
{
"base_version_id": "base_version_123",
"current_version_id": "current_version_123",
"file_id": "file_123",
"path": "string"
}
],
"created_at": "2026-01-15T09:30:00Z",
"deletes": [
{
"file_id": "file_123",
"path": "string"
}
]
} Channel
-
archived_atstring (date-time)|nullArchived channels are read-only.
-
created_atstring (date-time)required -
default_agentstring|nullThe agent that answers
@Ivymentions in its threads and the flows that post to it: an agent id,ivyfor the built-in assistant. Agents answer only when mentioned. -
idstringrequired -
is_defaultbooleanrequiredThe space's default channel ("Everyone in this space", §5.1): open, and never archived, deleted or bound.
-
last_activity_atstring (date-time)|nullThe latest message in any of its threads, for its readers; absent before its first thread. Refetch the threads when it moves instead of polling them.
-
latest_messageChannelLatestMessage|null -
memberbooleanrequiredThe caller joined it (open) or belongs to it (invited); only members post in it. Every space member belongs to the default channel. A space admin who isn't a member sees an invited channel's name and member count only.
-
member_countinteger (int32)requiredFor the default channel, the space's member count.
minimum 0 -
open: every space member finds and reads it, and joins it to post and be notified;invited: only its members read it, never admins;platform: bound to Slack or Teams (phase 4). -
mirroredbooleanIts messages are copied to and from the platform channel now, as the mirror itself decides: mirroring is on and the organisation entitled to it, the binding is consented to and confirmed, and neither the channel nor its Teams team is archived.
-
namestringrequired -
notifyNotifyLevel|null -
pinned_file_idsstring[]requiredUp to [20] space files, in pin order. Members see them resolved with
listChannelPins; trashed and deleted ones drop out there. -
platformPlatform|null -
platform_channel_namestring|nullThe name of the Slack or Teams channel a
platformchannel is bound to, without#, for its readers, when the platform gave it. -
purposestringrequiredGiven to agents as context in every thread.
-
run_stateAgentRunState|null -
space_idstringrequired -
updated_atstring (date-time)required -
updatesbooleanrequiredThe space's Updates channel.
-
workspace_idstringrequiredLegacy name of
space_id, sent and accepted until 2027-05-31.
{
"archived_at": "2026-01-15T09:30:00Z",
"created_at": "2026-01-15T09:30:00Z",
"created_by": {
"id": "id_123",
"type": "user"
},
"default_agent": "string",
"id": "id_123",
"is_default": false,
"last_activity_at": "2026-01-15T09:30:00Z",
"latest_message": {
"author": {
"id": "id_123",
"type": "user"
},
"author_name": "Ada Lovelace",
"conversation_id": "conversation_123",
"created_at": "2026-01-15T09:30:00Z",
"text": "Hello, Ivy"
},
"member": false,
"member_count": 0,
"membership": "open",
"mirrored": false,
"name": "Ada Lovelace",
"notify": "all",
"pinned_file_ids": [
"string"
],
"platform": "slack",
"platform_channel_name": "Ada Lovelace",
"purpose": "string",
"run_state": "working",
"space_id": "space_123",
"updated_at": "2026-01-15T09:30:00Z",
"updates": false,
"workspace_id": "workspace_123"
} ChannelLatestMessage
A channel's newest message, to show beside its name.
-
author_namestring|nullA
platform_userauthor's name on Slack or Teams. -
conversation_idstringrequiredThe channel thread it was posted in.
-
created_atstring (date-time)required -
textstringrequiredIts text on one line without formatting, mentions as
@Name, cut at a word to at most 140 characters and "…".
{
"author": {
"id": "id_123",
"type": "user"
},
"author_name": "Ada Lovelace",
"conversation_id": "conversation_123",
"created_at": "2026-01-15T09:30:00Z",
"text": "Hello, Ivy"
} ChannelList
{
"items": [
{
"archived_at": "2026-01-15T09:30:00Z",
"created_at": "2026-01-15T09:30:00Z",
"created_by": {
"id": "id_123",
"type": "user"
},
"default_agent": "string",
"id": "id_123",
"is_default": false,
"last_activity_at": "2026-01-15T09:30:00Z",
"latest_message": {
"author": {},
"author_name": "Ada Lovelace",
"conversation_id": "conversation_123",
"created_at": "2026-01-15T09:30:00Z",
"text": "Hello, Ivy"
},
"member": false,
"member_count": 0,
"membership": "open",
"mirrored": false,
"name": "Ada Lovelace",
"notify": "all",
"pinned_file_ids": [
"string"
],
"platform": "slack",
"platform_channel_name": "Ada Lovelace",
"purpose": "string",
"run_state": "working",
"space_id": "space_123",
"updated_at": "2026-01-15T09:30:00Z",
"updates": false,
"workspace_id": "workspace_123"
}
]
} ChannelMembership
platform is reserved for a channel bound to Slack or Teams (phase 4).
One of: "open" , "invited" , "platform"
"open" ChannelPinList
-
The pinned files the caller can open, in pin order.
{
"items": [
{
"capabilities": {
"download": false,
"move": false,
"rename": false,
"restore_version": false,
"trash": false,
"versions": false,
"write": false
},
"connector": {
"export_formats": [],
"mount_id": "mount_123",
"native_document": false,
"native_type": "string",
"provider": {},
"web_url": "https://example.com"
},
"content_type": "string",
"created_at": "2026-01-15T09:30:00Z",
"created_by": "string",
"current_version": 1,
"current_version_id": "current_version_123",
"dimensions": {
"height": 0,
"width": 0
},
"id": "id_123",
"name": "Ada Lovelace",
"parent_id": "parent_123",
"path": [
{
"id": "id_123",
"name": "Ada Lovelace"
}
],
"revision": 1,
"scan_status": "scanning",
"served_version": 1,
"served_version_id": "served_version_123",
"size_bytes": 0,
"source": "ivy",
"space_id": "space_123",
"status": "active",
"updated_at": "2026-01-15T09:30:00Z",
"updated_by": "string",
"workspace_id": "workspace_123"
}
]
} ChatAttachment
A space file attached to a message, as it was named when it was sent.
-
file_idstringrequired -
namestringrequired
{
"file_id": "file_123",
"name": "Ada Lovelace"
} ChatMessage
-
acting_forActorRef|null -
ask_idstring|nullAn agent's ask (or approval request) and a person's answer to it: read it with
getAsk(§9). -
attachmentsChatAttachment[]The space files the person attached to a user message.
-
authorActorRef|null -
author_namestring|nullA
platform_userauthor's name on Slack or Teams, as the platform gave it. -
branchMessageBranch|null -
created_atstring (date-time)required -
deleted_atstring (date-time)|nullA deleted message keeps its place as a tombstone.
-
edited_atstring (date-time)|null -
feedbackFeedback|null -
file_linksFileRef[]The
ivy-file:links in an assistant message's text that were checked when it was stored: a tool in this chat returned the file, or the person can read it in the chat's space. Otherivy-file:links in the text are not files. -
idstringrequired -
in_reply_tostring|nullOn an agent's reply: the message it answers.
-
mentionsstring[]Participant keys (
user:<id>,agent:<id>) the message mentions, checked by the server. -
modelstring|nullThe model that produced an assistant message.
-
noticeSystemNotice|null -
originMessageOrigin|null -
quoteMessageQuote|null -
reactionsReactionSummary[]Filled when the conversation is read; never stored with the message.
-
read_throughstring|nullOn an agent's reply: the last message its turn read. Messages between that one and the reply were posted while it ran.
-
stopped_byActorRef|null -
thinkingChatThinking[]On an agent's reply, only for the person its turn acted for: the model's reasoning.
{
"acting_for": {
"id": "id_123",
"type": "user"
},
"ask_id": "ask_123",
"attachments": [
{
"file_id": "file_123",
"name": "Ada Lovelace"
}
],
"author": {
"id": "id_123",
"type": "user"
},
"author_name": "Ada Lovelace",
"branch": {
"count": 0,
"index": 0
},
"created_at": "2026-01-15T09:30:00Z",
"deleted_at": "2026-01-15T09:30:00Z",
"edited_at": "2026-01-15T09:30:00Z",
"feedback": "up",
"file_links": [
{
"file_id": "file_123",
"name": "Ada Lovelace",
"path": "string",
"space_id": "space_123",
"version": 1,
"workspace_id": "workspace_123"
}
],
"id": "id_123",
"in_reply_to": "string",
"mentions": [
"string"
],
"model": "string",
"notice": {
"actor": {
"id": "id_123",
"type": {}
},
"channel_id": "channel_123",
"conversation_id": "conversation_123",
"kind": "invited",
"participants": [
"string"
],
"title": "string"
},
"origin": {
"platform_message_id": "platform_message_123",
"source": "web"
},
"parts": [
{
"text": "Hello, Ivy",
"type": "text"
}
],
"quote": {
"author": {
"id": "id_123",
"type": {}
},
"author_name": "Ada Lovelace",
"created_at": "2026-01-15T09:30:00Z",
"deleted": false,
"excerpt": "string",
"message_id": "message_123"
},
"reactions": [
{
"emoji": "string",
"participants": [
"string"
]
}
],
"read_through": "string",
"role": "user",
"stopped_by": {
"id": "id_123",
"type": "user"
},
"thinking": [
{
"before_part": 0,
"duration_ms": 0,
"text": "Hello, Ivy"
}
]
} ChatOrigin
Where a chat started outside the app: a channel thread or the person's direct chat with Ivy.
-
binding_idstring|nullThe channel binding; absent for a direct chat.
-
channel_namestring|null
{
"binding_id": "binding_123",
"channel_name": "Ada Lovelace",
"platform": "slack"
} ChatPart
One of: object | object
{
"text": "Hello, Ivy",
"type": "text"
} ChatRole
One of: "user" , "assistant" , "system"
"user" ChatThinking
A summary of the model's reasoning as the model returned it, not an exact account of it. It can quote what only the person the turn acted for may read.
-
before_partinteger (int32)requiredWhere it sits among the message's
parts: beforeparts[before_part], or after them all when it equals their count.minimum 0 -
duration_msinteger (int64)|nullminimum 0 -
textstringrequired
{
"before_part": 0,
"duration_ms": 0,
"text": "Hello, Ivy"
} CheckFile
A file of the space, or draft text that isn't saved.
-
contentstring|nullDraft text, instead of
file_id; needskindorpath. -
file_idstring|nullChecks the file's readable version, or
version_id. -
kindFileKind|null -
pathstring|nullWhere the draft would be saved, such as
notes/notes.ivy-app.toml: decides the kind whenkindis absent, and an app manifest's id. -
version_idstring|null
{
"content": "string",
"file_id": "file_123",
"kind": "workflow",
"path": "string",
"version_id": "version_123"
} CheckFlow
-
file_idstringrequired -
version_idstringrequired
{
"file_id": "file_123",
"version_id": "version_123"
} CheckIssue
-
codestringrequired -
columninteger|nullminimum 0 -
lineinteger|null1-based; absent for a problem found outside the file, such as a missing reference.
minimum 0 -
messagestringrequired -
pathstringrequiredWhere in the file, such as
steps[2].ask.to; empty for the whole file.
{
"code": "not_found",
"column": 0,
"line": 0,
"message": "A short explanation for people",
"path": "string"
} CheckStatus
One of: "ok" , "error" , "disabled"
"ok" CodeExecutionInfo
Whether code runs and the assistant's sandbox are available, and the plan's limits.
-
availablebooleanrequired -
buildsbooleanrequiredWhether the installation builds organisation environments from Dockerfiles.
-
default_timeout_secondsinteger (int64)requiredminimum 0 -
max_concurrent_runsinteger (int32)requiredminimum 0 -
max_concurrent_sessionsinteger (int32)requiredminimum 0 -
max_timeout_secondsinteger (int64)requiredminimum 0 -
reasonstring|nullWhy it is unavailable, for organisation admins only: the sandbox service's own words, which may name cluster addresses.
-
reason_codeUnavailableReason|null -
The same sizes with the resources a sandbox of each gets.
-
off: whoever operates the installation hasn't switched code execution on;unavailable: it is switched on but can't run now, such as while the sandbox's isolation check fails. -
The sizes the installation offers that the organisation's plan includes, smallest first; a run that names none gets the installation's smallest.
{
"available": false,
"builds": false,
"default_timeout_seconds": 0,
"max_concurrent_runs": 0,
"max_concurrent_sessions": 0,
"max_timeout_seconds": 0,
"reason": "string",
"reason_code": "not_gvisor",
"sizes": [
{
"memory_mib": 0,
"name": "Ada Lovelace",
"space_mib": 0,
"vcpu": 0,
"workspace_mib": 0
}
],
"status": "available",
"tiers": [
"string"
]
} CodeExecutionStatus
off: the installation doesn't run code (SANDBOX_ENABLED is off, or no sandbox service is set up); unavailable: it does, but can't now, such as while the sandbox's isolation check fails.
One of: "available" , "off" , "unavailable"
"available" CodeRun
One code run: its outcome, timings, compute and the file versions it saved. Output text is in the run's log (…/runs/{run_id}/log), never here.
-
billed_cpu_secondsinteger (int64)requiredminimum 0 -
cpu_millisinteger (int64)requiredminimum 0 -
credits_ucrinteger (int64)requiredCredits charged, in millionths of a credit.
-
environmentstringrequiredThe sandbox environment the run ran in.
-
exit_codeinteger (int32)|null -
failure_codestring|nullWhy a run failed without an exit code (e.g.
sandbox_interrupted). -
file_idstringrequired -
file_namestringrequired -
finished_atstring (date-time)|null -
log_availablebooleanrequired -
log_truncatedbooleanrequired -
queued_atstring (date-time)|null -
run_idstringrequired -
runtimestringrequiredThe same as
environment, for clients from before environments. -
started_atstring (date-time)|null -
tierstringrequired -
timeout_secondsinteger (int32)requiredminimum 0 -
version_idstringrequired -
wall_millisinteger (int64)requiredminimum 0
{
"billed_cpu_seconds": 0,
"cpu_millis": 0,
"credits_ucr": 1,
"environment": "string",
"exit_code": 1,
"failure_code": "string",
"file_id": "file_123",
"file_name": "Ada Lovelace",
"finished_at": "2026-01-15T09:30:00Z",
"log_available": false,
"log_truncated": false,
"outputs": [
{
"file_id": "file_123",
"media_type": "string",
"path": "string",
"size": 0,
"version_id": "version_123"
}
],
"queued_at": "2026-01-15T09:30:00Z",
"run_id": "run_123",
"runtime": "string",
"source": "direct",
"started_at": "2026-01-15T09:30:00Z",
"status": "queued",
"tier": "string",
"timeout_seconds": 0,
"version_id": "version_123",
"wall_millis": 0
} CodeRunList
{
"items": [
{
"billed_cpu_seconds": 0,
"cpu_millis": 0,
"credits_ucr": 1,
"environment": "string",
"exit_code": 1,
"failure_code": "string",
"file_id": "file_123",
"file_name": "Ada Lovelace",
"finished_at": "2026-01-15T09:30:00Z",
"log_available": false,
"log_truncated": false,
"outputs": [
{
"file_id": "file_123",
"media_type": "string",
"path": "string",
"size": 0,
"version_id": "version_123"
}
],
"queued_at": "2026-01-15T09:30:00Z",
"run_id": "run_123",
"runtime": "string",
"source": "direct",
"started_at": "2026-01-15T09:30:00Z",
"status": "queued",
"tier": "string",
"timeout_seconds": 0,
"version_id": "version_123",
"wall_millis": 0
}
]
} CollectionDetail
-
pending_schemaobject|nullThe version waiting for a space admin, as its file has it.
-
schemaobjectrequiredThe declaration it serves, as a collection file has it; a built-in collection's merged with the space's extension.
{
"collection": {
"builtin": false,
"detached_at": "2026-01-15T09:30:00Z",
"file_id": "file_123",
"id": "id_123",
"label": "string",
"name": "Ada Lovelace",
"pending": {
"changes": [
{}
],
"needs_step_up": false,
"since": "2026-01-15T09:30:00Z",
"version_id": "version_123"
},
"record_count": 0,
"schema_hash": "string",
"state": "applied",
"version_id": "version_123",
"views": [
{
"file_id": "file_123",
"title": "string"
}
]
},
"pending_schema": {},
"schema": {}
} CollectionList
-
Built-in collections first, then the space's own by name.
{
"items": [
{
"builtin": false,
"detached_at": "2026-01-15T09:30:00Z",
"file_id": "file_123",
"id": "id_123",
"label": "string",
"name": "Ada Lovelace",
"pending": {
"changes": [],
"needs_step_up": false,
"since": "2026-01-15T09:30:00Z",
"version_id": "version_123"
},
"record_count": 0,
"schema_hash": "string",
"state": "applied",
"version_id": "version_123",
"views": [
{
"file_id": "file_123",
"title": "string"
}
]
}
]
} CollectionState
One of: "applied" , "needs_confirmation" , "detached"
"applied" CollectionSummary
-
builtinbooleanrequiredShips with Ivy;
file_idis then the space's extension file, if it has one. -
detached_atstring (date-time)|null -
file_idstring|null -
idstringrequired -
labelstringrequired -
namestringrequired -
pendingPendingChange|null -
record_countinteger (int64)requiredHow many records it holds, as last counted.
minimum 0 -
schema_hashstringrequiredEvery record write names the hash of the declaration it was checked against.
-
version_idstring|nullThe file version it serves; absent for a built-in collection the space doesn't extend.
-
The space's boards over it, by title.
{
"builtin": false,
"detached_at": "2026-01-15T09:30:00Z",
"file_id": "file_123",
"id": "id_123",
"label": "string",
"name": "Ada Lovelace",
"pending": {
"changes": [
{
"code": "not_found",
"message": "A short explanation for people",
"path": "string"
}
],
"needs_step_up": false,
"since": "2026-01-15T09:30:00Z",
"version_id": "version_123"
},
"record_count": 0,
"schema_hash": "string",
"state": "applied",
"version_id": "version_123",
"views": [
{
"file_id": "file_123",
"title": "string"
}
]
} ComputeTier
A sandbox size the installation declares, such as s, m, l or xl.
string
"string" ConflictChoice
One of: "keep_mine" , "keep_theirs" , "save_copy"
"keep_mine" ConnectionList
GET …/connections.
-
can_managebooleanrequiredThe caller may set, rotate, remove and confirm values: a person who is a space admin (step-up is still asked for when they do).
-
fileConnectionsFileState|null
{
"can_manage": false,
"connections": [
{
"auth": "string",
"binding": "current",
"bound_version_id": "bound_version_123",
"declared": false,
"description": "string",
"direct_runs": false,
"github_app": {
"app_id": 0,
"installation_id": 0,
"permissions": {},
"repositories": [],
"server": "string"
},
"hosts": [
"string"
],
"last_used_at": "2026-01-15T09:30:00Z",
"name": "Ada Lovelace",
"rotated_at": "2026-01-15T09:30:00Z",
"set_at": "2026-01-15T09:30:00Z",
"token_host": "string",
"value_set": false
}
],
"file": {
"errors": [
{
"code": "not_found",
"column": 0,
"line": 0,
"message": "A short explanation for people",
"path": "string"
}
],
"file_id": "file_123",
"version_id": "version_123"
}
} ConnectionsFileState
The space's connections.ivy.yaml, as of its current version.
-
file_idstringrequired -
version_idstringrequired
{
"errors": [
{
"code": "not_found",
"column": 0,
"line": 0,
"message": "A short explanation for people",
"path": "string"
}
],
"file_id": "file_123",
"version_id": "version_123"
} ConnectionSummary
One declared connection or stored value; never the value itself.
-
authstring|nullbearer,basic,header,query,oauth2_client_credentialsorgithub_app; absent when it is no longer declared. -
bindingBindingState|null -
bound_version_idstring|null -
declaredbooleanrequired -
descriptionstring|null -
direct_runsbooleanrequired -
github_appGithubApp|null -
hostsstring[]required -
last_used_atstring (date-time)|null -
namestringrequired -
rotated_atstring (date-time)|null -
set_atstring (date-time)|null -
token_hoststring|nullThe host of the token endpoint, for
oauth2_client_credentials: outside reach likehosts, but never callable by code. -
value_setbooleanrequired
{
"auth": "string",
"binding": "current",
"bound_version_id": "bound_version_123",
"declared": false,
"description": "string",
"direct_runs": false,
"github_app": {
"app_id": 0,
"installation_id": 0,
"permissions": {},
"repositories": [
"string"
],
"server": "string"
},
"hosts": [
"string"
],
"last_used_at": "2026-01-15T09:30:00Z",
"name": "Ada Lovelace",
"rotated_at": "2026-01-15T09:30:00Z",
"set_at": "2026-01-15T09:30:00Z",
"token_host": "string",
"value_set": false
} ConnectorAccess
One of: "connected" , "provider_disabled" , "no_service_access"
"connected" ConnectorFolderState
Whether the space can see a mounted drive's contents.
-
mount_idstringrequired -
web_urlstring|null
{
"access": "connected",
"mount_id": "mount_123",
"provider": "microsoft",
"web_url": "https://example.com"
} Conversation
-
agent_idstring|nullThe chat's
WorkspaceAgent.id; absent for the built-in assistant. -
answer_modeAnswerMode|null -
archived_atstring (date-time)|nullSince when the conversation is out of the caller's own lists (
archiveConversation). Someone posting brings it back, as does an agent answering or mentioning the caller. -
assigneestring|nullA participant key.
-
can_postboolean|nullWhether the caller may post here: they take part, or may join by posting.
falsefor a channel thread whose open channel they haven't joined (§5), or whose channel is archived. -
channel_idstring|nullSet on a channel thread: the channel it belongs to.
-
chat_originChatOrigin|null -
created_atstring (date-time)required -
created_byActorRef|null -
idstringrequired -
kindConversationKind|null -
last_message_atstring (date-time)|null -
last_readinteger (int64)|nullThe caller's read position: the index of the last message they read (
PATCHwithlast_readmoves it). -
last_reply_atstring (date-time)|nullWhen the latest reply counted in
reply_countwas written; absent without one. -
last_reply_byActorRef|null -
latest_repliesReplyPreview[]|nullOnly in a channel's thread list (
view=channel): its latest replies, at most 3, oldest first, as its post shows them under itself. -
mentionedboolean|nullA message mentions the caller since they last marked the conversation read.
-
notifyNotifyLevel|null -
participant_keysstring[]|nullThe active participants other than the caller: whom a list row names. Those who wrote in it come first, the latest writer first; those who never did follow in the order they joined.
-
peer_keystring|nullIn a
directconversation, the other participant's key (user:<id>oragent:<id>). Conversations with the same peer stay separate. -
pinnedbooleanPinned chats come first in
listConversations. With several people, each pins for themself. -
postReplyPreview|null -
reply_countinteger (int32)|nullThe messages after the conversation's first one, by people and agents alike; system notices and deleted messages don't count. Absent on a conversation no message was written to since replies were counted, until it is next listed as a channel thread or written to.
minimum 0 -
run_stateAgentRunState|null -
space_idstringrequired -
statusConversationStatus|null -
titlestringrequired -
unread_countinteger (int32)|nullMessages after the caller's read position.
minimum 0 -
updated_atstring (date-time)required -
workspace_idstringrequiredLegacy name of
space_id, sent and accepted until 2027-05-31.
{
"agent_id": "agent_123",
"answer_mode": "every_message",
"archived_at": "2026-01-15T09:30:00Z",
"assignee": "string",
"can_post": false,
"channel_id": "channel_123",
"chat_origin": {
"binding_id": "binding_123",
"channel_name": "Ada Lovelace",
"platform": "slack"
},
"created_at": "2026-01-15T09:30:00Z",
"created_by": {
"id": "id_123",
"type": "user"
},
"id": "id_123",
"kind": "direct",
"last_message_at": "2026-01-15T09:30:00Z",
"last_read": 1,
"last_reply_at": "2026-01-15T09:30:00Z",
"last_reply_by": {
"id": "id_123",
"type": "user"
},
"latest_replies": [
{
"author": {
"id": "id_123",
"type": {}
},
"author_name": "Ada Lovelace",
"author_platform": "slack",
"created_at": "2026-01-15T09:30:00Z",
"excerpt": "string",
"mentions": [
"string"
],
"message_id": "message_123",
"text": "Hello, Ivy",
"text_cut": false
}
],
"mentioned": false,
"notify": "all",
"participant_keys": [
"string"
],
"peer_key": "string",
"pinned": false,
"post": {
"author": {
"id": "id_123",
"type": {}
},
"author_name": "Ada Lovelace",
"author_platform": "slack",
"created_at": "2026-01-15T09:30:00Z",
"excerpt": "string",
"mentions": [
"string"
],
"message_id": "message_123",
"text": "Hello, Ivy",
"text_cut": false
},
"reply_count": 0,
"run_state": "working",
"space_id": "space_123",
"status": "open",
"title": "string",
"unread_count": 0,
"updated_at": "2026-01-15T09:30:00Z",
"visibility": "private",
"workspace_id": "workspace_123"
} ConversationDetail
-
active_run_idstring|nullA reply still being written: follow it with
GET …/runs/{run_id}/events. -
mirrorConversationMirror|null -
queueQueueStateThe messages waiting for the current reply to finish.
-
stream_seqinteger (int64)|nullWhile conversations with people are on: the live stream sequence this state reflects (
GET …/eventswithLast-Event-IDcontinues from it).minimum 0
{
"active_run_id": "active_run_123",
"conversation": {
"agent_id": "agent_123",
"answer_mode": "every_message",
"archived_at": "2026-01-15T09:30:00Z",
"assignee": "string",
"can_post": false,
"channel_id": "channel_123",
"chat_origin": {
"binding_id": "binding_123",
"channel_name": "Ada Lovelace",
"platform": "slack"
},
"created_at": "2026-01-15T09:30:00Z",
"created_by": {
"id": "id_123",
"type": "user"
},
"id": "id_123",
"kind": "direct",
"last_message_at": "2026-01-15T09:30:00Z",
"last_read": 1,
"last_reply_at": "2026-01-15T09:30:00Z",
"last_reply_by": {
"id": "id_123",
"type": "user"
},
"latest_replies": [
{
"author": {},
"author_name": "Ada Lovelace",
"author_platform": {},
"created_at": "2026-01-15T09:30:00Z",
"excerpt": "string",
"mentions": [
"string"
],
"message_id": "message_123",
"text": "Hello, Ivy",
"text_cut": false
}
],
"mentioned": false,
"notify": "all",
"participant_keys": [
"string"
],
"peer_key": "string",
"pinned": false,
"post": {
"author": {},
"author_name": "Ada Lovelace",
"author_platform": {},
"created_at": "2026-01-15T09:30:00Z",
"excerpt": "string",
"mentions": [
"string"
],
"message_id": "message_123",
"text": "Hello, Ivy",
"text_cut": false
},
"reply_count": 0,
"run_state": "working",
"space_id": "space_123",
"status": "open",
"title": "string",
"unread_count": 0,
"updated_at": "2026-01-15T09:30:00Z",
"visibility": "private",
"workspace_id": "workspace_123"
},
"messages": [
{
"acting_for": {
"id": "id_123",
"type": {}
},
"ask_id": "ask_123",
"attachments": [
{
"file_id": "file_123",
"name": "Ada Lovelace"
}
],
"author": {
"id": "id_123",
"type": {}
},
"author_name": "Ada Lovelace",
"branch": {
"count": 0,
"index": 0
},
"created_at": "2026-01-15T09:30:00Z",
"deleted_at": "2026-01-15T09:30:00Z",
"edited_at": "2026-01-15T09:30:00Z",
"feedback": "up",
"file_links": [
{
"file_id": "file_123",
"name": "Ada Lovelace",
"path": "string",
"space_id": "space_123",
"version": 1,
"workspace_id": "workspace_123"
}
],
"id": "id_123",
"in_reply_to": "string",
"mentions": [
"string"
],
"model": "string",
"notice": {
"actor": {},
"channel_id": "channel_123",
"conversation_id": "conversation_123",
"kind": {},
"participants": [],
"title": "string"
},
"origin": {
"platform_message_id": "platform_message_123",
"source": {}
},
"parts": [
{
"text": "Hello, Ivy",
"type": "text"
}
],
"quote": {
"author": {},
"author_name": "Ada Lovelace",
"created_at": "2026-01-15T09:30:00Z",
"deleted": false,
"excerpt": "string",
"message_id": "message_123"
},
"reactions": [
{
"emoji": "string",
"participants": []
}
],
"read_through": "string",
"role": "user",
"stopped_by": {
"id": "id_123",
"type": {}
},
"thinking": [
{
"before_part": 0,
"duration_ms": 0,
"text": "Hello, Ivy"
}
]
}
],
"mirror": {
"channel_name": "Ada Lovelace",
"hidden_external_messages": 0,
"platform": "slack"
},
"queue": {
"items": [
{
"agent_id": "agent_123",
"attachments": [
{}
],
"author_id": "author_123",
"conversation_id": "conversation_123",
"created_at": "2026-01-15T09:30:00Z",
"follow_up_of": "string",
"id": "id_123",
"mentions": [
"string"
],
"model": "string",
"position": 1,
"quote": {},
"resumes_ask_id": "resumes_ask_123",
"source": "web",
"text": "Hello, Ivy",
"updated_at": "2026-01-15T09:30:00Z",
"version": 1
}
],
"paused": false,
"paused_reason": "failed"
},
"stream_seq": 0
} ConversationKind
What the UI calls a conversation; derived from its visibility and participants, never stored as the truth. shared is deprecated: it names a shared thread not yet moved into a channel.
One of: "direct" , "group" , "shared" , "channel"
"direct" ConversationList
-
next_cursorstring|null
{
"items": [
{
"agent_id": "agent_123",
"answer_mode": "every_message",
"archived_at": "2026-01-15T09:30:00Z",
"assignee": "string",
"can_post": false,
"channel_id": "channel_123",
"chat_origin": {
"binding_id": "binding_123",
"channel_name": "Ada Lovelace",
"platform": {}
},
"created_at": "2026-01-15T09:30:00Z",
"created_by": {
"id": "id_123",
"type": {}
},
"id": "id_123",
"kind": "direct",
"last_message_at": "2026-01-15T09:30:00Z",
"last_read": 1,
"last_reply_at": "2026-01-15T09:30:00Z",
"last_reply_by": {
"id": "id_123",
"type": {}
},
"latest_replies": [
{
"author": {},
"author_name": "Ada Lovelace",
"author_platform": {},
"created_at": "2026-01-15T09:30:00Z",
"excerpt": "string",
"mentions": [],
"message_id": "message_123",
"text": "Hello, Ivy",
"text_cut": false
}
],
"mentioned": false,
"notify": "all",
"participant_keys": [
"string"
],
"peer_key": "string",
"pinned": false,
"post": {
"author": {},
"author_name": "Ada Lovelace",
"author_platform": {},
"created_at": "2026-01-15T09:30:00Z",
"excerpt": "string",
"mentions": [],
"message_id": "message_123",
"text": "Hello, Ivy",
"text_cut": false
},
"reply_count": 0,
"run_state": "working",
"space_id": "space_123",
"status": "open",
"title": "string",
"unread_count": 0,
"updated_at": "2026-01-15T09:30:00Z",
"visibility": "private",
"workspace_id": "workspace_123"
}
],
"next_cursor": "string"
} ConversationMirror
Where a mirrored thread also lives (docs/product/conversations-design.md §10.3).
-
channel_namestring|nullThe platform channel's name, without
#. -
hidden_external_messagesinteger (int32)requiredMessages from people who aren't linked members of this space: never stored, only counted.
minimum 0
{
"channel_name": "Ada Lovelace",
"hidden_external_messages": 0,
"platform": "slack"
} ConversationStatus
One of: "open" , "waiting" , "done"
"open" ConversationStreamEvent
An event of streamConversationEvents: ids, and for a message the message as it is when delivered.
-
conversation_idstringrequired -
messageChatMessage|null -
message_idstring|null -
run_idstring|null
{
"conversation_id": "conversation_123",
"kind": "message_posted",
"message": {
"acting_for": {
"id": "id_123",
"type": {}
},
"ask_id": "ask_123",
"attachments": [
{
"file_id": "file_123",
"name": "Ada Lovelace"
}
],
"author": {
"id": "id_123",
"type": {}
},
"author_name": "Ada Lovelace",
"branch": {
"count": 0,
"index": 0
},
"created_at": "2026-01-15T09:30:00Z",
"deleted_at": "2026-01-15T09:30:00Z",
"edited_at": "2026-01-15T09:30:00Z",
"feedback": "up",
"file_links": [
{
"file_id": "file_123",
"name": "Ada Lovelace",
"path": "string",
"space_id": "space_123",
"version": 1,
"workspace_id": "workspace_123"
}
],
"id": "id_123",
"in_reply_to": "string",
"mentions": [
"string"
],
"model": "string",
"notice": {
"actor": {},
"channel_id": "channel_123",
"conversation_id": "conversation_123",
"kind": {},
"participants": [],
"title": "string"
},
"origin": {
"platform_message_id": "platform_message_123",
"source": {}
},
"parts": [
{
"text": "Hello, Ivy",
"type": "text"
}
],
"quote": {
"author": {},
"author_name": "Ada Lovelace",
"created_at": "2026-01-15T09:30:00Z",
"deleted": false,
"excerpt": "string",
"message_id": "message_123"
},
"reactions": [
{
"emoji": "string",
"participants": []
}
],
"read_through": "string",
"role": "user",
"stopped_by": {
"id": "id_123",
"type": {}
},
"thinking": [
{
"before_part": 0,
"duration_ms": 0,
"text": "Hello, Ivy"
}
]
},
"message_id": "message_123",
"run_id": "run_123"
} ConversationView
Which chats listConversations returns.
One of: "mine" , "direct" , "groups" , "shared" , "assigned" , "channel" , "private"
"mine" ConversationVisibility
Who reads a chat: private its participants, channel the channel's readers. workspace (a shared thread, read by every space member) is deprecated: a request may still send it, meaning the space's default channel, and shared threads move into that channel.
One of: "private" , "workspace" , "channel"
"private" CreateChannel
-
default_agentstring|nullAn agent active in the space (
ivyfor the built-in assistant). -
membersstring[]No longer taken: everyone in the space finds the channel and joins it themselves. Must be empty.
-
membershipChannelMembership|null -
namestringrequired1-80 characters, unique in the space (ignoring case).
-
purposestring|nullAt most 1,000 characters.
{
"default_agent": "string",
"members": [
"string"
],
"membership": "open",
"name": "Ada Lovelace",
"purpose": "string"
} CreateConversation
Without a body, or without participants, a chat of the caller with the space's built-in assistant, as before.
-
channel_idstring|nullStarts a thread in this channel of the space (while channels are on): its visibility is
channel, its readers the channel's, and agents answer it only when mentioned, except an agentparticipantsnames, which answers its first message.participantsmay also name people who read the channel. -
participantsstring[]The others:
user:<id>for space members,agent:<id>for agents active in the space (agent:ivyfor the built-in assistant). The caller is always a participant. -
titlestring|null1-200 characters; without it, an agent names the chat, and a conversation without one takes the first line of its first message.
-
visibilityConversationVisibility|null
{
"channel_id": "channel_123",
"participants": [
"string"
],
"title": "string",
"visibility": "private"
} CreateFolder
-
namestringrequired1-255 characters.
-
parent_idstring|nullDefaults to
root.
{
"name": "Ada Lovelace",
"parent_id": "parent_123"
} CreateRecord
-
fieldsobjectrequiredValues by field key; fields left out get their
default. -
placeRecordPlace|null
{
"fields": {},
"place": {
"column": "string",
"view": "string"
}
} CreateRecordComment
-
bodystringrequiredMarkdown, 1 to 8,000 characters.
{
"body": "string"
} CredentialState
Whether an agent can use the credential its configuration names.
One of: "ready" , "outside_eu" , "not_granted" , "wrong_provider"
"ready" DecisionOption
-
descriptionstring|nullWhat the option stands for, when its name doesn't say.
-
namestringrequiredWhat the answer names when it chooses this option; unique within the question.
{
"description": "string",
"name": "Ada Lovelace"
} DecisionRequest
-
1 to 16 questions, answered together against the same state.
-
statestringrequiredWhat the questions are about: a message, a document, a situation.
{
"questions": [
{
"id": "id_123",
"kind": "boolean",
"options": [
{
"description": "string",
"name": "Ada Lovelace"
}
],
"prompt": "string",
"scale": [
"string"
]
}
],
"state": "string"
} Decisions
-
One per question, in the request's order.
-
modelstringrequiredThe model version that answered.
{
"answers": [
{
"confidence": 1,
"id": "id_123",
"kind": "boolean",
"probabilities": {},
"probability": 1,
"value": false
}
],
"model": "string"
} DecisionValue
One of: boolean | string | number (double)
false DiffHunk
-
new_linesinteger (int32)requiredminimum 0 -
new_startinteger (int32)requiredminimum 0 -
old_linesinteger (int32)requiredminimum 0 -
old_startinteger (int32)requiredFrom 1.
minimum 0
{
"lines": [
{
"kind": "context",
"text": "Hello, Ivy"
}
],
"new_lines": 0,
"new_start": 0,
"old_lines": 0,
"old_start": 0
} DiffLine
-
textstringrequiredWithout its line ending.
{
"kind": "context",
"text": "Hello, Ivy"
} DiffLineKind
One of: "context" , "added" , "removed"
"context" Disposition
One of: "attachment" , "inline"
"attachment" DriveKind
One of: "onedrive" , "sharepoint_library" , "my_drive" , "shared_drive"
"onedrive" EditMessage
-
attachmentsstring[] -
client_message_idstring|nullAs in
SendMessage: a repeated id follows the run the first request started. -
modelstring|null -
quoteQuoteInput|null -
textstringrequired
{
"attachments": [
"string"
],
"client_message_id": "client_message_123",
"model": "string",
"quote": {
"message_id": "message_123"
},
"text": "Hello, Ivy"
} Entry
A folder or file in a listing.
-
availableboolean|nullFiles only: a clean version can be opened.
-
connectorEntryConnector|null -
content_typestring|nullFiles only; sniffed from the content.
-
current_versioninteger (int32)|null -
idstringrequired -
namestringrequired -
parent_idstringrequiredrootat the top of the space. -
scan_statusScanStatus|null -
size_bytesinteger (int64)|nullFiles only.
minimum 0 -
updated_atstring (date-time)required -
updated_bystring|null
{
"available": false,
"connector": {
"export_formats": [
"string"
],
"mount_id": "mount_123",
"native_document": false,
"native_type": "string",
"provider": "microsoft",
"web_url": "https://example.com"
},
"content_type": "string",
"current_version": 1,
"id": "id_123",
"kind": "folder",
"name": "Ada Lovelace",
"parent_id": "parent_123",
"scan_status": "scanning",
"size_bytes": 0,
"updated_at": "2026-01-15T09:30:00Z",
"updated_by": "string"
} EntryCapabilities
What the caller may do with an entry, after their space role and the source's capabilities.
-
downloadbooleanrequired -
movebooleanrequired -
renamebooleanrequired -
restore_versionbooleanrequired -
trashbooleanrequired -
versionsbooleanrequired -
writebooleanrequired
{
"download": false,
"move": false,
"rename": false,
"restore_version": false,
"trash": false,
"versions": false,
"write": false
} EntryConnector
An entry of a connected drive.
-
export_formatsstring[]?format=valuesGET …/contentaccepts for a native document. -
mount_idstringrequired -
native_documentbooleanrequiredA Google Doc, Sheet, Slides or Drawing: opens as an export, edited at Google.
-
native_typestring|nullThe native document's own type (
application/vnd.google-apps.document, …);content_typeis its view export. -
web_urlstring|nullOpens the item at the provider.
{
"export_formats": [
"string"
],
"mount_id": "mount_123",
"native_document": false,
"native_type": "string",
"provider": "microsoft",
"web_url": "https://example.com"
} EntryKind
One of: "folder" , "file"
"folder" EntryList
-
connectorConnectorFolderState|null -
next_cursorstring|null -
parentFolder|null -
From the root to the listed folder.
{
"connector": {
"access": "connected",
"mount_id": "mount_123",
"provider": "microsoft",
"web_url": "https://example.com"
},
"items": [
{
"available": false,
"connector": {
"export_formats": [],
"mount_id": "mount_123",
"native_document": false,
"native_type": "string",
"provider": {},
"web_url": "https://example.com"
},
"content_type": "string",
"current_version": 1,
"id": "id_123",
"kind": "folder",
"name": "Ada Lovelace",
"parent_id": "parent_123",
"scan_status": "scanning",
"size_bytes": 0,
"updated_at": "2026-01-15T09:30:00Z",
"updated_by": "string"
}
],
"next_cursor": "string",
"parent": {
"capabilities": {
"download": false,
"move": false,
"rename": false,
"restore_version": false,
"trash": false,
"versions": false,
"write": false
},
"connector": {
"export_formats": [],
"mount_id": "mount_123",
"native_document": false,
"native_type": "string",
"provider": {},
"web_url": "https://example.com"
},
"created_at": "2026-01-15T09:30:00Z",
"created_by": "string",
"id": "id_123",
"name": "Ada Lovelace",
"parent_id": "parent_123",
"path": [
{
"id": "id_123",
"name": "Ada Lovelace"
}
],
"revision": 1,
"source": "ivy",
"space_id": "space_123",
"updated_at": "2026-01-15T09:30:00Z",
"workspace_id": "workspace_123"
},
"path": [
{
"id": "id_123",
"name": "Ada Lovelace"
}
]
} EntrySearchResult
any
{
"available": false,
"connector": {
"export_formats": [
"string"
],
"mount_id": "mount_123",
"native_document": false,
"native_type": "string",
"provider": "microsoft",
"web_url": "https://example.com"
},
"content_type": "string",
"current_version": 1,
"id": "id_123",
"kind": "folder",
"name": "Ada Lovelace",
"parent_id": "parent_123",
"scan_status": "scanning",
"size_bytes": 0,
"updated_at": "2026-01-15T09:30:00Z",
"updated_by": "string",
"path": [
{
"id": "id_123",
"name": "Ada Lovelace"
}
]
} EntrySearchResults
-
next_cursorstring|null
{
"items": [
{
"available": false,
"connector": {},
"content_type": "string",
"current_version": 1,
"id": "id_123",
"kind": "folder",
"name": "Ada Lovelace",
"parent_id": "parent_123",
"scan_status": {},
"size_bytes": 0,
"updated_at": "2026-01-15T09:30:00Z",
"updated_by": "string",
"path": [
{
"id": "id_123",
"name": "Ada Lovelace"
}
]
}
],
"next_cursor": "string"
} EntrySort
One of: "name" , "updated_at" , "size"
"name" EntrySource
Where an entry's content lives: Ivy storage, or a connected drive (see connector).
One of: "ivy" , "connector"
"ivy" ErrorBody
{
"error": {
"code": "not_found",
"details": {},
"field": "string",
"message": "A short explanation for people",
"reason": "string"
}
} ErrorDetail
-
codestringrequired -
detailsobject|nullConflict context on some
409/412responses:existing_id,current,current_version_id; on avalidation_failedwith areason, its parameters (min,max,value). -
fieldstring|nullOn a
validation_failed: the request field the error is about, when it is about one. -
messagestringrequired -
reasonstring|nullOn a
validation_failed: a stable code for what is wrong with the field (required,too_long,out_of_range,not_a_domain, …). Clients translate it;messageis English for logs and API consumers.
{
"code": "not_found",
"details": {},
"field": "string",
"message": "A short explanation for people",
"reason": "string"
} Feedback
One of: "up" , "down"
"up" File
-
connectorEntryConnector|null -
content_typestringrequiredOf the current version; sniffed from the content.
-
created_atstring (date-time)required -
created_bystringrequired -
current_versioninteger (int32)requiredThe newest version, whatever its scan status.
-
current_version_idstringrequiredThe content ETag of the current version (
If-MatchofPUT …/content). -
dimensionsImageDimensions|null -
idstringrequired -
namestringrequired -
parent_idstringrequired -
revisioninteger (int64)requiredThe JSON ETag is
"r{revision}". -
Of the current version.
-
served_versioninteger (int32)|nullThe newest clean version, which downloads serve; absent until one is clean.
-
served_version_idstring|null -
size_bytesinteger (int64)requiredOf the current version.
minimum 0 -
space_idstringrequired -
updated_atstring (date-time)required -
updated_bystringrequired -
workspace_idstringrequiredLegacy name of
space_id, sent and accepted until 2027-05-31.
{
"capabilities": {
"download": false,
"move": false,
"rename": false,
"restore_version": false,
"trash": false,
"versions": false,
"write": false
},
"connector": {
"export_formats": [
"string"
],
"mount_id": "mount_123",
"native_document": false,
"native_type": "string",
"provider": "microsoft",
"web_url": "https://example.com"
},
"content_type": "string",
"created_at": "2026-01-15T09:30:00Z",
"created_by": "string",
"current_version": 1,
"current_version_id": "current_version_123",
"dimensions": {
"height": 0,
"width": 0
},
"id": "id_123",
"name": "Ada Lovelace",
"parent_id": "parent_123",
"path": [
{
"id": "id_123",
"name": "Ada Lovelace"
}
],
"revision": 1,
"scan_status": "scanning",
"served_version": 1,
"served_version_id": "served_version_123",
"size_bytes": 0,
"source": "ivy",
"space_id": "space_123",
"status": "active",
"updated_at": "2026-01-15T09:30:00Z",
"updated_by": "string",
"workspace_id": "workspace_123"
} FileCheck
What the check of one file found (POST …/file-checks, the agents' check_file).
-
file_idstring|nullThe file and version checked; absent for a draft.
-
path_changesstring[]A flow file's version: how it rewires the steps of the version before it, such as "‘Pay’ now runs after ‘Check’ instead of ‘Approve’."
-
validbooleanrequiredNo errors; warnings don't count.
-
version_idstring|null
{
"file_id": "file_123",
"kind": "workflow",
"path_changes": [
"string"
],
"problems": [
{
"code": "not_found",
"column": 0,
"hint": "string",
"line": 0,
"message": "A short explanation for people",
"path": "string",
"reference": {
"page": "string",
"section": "string"
},
"severity": "error"
}
],
"reference": {
"page": "string",
"section": "string"
},
"valid": false,
"version_id": "version_123"
} FileHandler
Files an app opens: by extension, else by MIME type (type/subtype, or type/*).
-
defaultbooleanOpens these files before the apps of Ivy Core, unless the space or the person chose another app.
-
editsbooleanrequired -
extensionsstring[] -
mime_typesstring[]
{
"default": false,
"edits": false,
"extensions": [
"string"
],
"mime_types": [
"string"
]
} FileKind
One of: "workflow" , "connections" , "app_manifest" , "dashboard" , "collection" , "board"
"workflow" FileProblem
-
codestringrequired -
columninteger|nullminimum 0 -
hintstring|nullWhat to do about it, in English.
-
lineinteger|null1-based; absent for a problem found outside the file, such as a missing reference.
minimum 0 -
messagestringrequired -
pathstringrequiredWhere in the file, such as
steps[2].ask.to; empty for the whole file. -
referenceHelpReference|null
{
"code": "not_found",
"column": 0,
"hint": "string",
"line": 0,
"message": "A short explanation for people",
"path": "string",
"reference": {
"page": "string",
"section": "string"
},
"severity": "error"
} FileRef
A space file a tool call touched or a reply links to. Replies link one as the Markdown link target ivy-file:<file_id> or ivy-file:<file_id>@<version>.
-
file_idstringrequired -
namestringrequired -
pathstring|nullFrom the top of the space, such as
/Reports/Q3.csv. -
space_idstring|nullThe space the file is in, when it isn't the conversation's: one the conversation's space reaches through connections.
-
versioninteger (int64)|nullThe version read or linked; absent for the current version and for connected-drive files, which have no Ivy versions.
-
workspace_idstring|nullLegacy name of
space_id, sent and accepted until 2027-05-31.
{
"file_id": "file_123",
"name": "Ada Lovelace",
"path": "string",
"space_id": "space_123",
"version": 1,
"workspace_id": "workspace_123"
} FileStatus
One of: "active" , "trashed"
"active" FileTemplate
A kind of file the app adds to the "New file" menu.
-
extensionstringrequired -
iconstringrequiredA Material Symbols name.
-
templatestring|nullA file of the version outside
.ivy/whose bytes are the new file's content; absent for an empty file.
{
"extension": "string",
"icon": "string",
"template": "string"
} FileVersion
-
content_typestringrequired -
created_atstring (date-time)required -
dimensionsImageDimensions|null -
idstringrequiredThe content ETag of this version.
-
restored_frominteger (int32)|nullThe version this one restored.
-
scan_detailstring|nullThe signature or failure reason; only for the uploader and space admins.
-
sha256stringrequired -
size_bytesinteger (int64)requiredminimum 0 -
source_appstring|null -
versioninteger (int32)required
{
"author": {
"display_name": "Ada Lovelace",
"id": "id_123",
"kind": "user"
},
"content_type": "string",
"created_at": "2026-01-15T09:30:00Z",
"dimensions": {
"height": 0,
"width": 0
},
"id": "id_123",
"restored_from": 1,
"scan_detail": "string",
"scan_status": "scanning",
"sha256": "string",
"size_bytes": 0,
"source": "upload",
"source_app": "string",
"version": 1
} FileVersionAuthor
-
display_namestringrequired -
idstringrequired
{
"display_name": "Ada Lovelace",
"id": "id_123",
"kind": "user"
} FileVersionList
-
next_cursorstring|null
{
"items": [
{
"author": {
"display_name": "Ada Lovelace",
"id": "id_123",
"kind": "user"
},
"content_type": "string",
"created_at": "2026-01-15T09:30:00Z",
"dimensions": {
"height": 0,
"width": 0
},
"id": "id_123",
"restored_from": 1,
"scan_detail": "string",
"scan_status": "scanning",
"sha256": "string",
"size_bytes": 0,
"source": "upload",
"source_app": "string",
"version": 1
}
],
"next_cursor": "string"
} FileVersionSource
One of: "upload" , "save" , "restore" , "agent" , "app"
"upload" FlowCheck
The check of one version (POST …/flows/check).
-
file_idstringrequired -
What the space identity can't reach; activation fails until it's empty.
-
needs_adminstring[]requiredWhy activation needs a space admin with step-up; empty when an editor may.
-
outside_reachobject|nullThe outside-reach report (§7.3), when the file parses.
-
path_changesstring[]How this version rewires the steps of the file's version before it, one sentence per step whose arrows in changed, such as "‘Pay’ now runs after ‘Check’ instead of ‘Approve’."
-
pathsStepPaths[]How each step sits among the others, when the file parses (flow-paths-design §5).
-
people_run_onlybooleanrequiredA key can't start it: it asks people or emails them (§8.3).
-
validbooleanrequiredNo errors: an activation may proceed (subject to who activates and the plan cap).
-
version_idstringrequired -
warningsCheckIssue[]What may not be meant but doesn't stop an activation.
{
"errors": [
{
"code": "not_found",
"column": 0,
"line": 0,
"message": "A short explanation for people",
"path": "string"
}
],
"file_id": "file_123",
"identity_cannot_reach": [
{
"access": "string",
"kind": "string",
"reference": "string",
"step": "string"
}
],
"needs_admin": [
"string"
],
"outside_reach": {},
"path_changes": [
"string"
],
"paths": [
{
"after": [
{
"paths": [],
"step_id": "step_123"
}
],
"at_the_same_time": [
"string"
],
"certain": false,
"step_id": "step_123"
}
],
"people_run_only": false,
"valid": false,
"version_id": "version_123",
"warnings": [
{
"code": "not_found",
"column": 0,
"line": 0,
"message": "A short explanation for people",
"path": "string"
}
]
} FlowCodeFile
A runnable code file a quick form can target.
-
file_idstringrequired -
namestringrequired -
pathstringrequiredThe space path a code step's
code:takes,Finance/sync.py.
{
"file_id": "file_123",
"name": "Ada Lovelace",
"path": "string"
} FlowCodeFileList
-
By path.
-
truncatedbooleanrequiredMore files exist than the list holds; type a path instead.
{
"items": [
{
"file_id": "file_123",
"name": "Ada Lovelace",
"path": "string"
}
],
"truncated": false
} FlowItem
A flow file of the space with its activation state and its triggers' status line (§9.2): never run content.
-
active_version_idstring|null -
blocked_by_org_adminbooleanrequired -
current_version_idstringrequired -
file_idstringrequired -
file_namestringrequiredThe file name.
-
followingbooleanrequiredThe caller follows the flow's notices (§8.1).
-
last_runLastRun|null -
namestring|nullThe active (or last active) version's
name. -
next_run_atstring (date-time)|null -
parent_idstringrequired -
paused_reasonPausedReason|null -
trigger_kindsstring[]required
{
"active_version_id": "active_version_123",
"blocked_by_org_admin": false,
"current_version_id": "current_version_123",
"file_id": "file_123",
"file_name": "Ada Lovelace",
"following": false,
"last_run": {
"at": "2026-01-15T09:30:00Z",
"status": "queued"
},
"name": "Ada Lovelace",
"next_run_at": "2026-01-15T09:30:00Z",
"parent_id": "parent_123",
"paused_reason": "manual",
"status": "inactive",
"trigger_kinds": [
"string"
]
} FlowList
{
"items": [
{
"active_version_id": "active_version_123",
"blocked_by_org_admin": false,
"current_version_id": "current_version_123",
"file_id": "file_123",
"file_name": "Ada Lovelace",
"following": false,
"last_run": {
"at": "2026-01-15T09:30:00Z",
"status": {}
},
"name": "Ada Lovelace",
"next_run_at": "2026-01-15T09:30:00Z",
"parent_id": "parent_123",
"paused_reason": "manual",
"status": "inactive",
"trigger_kinds": [
"string"
]
}
]
} FlowRunAccepted
-
existingbooleanA fire for a record and attempt that has its run already answers that run.
-
outcomestringrequiredstarted,queuedorskipped. -
reasonstring|nullWhy it was skipped.
-
run_idstringrequired
{
"existing": false,
"outcome": "string",
"reason": "string",
"run_id": "run_123"
} FlowRunItem
A run in the history: no content.
-
atstring (date-time)required -
credits_ucrinteger (int64)|nullWhat the run has cost so far; absent for a start that never made a run.
-
failure_codestring|null -
finished_atstring (date-time)|null -
run_idstringrequired -
skip_reasonstring|null -
started_bystring|nullWho the run acts as, a participant key (
user:<id>): the person who started a manual run or a test, else the space identity. Absent for a start that never made a run. -
statusstringrequiredqueued,running,waiting,succeeded,failed,skipped,rejected,cancelledorabandoned. -
testbooleanrequired -
trigger_idstring|null -
trigger_kindstringrequiredThe trigger kind, or
test.
{
"at": "2026-01-15T09:30:00Z",
"credits_ucr": 1,
"failure_code": "string",
"finished_at": "2026-01-15T09:30:00Z",
"run_id": "run_123",
"skip_reason": "string",
"started_by": "string",
"status": "string",
"test": false,
"trigger_id": "trigger_123",
"trigger_kind": "string"
} FlowRunList
-
next_beforestring (date-time)|nullPass as
beforefor the next page.
{
"items": [
{
"at": "2026-01-15T09:30:00Z",
"credits_ucr": 1,
"failure_code": "string",
"finished_at": "2026-01-15T09:30:00Z",
"run_id": "run_123",
"skip_reason": "string",
"started_by": "string",
"status": "string",
"test": false,
"trigger_id": "trigger_123",
"trigger_kind": "string"
}
],
"next_before": "2026-01-15T09:30:00Z"
} FlowRunStatus
One of: "queued" , "running" , "waiting" , "succeeded" , "failed" , "cancelled" , "abandoned"
"queued" FlowRunView
A run page (§10). content_visible is false for callers who may see only that it ran, its status and step outcomes.
-
acted_as_personbooleanIt acted as the person in
started_by, rather than as the space's identity. -
can_run_againbooleanrequiredYou may run it again: a record trigger started it, and you're a person.
-
content_visiblebooleanrequired -
conversation_idstring|null -
created_atstring (date-time)required -
credits_ucrinteger (int64)required -
erasedbooleanIts content was removed on erasure (§10).
-
failure_codestring|null -
finished_atstring (date-time)|null -
flow_idstringrequired -
graphbooleanIt advances by the graph of its steps: some run after others, on paths, or at the same time.
-
idstringrequired -
inputobject|null -
reused_fromstring|null"Run from here": the run whose steps before the chosen one this one reuses.
-
space_idstringrequired -
started_bystringrequired -
testbooleanrequired -
trigger_idstring|null -
trigger_kindstringrequired -
version_idstringrequired -
waiting_forRunWaitingAsk[]Whom the run's questions wait on, and since when: ids only, so everyone who sees the run sees them.
-
waiting_onstring[]The steps waiting for a person.
-
workflow_idstringrequiredLegacy name of
flow_id, sent and accepted until 2027-05-31. -
workspace_idstringrequiredLegacy name of
space_id, sent and accepted until 2027-05-31.
{
"acted_as_person": false,
"can_run_again": false,
"content_visible": false,
"conversation_id": "conversation_123",
"created_at": "2026-01-15T09:30:00Z",
"credits_ucr": 1,
"erased": false,
"failure_code": "string",
"finished_at": "2026-01-15T09:30:00Z",
"flow_id": "flow_123",
"graph": false,
"id": "id_123",
"input": {},
"reused_from": "string",
"space_id": "space_123",
"started_by": "string",
"status": "queued",
"steps": [
{
"after": [
"string"
],
"attempt": 1,
"details": {},
"finished_at": "2026-01-15T09:30:00Z",
"item": 0,
"path": "string",
"reused": false,
"reused_from": "string",
"reused_from_started_at": "2026-01-15T09:30:00Z",
"skip_reason": "condition",
"started_at": "2026-01-15T09:30:00Z",
"status": "queued",
"step_id": "step_123"
}
],
"test": false,
"trigger_id": "trigger_123",
"trigger_kind": "string",
"version_id": "version_123",
"waiting_for": [
{
"ask_id": "ask_123",
"people": [
"string"
],
"reminded_at": "2026-01-15T09:30:00Z",
"since": "2026-01-15T09:30:00Z",
"status": "draft",
"step_id": "step_123"
}
],
"waiting_on": [
"string"
],
"workflow_id": "workflow_123",
"workspace_id": "workspace_123"
} FlowState
A flow's activation state after a change.
-
activated_atstring (date-time)|null -
activated_bystring|null -
active_version_idstring|null -
blocked_by_org_adminbooleanrequired -
file_idstringrequired -
generationinteger (int64)|null -
namestring|null -
outside_reachobject|nullThe active generation's outside-reach report (§7.3).
-
space_idstringrequired -
workspace_idstringrequiredLegacy name of
space_id, sent and accepted until 2027-05-31.
{
"activated_at": "2026-01-15T09:30:00Z",
"activated_by": "string",
"active_version_id": "active_version_123",
"blocked_by_org_admin": false,
"file_id": "file_123",
"generation": 1,
"name": "Ada Lovelace",
"outside_reach": {},
"space_id": "space_123",
"status": "inactive",
"triggers": [
{
"generation": 1,
"id": "id_123",
"key": "string",
"kind": "manual",
"last_run": {
"at": "2026-01-15T09:30:00Z",
"status": {}
},
"next_run_at": "2026-01-15T09:30:00Z",
"paused_reason": "manual",
"secrets": [
{
"created_at": "2026-01-15T09:30:00Z",
"expires_at": "2026-01-15T09:30:00Z",
"id": "id_123",
"rotated_from": "string"
}
],
"settings": {
"kind": "manual"
},
"status": "active",
"url": "https://example.com",
"version_id": "version_123"
}
],
"workspace_id": "workspace_123"
} FlowStateKey
-
keystringrequired -
run_idstringrequiredThe run and step that wrote it last.
-
step_idstringrequired -
updated_atstring (date-time)required -
valueanyrequiredAny JSON value.
{
"key": "string",
"run_id": "run_123",
"step_id": "step_123",
"updated_at": "2026-01-15T09:30:00Z",
"value": {}
} FlowStateList
A flow's state (§5.8): what its steps' set_state wrote, kept across versions.
{
"items": [
{
"key": "string",
"run_id": "run_123",
"step_id": "step_123",
"updated_at": "2026-01-15T09:30:00Z",
"value": {}
}
]
} FlowStatus
One of: "inactive" , "active"
"inactive" FlowStepView
-
afterstring[]The steps it runs after, resolved from the default order,
afterandwhen;startis the start of the run. -
attemptinteger (int32)required -
detailsobject|nullThe step's input, output, files and credits; only for callers who may read the run's content.
-
finished_atstring (date-time)|null -
iteminteger (int32)|nullAn item of a step that runs once per item: its index in the list;
step_idis then<step id>~<index>.minimum 0 -
pathstring|nullThe path an ask or a decision took.
-
reusedbooleanCopied from the run this one was started from: it didn't run again.
-
reused_fromstring|nullThe run whose step did the work, when
reused. -
reused_from_started_atstring (date-time)|nullWhen the run in
reused_fromstarted. -
skip_reasonSkipReason|null -
started_atstring (date-time)|null -
step_idstringrequired
{
"after": [
"string"
],
"attempt": 1,
"details": {},
"finished_at": "2026-01-15T09:30:00Z",
"item": 0,
"path": "string",
"reused": false,
"reused_from": "string",
"reused_from_started_at": "2026-01-15T09:30:00Z",
"skip_reason": "condition",
"started_at": "2026-01-15T09:30:00Z",
"status": "queued",
"step_id": "step_123"
} FlowTemplate
-
descriptionstring|null -
idstringrequired<package id>/<path in the package without .ivy-flow.yaml or .ivy-workflow.yaml>. -
namestringrequiredThe file's
name. -
sourcestringrequiredThe file's YAML, copied as it is.
{
"description": "string",
"id": "id_123",
"name": "Ada Lovelace",
"source": "string"
} FlowTemplateList
-
By name.
{
"items": [
{
"description": "string",
"id": "id_123",
"name": "Ada Lovelace",
"source": "string"
}
]
} FlowTrigger
One trigger row of a flow (§12): never a secret's value.
-
generationinteger (int64)required -
idstringrequired -
keystringrequiredThe entry of the file's
on:it stands for. -
last_runLastRun|null -
next_run_atstring (date-time)|null -
paused_reasonPausedReason|null -
secretsTriggerSecret[]A webhook trigger's live signing secrets: ids and dates.
-
urlstring|nullA webhook trigger's delivery URL.
-
version_idstringrequired
{
"generation": 1,
"id": "id_123",
"key": "string",
"kind": "manual",
"last_run": {
"at": "2026-01-15T09:30:00Z",
"status": "queued"
},
"next_run_at": "2026-01-15T09:30:00Z",
"paused_reason": "manual",
"secrets": [
{
"created_at": "2026-01-15T09:30:00Z",
"expires_at": "2026-01-15T09:30:00Z",
"id": "id_123",
"rotated_from": "string"
}
],
"settings": {
"kind": "manual"
},
"status": "active",
"url": "https://example.com",
"version_id": "version_123"
} FlowTriggerList
{
"items": [
{
"generation": 1,
"id": "id_123",
"key": "string",
"kind": "manual",
"last_run": {
"at": "2026-01-15T09:30:00Z",
"status": {}
},
"next_run_at": "2026-01-15T09:30:00Z",
"paused_reason": "manual",
"secrets": [
{
"created_at": "2026-01-15T09:30:00Z",
"expires_at": "2026-01-15T09:30:00Z",
"id": "id_123",
"rotated_from": "string"
}
],
"settings": {
"kind": "manual"
},
"status": "active",
"url": "https://example.com",
"version_id": "version_123"
}
]
} Folder
-
connectorEntryConnector|null -
created_atstring (date-time)required -
created_bystringrequired -
idstringrequired -
namestringrequired -
parent_idstringrequired -
revisioninteger (int64)required -
space_idstringrequired -
updated_atstring (date-time)required -
workspace_idstringrequiredLegacy name of
space_id, sent and accepted until 2027-05-31.
{
"capabilities": {
"download": false,
"move": false,
"rename": false,
"restore_version": false,
"trash": false,
"versions": false,
"write": false
},
"connector": {
"export_formats": [
"string"
],
"mount_id": "mount_123",
"native_document": false,
"native_type": "string",
"provider": "microsoft",
"web_url": "https://example.com"
},
"created_at": "2026-01-15T09:30:00Z",
"created_by": "string",
"id": "id_123",
"name": "Ada Lovelace",
"parent_id": "parent_123",
"path": [
{
"id": "id_123",
"name": "Ada Lovelace"
}
],
"revision": 1,
"source": "ivy",
"space_id": "space_123",
"updated_at": "2026-01-15T09:30:00Z",
"workspace_id": "workspace_123"
} GeneratedFile
-
file_idstringrequired -
namestringrequired -
pathstringrequiredThe file's path in the space, such as
/Generated images/A lighthouse.png.
{
"file_id": "file_123",
"name": "Ada Lovelace",
"path": "string"
} GeneratedImages
-
The new files, in the space's "Generated images" folder.
-
modelstringrequiredThe image model that drew them, with "(EU)" for one served in the EU.
{
"images": [
{
"file_id": "file_123",
"name": "Ada Lovelace",
"path": "string"
}
],
"model": "string"
} GithubApp
A GitHub App installation, narrowed to the repositories and permissions its token gets.
-
app_idinteger (int64)requiredminimum 0 -
installation_idinteger (int64)requiredminimum 0 -
permissionsobjectrequiredThe permissions each installation token is narrowed to.
-
repositoriesstring[]Repository names (without the owner); every repository the installation covers when empty.
-
serverstring|nullA GitHub Enterprise Server host; github.com when absent.
{
"app_id": 0,
"installation_id": 0,
"permissions": {},
"repositories": [
"string"
],
"server": "string"
} GithubItemRef
-
connectionstringrequired -
loginsstring[]Assignees whose GitHub login no person is linked to: Ivy shows them as logins and keeps them on GitHub when it writes the assignees.
-
node_idstringrequired -
numberinteger (int64)requiredminimum 0 -
project_item_idstring|nullThe project item's node id, when the issue is on the source's project.
-
repostringrequiredowner/name. -
source_idstringrequiredThe source's id in the collection file.
-
urlstringrequired
{
"connection": "string",
"logins": [
"string"
],
"node_id": "node_123",
"number": 0,
"project_item_id": "project_item_123",
"repo": "string",
"source_id": "source_123",
"url": "https://example.com"
} GithubPermissionLevel
One of: "read" , "write"
"read" Health
-
statusstringrequired
{
"status": "string"
} HelpReference
A section of the product help, /help/{page}#{section}.
-
pagestringrequired -
sectionstring|null
{
"page": "string",
"section": "string"
} ImageDimensions
A PNG, JPEG, WebP or GIF image's size in pixels, as a browser shows it: turned by its EXIF orientation. Absent for other files and for images stored before Ivy recorded it.
-
heightinteger (int32)requiredminimum 0 -
widthinteger (int32)requiredminimum 0
{
"height": 0,
"width": 0
} ImageGenerationRequest
-
countinteger (int32)|nullHow many images, 1-4; one when absent.
minimum 0 -
promptstringrequiredWhat to draw: the subject, style, composition and any text the image shows; 1-4,000 characters.
-
providerAgentProvider|null -
reference_imagesstring[]Up to 4 file ids of PNG, JPEG or WebP images in the space to base the images on: a photo to edit or a style to follow.
-
sizeImageShape|null
{
"count": 0,
"prompt": "string",
"provider": "anthropic",
"reference_images": [
"string"
],
"size": "square"
} ImageShape
One of: "square" , "landscape" , "portrait"
"square" InvalidatedResource
A resource collection the UI should refetch, named like the app's query resources. The step-1 tools only read and invalidate nothing; the writing tools of build step 3 will.
One of: "workspaces" , "members" , "entries" , "files" , "trash" , "storage" , "conversations" , "records"
"workspaces" ItemErrors
One of: "continue" , "fail"
"continue" ItemOutcome
One of: "created" , "updated" , "unchanged" , "deleted" , "failed" , "skipped"
"created" Job
Background work a request started (purges).
-
idstringrequired -
job_typestringrequired
{
"id": "id_123",
"job_type": "string",
"status": "queued"
} JobStatus
One of: "queued" , "running" , "succeeded" , "failed" , "cancelled" , "dead"
"queued" LastRun
-
atstring (date-time)required
{
"at": "2026-01-15T09:30:00Z",
"status": "queued"
} Locale
The languages of the app and emails.
One of: "en" , "de" , "fr" , "es" , "it" , "el" , "hu"
"en" LocalisedText
Text shown to people, in every locale Ivy offers.
-
destringrequired -
elstring -
enstringrequired -
esstringrequired -
frstringrequired -
hustring -
itstringrequired
{
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
} MessageBranch
-
countinteger (int32)requiredminimum 0 -
indexinteger (int32)required1-based.
minimum 0
{
"count": 0,
"index": 0
} MessageContext
-
organisation_idstring|nullThe organisation the user is looking at in the UI.
-
user_idstring|nullThe user the user is looking at in the UI.
{
"organisation_id": "organisation_123",
"user_id": "user_123"
} MessageOrigin
-
platform_message_idstring|nullThe Slack or Teams message a mirrored message was posted as.
{
"platform_message_id": "platform_message_123",
"source": "web"
} MessageQuote
The message a reply quotes. Only message_id is stored; the rest is read from the quoted message each time the reply is read, so an edit shows and a deletion leaves no text.
-
authorActorRef|null -
author_namestring|nullA
platform_userauthor's name on Slack or Teams. -
created_atstring (date-time)|null -
deletedbooleanThe quoted message was deleted, or is no longer on the conversation's active line: shown as "Original message deleted", without author or text.
-
excerptstring|nullThe start of its text, mentions as
@Name, up to 280 characters. -
message_idstringrequired
{
"author": {
"id": "id_123",
"type": "user"
},
"author_name": "Ada Lovelace",
"created_at": "2026-01-15T09:30:00Z",
"deleted": false,
"excerpt": "string",
"message_id": "message_123"
} MessageSource
One of: "web" , "native" , "api" , "slack" , "teams" , "email"
"web" Mount
A provider location mounted as a space folder.
-
created_atstring (date-time)required -
created_bystring|null -
drive_idstringrequired -
drive_namestringrequired -
folder_idstringrequiredThe space folder the drive appears as.
-
idstringrequired -
item_idstring|nullA folder inside the drive; the drive's root when absent.
-
service_accessbooleanrequiredThe drive is still selected under Service access, so the space can use it.
-
space_idstringrequired -
web_urlstring|null -
workspace_idstringrequiredLegacy name of
space_id, sent and accepted until 2027-05-31.
{
"created_at": "2026-01-15T09:30:00Z",
"created_by": "string",
"drive_id": "drive_123",
"drive_name": "Ada Lovelace",
"folder_id": "folder_123",
"id": "id_123",
"item_id": "item_123",
"kind": "onedrive",
"provider": "microsoft",
"service_access": false,
"space_id": "space_123",
"web_url": "https://example.com",
"workspace_id": "workspace_123"
} MountList
{
"items": [
{
"created_at": "2026-01-15T09:30:00Z",
"created_by": "string",
"drive_id": "drive_123",
"drive_name": "Ada Lovelace",
"folder_id": "folder_123",
"id": "id_123",
"item_id": "item_123",
"kind": "onedrive",
"provider": "microsoft",
"service_access": false,
"space_id": "space_123",
"web_url": "https://example.com",
"workspace_id": "workspace_123"
}
]
} MoveRecord
-
afterstring|nullThe card it goes after: the one above it.
-
beforestring|nullThe card it goes before: the one below it. Without
beforeandafter, the top of the column. -
columnstringrequiredThe column's name.
-
viewstringrequiredThe board file's id.
{
"after": "string",
"before": "string",
"column": "string",
"view": "string"
} NewCards
One of: "bottom" , "top"
"bottom" NotifyLevel
One of: "all" , "new_posts" , "mentions" , "none"
"all" OnConflict
One of: "fail" , "new_version" , "rename"
"fail" OpenWithChoice
The app that opens files of an extension.
-
app_idstringrequired -
extensionstringrequiredLowercase, without the dot.
-
source_space_idstringrequiredThe space that declares the app, as in
SpaceApp. -
source_workspace_idstringrequiredLegacy name of
source_space_id, sent and accepted until 2027-05-31.
{
"app_id": "app_123",
"extension": "string",
"source_space_id": "source_space_123",
"source_workspace_id": "source_workspace_123"
} OwnAppApproval
-
approved_atstring (date-time)required -
approved_bystringrequired -
changedbooleanrequiredIts manifest or a file it is made of changed since; the approved snapshot still runs until someone approves the new one.
-
snapshot_hashstringrequired
{
"approved_at": "2026-01-15T09:30:00Z",
"approved_by": "string",
"changed": false,
"snapshot_hash": "string"
} OwnAppProblem
One of: "invalid" , "duplicate_id" , "id_taken"
"invalid" OwnSpaceApp
An app of the space's own, declared in its files by a *.ivy-app.toml manifest. It runs only the snapshot a person approved.
-
approvalOwnAppApproval|null -
default_file_missingstring|nullIts default file's path in the space (the approved snapshot's, once approved) while the space has no file there. The app still registers and opens the files it opens; only opening it by itself has nothing to open.
-
file_idstringrequiredThe manifest file.
-
frontendAppFrontend|null -
idstringrequiredThe id the manifest declares, else its file name's.
-
nameLocalisedText|null -
pathstringrequiredThe manifest's path from the top of the space, such as
crm/crm.ivy-app.toml. -
problemOwnAppProblem|null
{
"approval": {
"approved_at": "2026-01-15T09:30:00Z",
"approved_by": "string",
"changed": false,
"snapshot_hash": "string"
},
"default_file_missing": "string",
"file_id": "file_123",
"frontend": "builtin",
"id": "id_123",
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"path": "string",
"problem": "invalid"
} Participant
-
added_bystring|nullThe person who invited them.
-
idstringrequired -
joined_atstring (date-time)required -
keystringrequireduser:<id>oragent:<id>.
{
"added_by": "string",
"id": "id_123",
"joined_at": "2026-01-15T09:30:00Z",
"key": "string",
"state": "active",
"type": "user"
} ParticipantList
{
"items": [
{
"added_by": "string",
"id": "id_123",
"joined_at": "2026-01-15T09:30:00Z",
"key": "string",
"state": "active",
"type": "user"
}
]
} ParticipantState
One of: "active" , "left" , "removed" , "revoked"
"active" ParticipantType
One of: "user" , "agent"
"user" PathSegment
-
idstringrequiredrootfor the space root. -
namestringrequired
{
"id": "id_123",
"name": "Ada Lovelace"
} PausedReason
One of: "manual" , "org_admin" , "budget" , "failures" , "identity_disabled" , "target_missing" , "loop_suspected"
"manual" PendingChange
-
What applying it does that it may not do by itself.
-
needs_step_upbooleanrequiredApplying it lets more people write or changes what the collection mirrors, so it needs step-up.
-
sincestring (date-time)required -
version_idstringrequired
{
"changes": [
{
"code": "not_found",
"message": "A short explanation for people",
"path": "string"
}
],
"needs_step_up": false,
"since": "2026-01-15T09:30:00Z",
"version_id": "version_123"
} PendingConflictItem
-
base_version_idstringrequired -
current_version_idstringrequired -
file_idstringrequired -
pathstringrequired
{
"base_version_id": "base_version_123",
"current_version_id": "current_version_123",
"file_id": "file_123",
"path": "string"
} PendingDeleteItem
-
file_idstringrequired -
pathstringrequired
{
"file_id": "file_123",
"path": "string"
} PendingRemoteWrite
-
atstring (date-time)required -
base_remote_updated_atstring (date-time)|null -
beforeobjectrequiredTheir values before the edit, to tell a conflicting change on the source.
-
fieldsobjectrequiredThe mapped fields as edited, by field key.
-
write_idstringrequired
{
"at": "2026-01-15T09:30:00Z",
"base_remote_updated_at": "2026-01-15T09:30:00Z",
"before": {},
"by": {
"id": "id_123",
"type": "user"
},
"fields": {},
"write_id": "write_123"
} PinChannelFile
-
file_idstringrequired
{
"file_id": "file_123"
} Platform
One of: "slack" , "teams"
"slack" ProcessReady
When the supervisor counts a process as ready.
One of: string | string | object
"started" ProcessRestart
One of: "never" , "on-failure"
"never" Provider
One of: "microsoft" , "google" , "fake"
"microsoft" Question
-
idstringrequiredThe answer's
id; unique within the request (letters, digits,_and-). -
optionsDecisionOption[]|nullchoiceonly: 1 to 255 options. -
promptstringrequiredThe question, in plain words.
-
scalestring[]|nullscoreonly: 1 to 10 levels, from lowest to highest.
{
"id": "id_123",
"kind": "boolean",
"options": [
{
"description": "string",
"name": "Ada Lovelace"
}
],
"prompt": "string",
"scale": [
"string"
]
} QuestionKind
One of: "boolean" , "choice" , "score"
"boolean" QueuedMessage
A message waiting for the chat's current reply to finish. It starts on its own, in queue order, as soon as the chat is free.
-
agent_idstring|null -
attachmentsChatAttachment[] -
author_idstringrequired -
conversation_idstringrequired -
created_atstring (date-time)required -
follow_up_ofstring|nullSet on the turn of a further mentioned agent for a message already posted: that message's id. Only its turn waits, not a new message.
-
idstringrequired -
mentionsstring[]Participant keys the message mentions; the agents among them answer in this order.
-
modelstring|null -
positioninteger (int64)required -
quoteMessageQuote|null -
resumes_ask_idstring|nullSet on the turn that resumes once an agent's ask was answered, declined or expired: the ask's id. It runs ahead of every waiting message (§9).
-
textstringrequired -
updated_atstring (date-time)required -
versioninteger (int64)requiredPass it back to
updateQueuedMessage; every edit increments it.
{
"agent_id": "agent_123",
"attachments": [
{
"file_id": "file_123",
"name": "Ada Lovelace"
}
],
"author_id": "author_123",
"conversation_id": "conversation_123",
"created_at": "2026-01-15T09:30:00Z",
"follow_up_of": "string",
"id": "id_123",
"mentions": [
"string"
],
"model": "string",
"position": 1,
"quote": {
"author": {
"id": "id_123",
"type": {}
},
"author_name": "Ada Lovelace",
"created_at": "2026-01-15T09:30:00Z",
"deleted": false,
"excerpt": "string",
"message_id": "message_123"
},
"resumes_ask_id": "resumes_ask_123",
"source": "web",
"text": "Hello, Ivy",
"updated_at": "2026-01-15T09:30:00Z",
"version": 1
} QueueMessage
-
agent_idstring|null -
attachmentsstring[]Up to 10 ids of files in the chat's space.
-
client_message_idstring|nullQueuing the same id again returns the message already queued.
-
interface_localeLocale|null -
modelstring|null -
quoteQuoteInput|null -
textstringrequired
{
"agent_id": "agent_123",
"attachments": [
"string"
],
"client_message_id": "client_message_123",
"interface_locale": "en",
"model": "string",
"quote": {
"message_id": "message_123"
},
"text": "Hello, Ivy"
} QueuePauseReason
Why a chat's queue stopped starting messages on its own.
One of: "failed" , "cancelled" , "stopped"
"failed" QueueSource
Where a queued message came from.
One of: "web" , "api" , "slack" , "teams"
"web" QueueState
-
In the order they will start.
-
pausedbooleanrequiredSet after a reply failed or was stopped while messages waited;
resumeQueueclears it. -
paused_reasonQueuePauseReason|null
{
"items": [
{
"agent_id": "agent_123",
"attachments": [
{
"file_id": "file_123",
"name": "Ada Lovelace"
}
],
"author_id": "author_123",
"conversation_id": "conversation_123",
"created_at": "2026-01-15T09:30:00Z",
"follow_up_of": "string",
"id": "id_123",
"mentions": [
"string"
],
"model": "string",
"position": 1,
"quote": {
"author": {},
"author_name": "Ada Lovelace",
"created_at": "2026-01-15T09:30:00Z",
"deleted": false,
"excerpt": "string",
"message_id": "message_123"
},
"resumes_ask_id": "resumes_ask_123",
"source": "web",
"text": "Hello, Ivy",
"updated_at": "2026-01-15T09:30:00Z",
"version": 1
}
],
"paused": false,
"paused_reason": "failed"
} QuoteInput
The message to quote: an earlier message of the same conversation, on its active line.
-
message_idstringrequired
{
"message_id": "message_123"
} RateMessage
-
ratingFeedback|null
{
"rating": "up"
} ReactionSummary
-
emojistringrequired -
participantsstring[]requiredParticipant keys, in the order they reacted.
{
"emoji": "string",
"participants": [
"string"
]
} Readiness
-
The NATS connection that queues assistant runs and relays their events.
-
okwhen every configured dependency is reachable. -
The database (ScyllaDB, or the in-memory store).
{
"events": "ok",
"status": "ok",
"store": "ok"
} RecentAdminJoin
An organisation admin who joined to see the space's content (decision D5), shown to members for 30 days.
-
display_namestringrequired -
joined_atstring (date-time)required -
user_idstringrequired -
Legacy name of
space_role, sent and accepted until 2027-05-31.
{
"display_name": "Ada Lovelace",
"joined_at": "2026-01-15T09:30:00Z",
"space_role": "viewer",
"user_id": "user_123",
"workspace_role": "viewer"
} RecordBatch
-
createCreateRecord[]|null -
deleteBatchDelete[]|null -
on_item_errorItemErrors -
syncBatchSync|null -
upsertBatchUpsert[]|nullCreates each record whose key is new and changes the given fields of the others; needs the collection's
key.
{
"create": [
{
"fields": {},
"place": {
"column": "string",
"view": "string"
}
}
],
"delete": [
{
"id": "id_123",
"key": {}
}
],
"on_item_error": "continue",
"sync": {
"delete_missing": false
},
"upsert": [
{
"fields": {},
"key": {}
}
]
} RecordBatchResult
-
createdinteger (int32)requiredminimum 0 -
deletedinteger (int32)requiredminimum 0 -
deleted_missinginteger (int32)|nullWith
sync.delete_missing: how many records it deleted, or left out when an item failed or the batch named no record, and nothing was deleted.minimum 0 -
failedinteger (int32)requiredminimum 0 -
One per item, in order.
-
unchangedinteger (int32)requiredminimum 0 -
updatedinteger (int32)requiredminimum 0
{
"created": 0,
"deleted": 0,
"deleted_missing": 0,
"failed": 0,
"items": [
{
"error": {
"code": "not_found",
"field": "string",
"message": "A short explanation for people",
"reason": "string"
},
"index": 0,
"key": "string",
"outcome": "created",
"record_id": "record_123"
}
],
"unchanged": 0,
"updated": 0
} RecordComment
-
bodystringrequiredMarkdown.
-
created_atstring (date-time)required -
failurestring|nullWhy GitHub refused the comment for good; it's never sent again.
-
idstringrequired -
pendingbooleanA mirrored record's comment waits for GitHub before it shows as posted.
-
record_idstringrequired -
remote_urlstring|nullWhere GitHub shows the comment of a mirrored record, once it took it.
-
waitingstring|nullWhy the comment waits for a space admin to fix the source's access.
{
"author": {
"id": "id_123",
"type": "user"
},
"body": "string",
"created_at": "2026-01-15T09:30:00Z",
"failure": "string",
"id": "id_123",
"pending": false,
"record_id": "record_123",
"remote_url": "https://example.com",
"waiting": "string"
} RecordCommentList
-
Oldest first.
{
"items": [
{
"author": {
"id": "id_123",
"type": "user"
},
"body": "string",
"created_at": "2026-01-15T09:30:00Z",
"failure": "string",
"id": "id_123",
"pending": false,
"record_id": "record_123",
"remote_url": "https://example.com",
"waiting": "string"
}
]
} RecordCounts
-
byobjectWith
count_by: records by the field's option key, user id ortrue/false; a list's record counts once for each of its values. -
completebooleanrequiredFalse when counting stopped before it saw every match: after 60,000 index rows when the conditions are one indexed condition or none, else after 5,000. The counts are of those.
-
totalinteger (int64)requiredminimum 0
{
"by": {},
"complete": false,
"total": 0
} RecordOrigin
What a record was made from beside a write of its own (§3.2).
One of: object
{
"ask_id": "ask_123",
"index": 0,
"kind": "ask",
"run_id": "run_123"
} RecordPage
-
countsRecordCounts|null -
next_cursorstring|nullMore may match: a page can hold fewer than
limitrecords, even none, while this is set.
{
"counts": {
"by": {},
"complete": false,
"total": 0
},
"items": [
{
"collection": "string",
"collection_id": "collection_123",
"created_at": "2026-01-15T09:30:00Z",
"created_by": {
"id": "id_123",
"type": "user"
},
"fields": {},
"id": "id_123",
"origin": {
"ask_id": "ask_123",
"index": 0,
"kind": "ask",
"run_id": "run_123"
},
"problems": [
{
"code": "not_found",
"field": "string"
}
],
"ranks": {},
"revision": 0,
"schema": "string",
"source": {
"provider": "ivy"
},
"sync": {
"conflict": {},
"error": {},
"pending": {},
"remote_updated_at": "2026-01-15T09:30:00Z"
},
"updated_at": "2026-01-15T09:30:00Z",
"updated_by": {
"id": "id_123",
"type": "user"
}
}
],
"next_cursor": "string"
} RecordPlace
-
columnstring|nullThe column's name; the board's first column when left out.
-
viewstringrequiredThe board file's id.
{
"column": "string",
"view": "string"
} RecordProblem
-
codestringrequiredvalue_invalid: the value doesn't fit the field as the collection declares it now;required_missing: a required field has no value. -
fieldstringrequired
{
"code": "not_found",
"field": "string"
} RecordQuery
One query for the API, views, flows, agents, apps and dashboards.
-
countbooleanCount the records that match, across every page.
-
count_bystring|nullCount them by the value of an indexed
enum,personorbooleanfield too. -
cursorstring|nullA previous page's
next_cursor, with the same filter and sort. -
filterobject|null{"all": [...]}: conditions on indexed fields that all hold, each{field, op, value}or{"any": [...]}of such conditions; at most 10.opiseq,ne,gt,gte,lt,lte,contains,in,is_emptyornot_empty. -
limitinteger (int32)|null1 to 500, 100 when left out.
minimum 0 -
qstring|nullOnly records whose title starts with this, ignoring case.
-
sortSortKey[]Up to 2; ties go by record id. Oldest first when left out.
{
"count": false,
"count_by": "string",
"cursor": "string",
"filter": {},
"limit": 0,
"q": "string",
"sort": [
{
"dir": "asc",
"field": "string"
}
]
} RecordSchema
-
schemaobjectrequiredThe JSON Schema 2020-12 of a record's
fields, with Ivy's field types inx-ivy-type.
{
"schema": {}
} RecordSource
One of: object | any
{
"provider": "ivy"
} RecordSourceList
-
In the order the collection file declares them.
{
"items": [
{
"access_error": {
"at": "2026-01-15T09:30:00Z",
"code": "not_found"
},
"applied": false,
"connection": "string",
"full": false,
"id": "id_123",
"item_count": 0,
"last_error": "string",
"last_synced_at": "2026-01-15T09:30:00Z",
"max_items": 0,
"paused": "string",
"people": {},
"provider": "string",
"repositories": [
"string"
]
}
]
} RecordSourceView
-
access_errorSyncError|null -
appliedbooleanrequiredA space admin applied it; until then it mirrors nothing.
-
connectionstringrequired -
fullbooleanrequiredIt mirrors
max_itemsrecords and adds no more. -
idstringrequiredThe source's id in the collection file.
-
item_countinteger (int32)requiredminimum 0 -
last_errorstring|nullWhy the last sync stopped, such as
mirror_full,github_unavailableorproject_missing. -
last_synced_atstring (date-time)|null -
max_itemsinteger (int32)requiredThe most records it mirrors.
minimum 0 -
pausedstring|nullWhy it waits for a space admin to confirm it again, such as
reach_changed. -
peopleobjectrequiredGitHub login → the user id of the person it stands for.
-
providerstringrequiredgithub. -
repositoriesstring[]requiredAs the file declares them.
{
"access_error": {
"at": "2026-01-15T09:30:00Z",
"code": "not_found"
},
"applied": false,
"connection": "string",
"full": false,
"id": "id_123",
"item_count": 0,
"last_error": "string",
"last_synced_at": "2026-01-15T09:30:00Z",
"max_items": 0,
"paused": "string",
"people": {},
"provider": "string",
"repositories": [
"string"
]
} RecordSync
A mirrored record's standing with its source (tasks-design.md §4.4).
-
conflictSyncConflict|null -
errorSyncError|null -
pendingPendingRemoteWrite|null -
remote_updated_atstring (date-time)|nullThe source's
updated_atof the item as Ivy last applied it.
{
"conflict": {
"at": "2026-01-15T09:30:00Z",
"by": {
"id": "id_123",
"type": "user"
},
"fields": [
"string"
]
},
"error": {
"at": "2026-01-15T09:30:00Z",
"code": "not_found"
},
"pending": {
"at": "2026-01-15T09:30:00Z",
"base_remote_updated_at": "2026-01-15T09:30:00Z",
"before": {},
"by": {
"id": "id_123",
"type": "user"
},
"fields": {},
"write_id": "write_123"
},
"remote_updated_at": "2026-01-15T09:30:00Z"
} RecordView
-
collectionstringrequiredThe collection's name.
-
collection_idstringrequired -
created_atstring (date-time)required -
fieldsobjectrequiredValues by field key, as the collection declares its fields now; a field without a value is left out.
-
idstringrequired -
originRecordOrigin|null -
problemsRecordProblem[]Values that no longer fit the collection's declaration; they can still be changed.
-
ranksobjectIts place on each board it's on, by the board file's id: ranks sort as bytes within a column, and cards without one follow, oldest first.
-
revisioninteger (int64)requiredminimum 0 -
schemastringrequiredThe hash of the declaration the last write was checked against.
-
syncRecordSync|null -
updated_atstring (date-time)required
{
"collection": "string",
"collection_id": "collection_123",
"created_at": "2026-01-15T09:30:00Z",
"created_by": {
"id": "id_123",
"type": "user"
},
"fields": {},
"id": "id_123",
"origin": {
"ask_id": "ask_123",
"index": 0,
"kind": "ask",
"run_id": "run_123"
},
"problems": [
{
"code": "not_found",
"field": "string"
}
],
"ranks": {},
"revision": 0,
"schema": "string",
"source": {
"provider": "ivy"
},
"sync": {
"conflict": {
"at": "2026-01-15T09:30:00Z",
"by": {},
"fields": []
},
"error": {
"at": "2026-01-15T09:30:00Z",
"code": "not_found"
},
"pending": {
"at": "2026-01-15T09:30:00Z",
"base_remote_updated_at": "2026-01-15T09:30:00Z",
"before": {},
"by": {},
"fields": {},
"write_id": "write_123"
},
"remote_updated_at": "2026-01-15T09:30:00Z"
},
"updated_at": "2026-01-15T09:30:00Z",
"updated_by": {
"id": "id_123",
"type": "user"
}
} RegenerateMessage
-
modelstring|null
{
"model": "string"
} ReorderQueue
-
idsstring[]requiredEvery queued message's id, in the new order.
{
"ids": [
"string"
]
} ReplyPreview
A message in short form, in a channel's feed: a thread's first message, or a reply under it.
-
authorActorRef|null -
author_namestring|nullA
platform_userauthor's name on Slack or Teams. -
author_platformPlatform|null -
created_atstring (date-time)required -
excerptstringrequiredIts text as one line of plain text, mentions as
@Name, up to 280 characters. -
mentionsstring[]Participant keys (
user:<id>,agent:<id>) the message mentions, checked by the server. -
message_idstringrequired -
textstringIts Markdown as written, links kept, up to 4,000 characters cut at a line break; empty for a message of files alone.
-
text_cutbooleanWhether
textwas cut; the thread has the whole message.
{
"author": {
"id": "id_123",
"type": "user"
},
"author_name": "Ada Lovelace",
"author_platform": "slack",
"created_at": "2026-01-15T09:30:00Z",
"excerpt": "string",
"mentions": [
"string"
],
"message_id": "message_123",
"text": "Hello, Ivy",
"text_cut": false
} RestoredEntry
any
{
"available": false,
"connector": {
"export_formats": [
"string"
],
"mount_id": "mount_123",
"native_document": false,
"native_type": "string",
"provider": "microsoft",
"web_url": "https://example.com"
},
"content_type": "string",
"current_version": 1,
"id": "id_123",
"kind": "folder",
"name": "Ada Lovelace",
"parent_id": "parent_123",
"scan_status": "scanning",
"size_bytes": 0,
"updated_at": "2026-01-15T09:30:00Z",
"updated_by": "string",
"renamed": false,
"restored_to_parent_id": "restored_to_parent_123"
} RunAccepted
-
run_idstringrequired -
timeout_secondsinteger (int32)requiredminimum 0
{
"run_id": "run_123",
"timeout_seconds": 0
} RunEventRecord
One entry of a run's event stream: statuses and ids, never content.
-
atstring (date-time)required -
bodyobjectrequired -
kindstringrequired -
seqinteger (int64)required
{
"at": "2026-01-15T09:30:00Z",
"body": {},
"kind": "string",
"seq": 1
} RunFromStep
-
step_idstringrequiredThe step the new run starts at; the steps it runs after are reused.
{
"step_id": "step_123"
} RunHandler
Files an app runs, by extension: the server picks a run's runtime by extension.
-
extensionsstring[]required
{
"extensions": [
"string"
],
"runner": "python"
} RunMessages
One channel a run reads (§5.2).
-
channelstringrequiredA channel name or id.
-
sincestring|nullHow far back, such as
7dor12h; a day by default.
{
"channel": "string",
"since": "string"
} Runner
The web app's own code runners.
One of: "python" , "javascript" , "typescript" , "sql" , "r"
"python" RunOutputFile
-
file_idstringrequired -
media_typestringrequired -
pathstringrequired -
sizeinteger (int64)requiredminimum 0 -
version_idstringrequired
{
"file_id": "file_123",
"media_type": "string",
"path": "string",
"size": 0,
"version_id": "version_123"
} RunSource
One of: "direct" , "agent_turn" , "workflow"
"direct" RunStatus
One of: "queued" , "starting" , "running" , "collecting" , "succeeded" , "failed" , "timeout" , "oom" , "cancelled"
"queued" RunWaitingAsk
-
ask_idstringrequired -
peoplestring[]requiredWho may answer it, or for a draft the person who sends it.
-
reminded_atstring (date-time)|nullWhen a space admin last reminded them; reminders go at most once an hour.
-
sincestring (date-time)required -
draftwaits for the person who started the run to send it;openfor those asked. -
step_idstringrequired
{
"ask_id": "ask_123",
"people": [
"string"
],
"reminded_at": "2026-01-15T09:30:00Z",
"since": "2026-01-15T09:30:00Z",
"status": "draft",
"step_id": "step_123"
} SandboxChange
One of: "created" , "modified" , "moved"
"created" SandboxInfo
The conversation's sandbox and the changes waiting for the person's confirmation.
-
expires_atstring (date-time)|null -
last_active_atstring (date-time)|null -
reasonstring|null -
started_atstring (date-time)|null
{
"expires_at": "2026-01-15T09:30:00Z",
"last_active_at": "2026-01-15T09:30:00Z",
"pending": [
{
"awaiting_user_id": "awaiting_user_123",
"change_set_id": "change_set_123",
"conflicts": [
{
"base_version_id": "base_version_123",
"current_version_id": "current_version_123",
"file_id": "file_123",
"path": "string"
}
],
"created_at": "2026-01-15T09:30:00Z",
"deletes": [
{
"file_id": "file_123",
"path": "string"
}
]
}
],
"reason": "string",
"started_at": "2026-01-15T09:30:00Z",
"state": "starting"
} SandboxSavedFile
-
checkFileCheck|null -
file_idstringrequired -
pathstringrequired -
version_idstringrequired
{
"change": "created",
"check": {
"file_id": "file_123",
"kind": "workflow",
"path_changes": [
"string"
],
"problems": [
{
"code": "not_found",
"column": 0,
"hint": "string",
"line": 0,
"message": "A short explanation for people",
"path": "string",
"reference": {},
"severity": {}
}
],
"reference": {
"page": "string",
"section": "string"
},
"valid": false,
"version_id": "version_123"
},
"file_id": "file_123",
"path": "string",
"version_id": "version_123"
} SandboxSize
A sandbox size: the vCPUs it is billed for, its memory and its /workspace space.
-
memory_mibinteger (int32)requiredminimum 0 -
space_mibinteger (int32)requiredminimum 0 -
vcpuinteger (int32)requiredminimum 0 -
workspace_mibinteger (int32)requiredLegacy name of
space_mib, sent and accepted until 2027-05-31.minimum 0
{
"memory_mib": 0,
"name": "Ada Lovelace",
"space_mib": 0,
"vcpu": 0,
"workspace_mib": 0
} SandboxState
One of: "starting" , "ready" , "stopping" , "stopped" , "unavailable"
"starting" ScanStatus
One of: "scanning" , "clean" , "infected" , "failed"
"scanning" SearchHighlight
Highlight ranges count UTF-16 code units, as JavaScript strings do.
-
endinteger (int32)requiredminimum 0 -
startinteger (int32)requiredminimum 0
{
"end": 0,
"start": 0
} SearchKind
One of: "file" , "folder" , "file_content" , "conversation" , "message"
"file" SearchResult
-
authorstring|null -
conversation_idstring|null -
idstringrequiredThe file's, folder's, conversation's or message's id.
-
pathstring|nullWhere it is: the space and folders for a file or folder.
-
snippetSearchSnippet|null -
space_idstringrequired -
titlestringrequiredThe file or folder, the conversation's title, or the conversation a message is in.
-
updated_atstring (date-time)required -
versioninteger (int64)|nullThe file version a
file_contentresult's text was read from. -
workspace_idstringrequiredLegacy name of
space_id, sent and accepted until 2027-05-31.
{
"author": "string",
"conversation_id": "conversation_123",
"id": "id_123",
"kind": "file",
"path": "string",
"snippet": {
"highlights": [
{
"end": 0,
"start": 0
}
],
"text": "Hello, Ivy"
},
"space_id": "space_123",
"title": "string",
"updated_at": "2026-01-15T09:30:00Z",
"version": 1,
"workspace_id": "workspace_123"
} SearchResults
-
next_cursorstring|null
{
"items": [
{
"author": "string",
"conversation_id": "conversation_123",
"id": "id_123",
"kind": "file",
"path": "string",
"snippet": {
"highlights": [],
"text": "Hello, Ivy"
},
"space_id": "space_123",
"title": "string",
"updated_at": "2026-01-15T09:30:00Z",
"version": 1,
"workspace_id": "workspace_123"
}
],
"next_cursor": "string"
} SearchSnippet
-
textstringrequired
{
"highlights": [
{
"end": 0,
"start": 0
}
],
"text": "Hello, Ivy"
} SearchSort
One of: "relevance" , "recent"
"relevance" SecretKind
How Ivy gets the secret: a Google or Microsoft sign-in in Ivy's own UI, never a page's.
One of: "google_oauth" , "microsoft_oauth"
"google_oauth" SecretOwner
Whose secret it is: each person who uses the app keeps their own.
One of: "person"
"person" SelectBranch
-
indexinteger (int32)required1-based, up to
branch.count.minimum 0
{
"index": 0
} SendMessage
-
agent_idstring|nullA
WorkspaceAgent.id. The first message of a chat chooses its agent (the built-in assistant when absent); later messages may repeat it or leave it out. -
attachmentsstring[]Up to 10 ids of files in the chat's space for the assistant to read.
-
client_message_idstring|nullA client-generated id (1-128 of
A-Z a-z 0-9 _ -). Sending the same id again does not post the message twice: the response follows the run the first request started, resuming afterLast-Event-ID. -
contextMessageContext|null -
interface_localeLocale|null -
modelstring|nullOne of the ids from
GET /v1/agent/models, or of the chat's agent's models; the default model when absent. -
quoteQuoteInput|null -
textstringrequired
{
"agent_id": "agent_123",
"attachments": [
"string"
],
"client_message_id": "client_message_123",
"context": {
"organisation_id": "organisation_123",
"user_id": "user_123"
},
"interface_locale": "en",
"model": "string",
"quote": {
"message_id": "message_123"
},
"text": "Hello, Ivy"
} Severity
One of: "error" , "warning"
"error" SimpleSchedule
The simple form of a schedule, converted to cron on the server. weekdays are ISO (1 = Monday … 7 = Sunday); time is HH:MM in the space's time zone.
One of: object | object | object | object | object
{
"frequency": "hourly",
"minute": 0
} SkillNeeds
What a turn must offer for its agent to be given the skill.
-
appsstring[]App ids the space must have.
-
toolsstring[]Tool names the agent must be offered, such as
bashor<app>__<tool>, as its runtime names them; case doesn't matter.
{
"apps": [
"string"
],
"tools": [
"string"
]
} SkillScope
What a skill is about; empty for the whole space.
-
appsstring[]App ids.
-
extensionsstring[]File extensions without the leading dot, as apps'
opensgives them.
{
"apps": [
"string"
],
"extensions": [
"string"
]
} SkipReason
Why a step ended without acting.
One of: "condition" , "not_on_path" , "run_failed" , "cancelled"
"condition" SortDir
One of: "asc" , "desc"
"asc" SortKey
-
dirSortDir -
fieldstringrequiredAn indexed field that holds one value, the title field,
created_atorupdated_at.
{
"dir": "asc",
"field": "string"
} SortOrder
One of: "asc" , "desc"
"asc" Space
-
auto_joinbooleanrequiredNew people in the organisation join it as editors.
-
colourstringrequired#rrggbbor a colour token name. -
content_accessbooleanrequiredFalse for organisation admins who haven't joined (decision D5): they see the space, its members and settings, but not its files or chats.
-
created_atstring (date-time)required -
created_bystringrequired -
descriptionstringrequiredAt most 500 characters.
-
idstringrequired -
is_defaultbooleanrequiredThe organisation's "General" space; it can't be archived.
-
managed_by_organisationbooleanrequiredAn import space other spaces use: only organisation owners and admins change its files and agents, whatever the caller's role in it.
-
member_countinteger (int32)requiredminimum 0 -
namestringrequiredUnique per organisation, case-insensitively. At most 80 characters.
-
organisation_idstringrequired -
revisioninteger (int64)required -
shareSpaceShare|null -
time_zonestringrequiredIANA name its schedule triggers fire in;
Europe/Berlinuntil an admin sets one. -
updated_atstring (date-time)required
{
"auto_join": false,
"colour": "string",
"content_access": false,
"created_at": "2026-01-15T09:30:00Z",
"created_by": "string",
"description": "string",
"id": "id_123",
"is_default": false,
"managed_by_organisation": false,
"member_count": 0,
"my_role": "viewer",
"name": "Ada Lovelace",
"organisation_id": "organisation_123",
"recent_admin_joins": [
{
"display_name": "Ada Lovelace",
"joined_at": "2026-01-15T09:30:00Z",
"space_role": "viewer",
"user_id": "user_123",
"workspace_role": "viewer"
}
],
"revision": 1,
"share": {
"app_id": "app_123",
"app_name": "Ada Lovelace",
"link_id": "link_123",
"parent_space_id": "parent_space_123",
"parent_space_name": "Ada Lovelace",
"parent_workspace_id": "parent_workspace_123",
"parent_workspace_name": "Ada Lovelace",
"service_identity_id": "service_identity_123"
},
"status": "active",
"time_zone": "string",
"updated_at": "2026-01-15T09:30:00Z"
} SpaceAgent
An agent of the space, with its envelope.
-
activebooleanrequired -
allowed_modelsstring[]requiredThe models the envelope allows.
-
credentialAgentCredential|null -
idstringrequiredPass it as
SendMessage.agent_id. -
may_start_conversationsbooleanrequiredWhether it may ask people, request approvals and post results outside its conversation.
-
The model variants a chat can use now: the allowed models' variants the installation serves and the organisation permits; empty when it is unavailable.
-
offered_modelsstring[]requiredThe models a space admin can allow.
-
The import space it comes from (this space, for an import space's own).
-
unavailable_reasonAgentUnavailableReason|null
{
"active": false,
"allowed_models": [
"string"
],
"credential": {
"fall_back_to_ivy": false,
"name": "Ada Lovelace",
"state": "ready"
},
"description": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"id": "id_123",
"may_start_conversations": false,
"models": [
{
"description": "string",
"display_name": "Ada Lovelace",
"eu": false,
"id": "id_123",
"is_default": false
}
],
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"offered_models": [
"string"
],
"provider": "anthropic",
"runtime": "ivy",
"source": {
"id": "id_123",
"name": "Ada Lovelace"
},
"unavailable_reason": "provider_not_configured"
} SpaceAgentList
{
"items": [
{
"active": false,
"allowed_models": [
"string"
],
"credential": {
"fall_back_to_ivy": false,
"name": "Ada Lovelace",
"state": {}
},
"description": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"id": "id_123",
"may_start_conversations": false,
"models": [
{
"description": "string",
"display_name": "Ada Lovelace",
"eu": false,
"id": "id_123",
"is_default": false
}
],
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"offered_models": [
"string"
],
"provider": "anthropic",
"runtime": "ivy",
"source": {
"id": "id_123",
"name": "Ada Lovelace"
},
"unavailable_reason": "provider_not_configured"
}
]
} SpaceApp
An app the space's members open files with: one of an always-on space's, or of a version the space imports.
-
Who may start it:
writeapps editors and admins,readapps any member. -
collectionsAppCollection[]The space's collections it reads or writes, through
window.ivy.recordstoo. -
fallbackAppFallback|null -
idstringrequired -
openAppOpenFile|null -
runnablebooleanrequiredIt declares processes, so it can be started (
POST …/apps/{app_id}/instances). -
runsRunHandler[] -
servicesAppServiceKind[]The services its processes offer Ivy's own clients, such as
speech-to-textfor dictation (POST …/instances/{instance_id}/service-tickets). -
shareablebooleanrequiredIt declares
shareable = true, so editors may share it with an app link. -
source_space_idstringrequiredThe space that declares the app, such as
ivy-core. -
source_workspace_idstringrequiredLegacy name of
source_space_id, sent and accepted until 2027-05-31. -
version_idstringrequired
{
"access": "read",
"collections": [
{
"access": "read",
"name": "Ada Lovelace"
}
],
"description": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"fallback": "builtin",
"frontend": "builtin",
"id": "id_123",
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"open": {
"file_id": "file_123",
"path": "string"
},
"opens": [
{
"default": false,
"edits": false,
"extensions": [
"string"
],
"mime_types": [
"string"
]
}
],
"runnable": false,
"runs": [
{
"extensions": [
"string"
],
"runner": "python"
}
],
"services": [
"speech-to-text"
],
"shareable": false,
"source_space_id": "source_space_123",
"source_workspace_id": "source_workspace_123",
"version_id": "version_123"
} SpaceAppList
-
The caller's own "open with" choices.
-
The space's defaults, set by its admins, for people without a choice of their own.
-
The always-on spaces' apps first, then the imported versions', each by space id, then the space's own approved apps, each with its approved snapshot's hash as
version_id. Where two claim the same extension or MIME type, the first opens it. -
ownOwnSpaceApp[]The app manifests of the space's own files, by path; one whose id an app of
itemshas saysid_taken.
{
"choices": [
{
"app_id": "app_123",
"extension": "string",
"source_space_id": "source_space_123",
"source_workspace_id": "source_workspace_123"
}
],
"defaults": [
{
"app_id": "app_123",
"extension": "string",
"source_space_id": "source_space_123",
"source_workspace_id": "source_workspace_123"
}
],
"items": [
{
"access": "read",
"collections": [
{
"access": {},
"name": "Ada Lovelace"
}
],
"description": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"fallback": "builtin",
"frontend": "builtin",
"id": "id_123",
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"open": {
"file_id": "file_123",
"path": "string"
},
"opens": [
{
"default": false,
"edits": false,
"extensions": [],
"mime_types": []
}
],
"runnable": false,
"runs": [
{
"extensions": [],
"runner": {}
}
],
"services": [
"speech-to-text"
],
"shareable": false,
"source_space_id": "source_space_123",
"source_workspace_id": "source_workspace_123",
"version_id": "version_123"
}
],
"own": [
{
"approval": {
"approved_at": "2026-01-15T09:30:00Z",
"approved_by": "string",
"changed": false,
"snapshot_hash": "string"
},
"default_file_missing": "string",
"file_id": "file_123",
"frontend": "builtin",
"id": "id_123",
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"path": "string",
"problem": "invalid"
}
]
} SpaceEvent
The data of one space SSE event; the SSE event name (entries, file, scan, members, workspace, trash, revoked, records) selects which fields are set. These are hints to refetch, not data.
-
collection_idstring|nullWith
records: the collection whose records changed. -
file_idstring|null -
parent_idsstring[]|null -
revisioninteger (int64)|null -
scan_statusScanStatus|null -
version_idstring|null
{
"collection_id": "collection_123",
"file_id": "file_123",
"parent_ids": [
"string"
],
"revision": 1,
"scan_status": "scanning",
"version_id": "version_123"
} SpaceList
-
next_cursorstring|null
{
"items": [
{
"auto_join": false,
"colour": "string",
"content_access": false,
"created_at": "2026-01-15T09:30:00Z",
"created_by": "string",
"description": "string",
"id": "id_123",
"is_default": false,
"managed_by_organisation": false,
"member_count": 0,
"my_role": "viewer",
"name": "Ada Lovelace",
"organisation_id": "organisation_123",
"recent_admin_joins": [
{
"display_name": "Ada Lovelace",
"joined_at": "2026-01-15T09:30:00Z",
"space_role": {},
"user_id": "user_123",
"workspace_role": {}
}
],
"revision": 1,
"share": {
"app_id": "app_123",
"app_name": "Ada Lovelace",
"link_id": "link_123",
"parent_space_id": "parent_space_123",
"parent_space_name": "Ada Lovelace",
"parent_workspace_id": "parent_workspace_123",
"parent_workspace_name": "Ada Lovelace",
"service_identity_id": "service_identity_123"
},
"status": "active",
"time_zone": "string",
"updated_at": "2026-01-15T09:30:00Z"
}
],
"next_cursor": "string"
} SpaceRef
A space of the organisation, by id and name.
-
idstringrequired -
namestringrequired
{
"id": "id_123",
"name": "Ada Lovelace"
} SpaceRole
One of: "viewer" , "editor" , "admin"
"viewer" SpaceSkill
Written know-how the space's agents read when it applies: one of an always-on space's skills, or of a version the space imports.
-
agentsstring[]requiredThe agent ids it is for (
ivyis the built-in assistant); empty for every agent. -
The apps or file types it is about; empty for the whole space.
-
idstringrequired -
What a chat must offer for its agent to be given the skill.
-
source_space_idstringrequiredThe space that declares the skill, such as
ivy-core. -
source_workspace_idstringrequiredLegacy name of
source_space_id, sent and accepted until 2027-05-31. -
version_idstringrequired
{
"agents": [
"string"
],
"applies": {
"apps": [
"string"
],
"extensions": [
"string"
]
},
"description": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"id": "id_123",
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"needs": {
"apps": [
"string"
],
"tools": [
"string"
]
},
"source_space_id": "source_space_123",
"source_workspace_id": "source_workspace_123",
"version_id": "version_123"
} SpaceSkillList
-
The always-on spaces' skills first, then the imported versions', each by space id. Of two skills with one id, the first.
{
"items": [
{
"agents": [
"string"
],
"applies": {
"apps": [
"string"
],
"extensions": [
"string"
]
},
"description": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"id": "id_123",
"name": {
"de": "string",
"el": "string",
"en": "string",
"es": "string",
"fr": "string",
"hu": "string",
"it": "string"
},
"needs": {
"apps": [
"string"
],
"tools": [
"string"
]
},
"source_space_id": "source_space_123",
"source_workspace_id": "source_workspace_123",
"version_id": "version_123"
}
]
} SpaceStatus
One of: "active" , "archived"
"active" StartAppInstance
-
conversation_idstring|nullThe conversation whose sandbox session runs the app; its session starts if none runs. Without one, the space runs the app for its members in a sandbox of its own, as the space identity.
{
"conversation_id": "conversation_123"
} StartFlowRun
-
inputsobjectThe manual trigger's inputs by name.
{
"inputs": {}
} StartRun
Starts a run of the file as the signed-in person.
-
client_run_idstringrequiredThe client's id for this run: repeating it returns the same run.
-
connectionsstring[]Connections declared with
direct_runs: truethe run may call through the gateway; a person's runs only, never a key's. -
egressstring[]Hosts of the space allow-list the run may reach; without them it has no network.
-
environmentstring|nullThe sandbox environment that runs the file; by default the first built-in environment whose run rules match it.
-
filesstring[]Files, folders (
Inbox/,Inbox/**with subfolders) and globs (Finance/*.csv) you can read, staged read-only under$IVY_IN/files/at their current clean versions. -
inputobject|nullA JSON value staged read-only as
$IVY_IN/input.json(workflows-design.md §5.2.1). -
input_file_idsstring[]Space files copied into the sandbox read-only, beside the code file.
-
messagesRunMessages[]Channels of the space you can read, staged as
$IVY_IN/messages/<channel>.json. -
output_folder_idstring|nullWhere new output files go; defaults to the code file's folder.
-
save_tostring|nullA folder path or id to save new output files in; the code file's folder by default.
-
tierComputeTier|null -
timeout_secondsinteger (int32)|null10 s up to the installation's maximum (15 min by default); shortened to what the remaining credits cover.
minimum 0 -
version_idstring|nullDefaults to the version currently served.
{
"client_run_id": "client_run_123",
"connections": [
"string"
],
"egress": [
"string"
],
"environment": "string",
"files": [
"string"
],
"input": {},
"input_file_ids": [
"string"
],
"messages": [
{
"channel": "string",
"since": "string"
}
],
"output_folder_id": "output_folder_123",
"save_to": "string",
"tier": "string",
"timeout_seconds": 0,
"version_id": "version_123"
} StepArrow
An arrow into a step: taken on any of paths, or, without them, whenever step_id carries on.
-
pathsstring[]required -
step_idstringrequired
{
"paths": [
"string"
],
"step_id": "step_123"
} StepPaths
A step's place in the flow, for the editor.
-
What it runs after, resolved:
startis the start of the run. -
at_the_same_timestring[]requiredThe steps that may be at work at the same time as it.
-
certainbooleanrequiredIt runs in every run that ends.
-
step_idstringrequired
{
"after": [
{
"paths": [
"string"
],
"step_id": "step_123"
}
],
"at_the_same_time": [
"string"
],
"certain": false,
"step_id": "step_123"
} StepStatus
One of: "queued" , "running" , "waiting" , "succeeded" , "failed" , "skipped" , "cancelled" , "outcome_unknown" , "not_on_path"
"queued" StreamKind
One of: "message_posted" , "message_edited" , "message_deleted" , "reaction" , "queue" , "participants" , "conversation" , "run_started" , "run_finished" , "resync"
"message_posted" SyncConflict
-
atstring (date-time)required -
fieldsstring[]required
{
"at": "2026-01-15T09:30:00Z",
"by": {
"id": "id_123",
"type": "user"
},
"fields": [
"string"
]
} SyncError
-
atstring (date-time)required -
codestringrequired
{
"at": "2026-01-15T09:30:00Z",
"code": "not_found"
} SystemNotice
A system message's content; the client words it in the reader's language.
-
actorActorRef|null -
channel_idstring|nullshared: the channel it moved into. -
conversation_idstring|nullstarted_from: the conversation it links back to. -
participantsstring[]The participant keys it concerns.
-
titlestring|nullrenamed: the new title.
{
"actor": {
"id": "id_123",
"type": "user"
},
"channel_id": "channel_123",
"conversation_id": "conversation_123",
"kind": "invited",
"participants": [
"string"
],
"title": "string"
} SystemNoticeKind
One of: "invited" , "joined" , "left" , "removed" , "renamed" , "shared" , "started_from" , "agent_disabled" , "agent_removed"
"invited" ToolCallStatus
One of: "ok" , "error"
"ok" ToolView
The view an app tool's result names (_meta.ui.resourceUri, the MCP Apps extension).
One of: object | object | object
{
"app_id": "app_123",
"instance_id": "instance_123",
"kind": "page",
"result": {},
"source_space_id": "source_space_123",
"source_workspace_id": "source_workspace_123",
"ui": "string",
"version_id": "version_123"
} TrashItem
-
idstringrequired -
namestringrequired -
original_parent_idstringrequired -
purge_afterstring (date-time)requiredWhen the daily purge deletes it permanently.
-
trashed_atstring (date-time)required -
trashed_bystringrequired
{
"id": "id_123",
"kind": "folder",
"name": "Ada Lovelace",
"original_parent_id": "original_parent_123",
"original_path": [
{
"id": "id_123",
"name": "Ada Lovelace"
}
],
"purge_after": "2026-01-15T09:30:00Z",
"trashed_at": "2026-01-15T09:30:00Z",
"trashed_by": "string"
} TrashList
-
next_cursorstring|null
{
"items": [
{
"id": "id_123",
"kind": "folder",
"name": "Ada Lovelace",
"original_parent_id": "original_parent_123",
"original_path": [
{
"id": "id_123",
"name": "Ada Lovelace"
}
],
"purge_after": "2026-01-15T09:30:00Z",
"trashed_at": "2026-01-15T09:30:00Z",
"trashed_by": "string"
}
],
"next_cursor": "string"
} TriggerKind
One of: "manual" , "schedule" , "webhook" , "file" , "channel" , "email" , "record"
"manual" TriggerRunStatus
One of: "queued" , "running" , "succeeded" , "failed" , "skipped" , "rejected"
"queued" TriggerSecret
A secret's id and dates; its value is shown once, when created.
-
created_atstring (date-time)required -
expires_atstring (date-time)|null -
idstringrequired -
rotated_fromstring|null
{
"created_at": "2026-01-15T09:30:00Z",
"expires_at": "2026-01-15T09:30:00Z",
"id": "id_123",
"rotated_from": "string"
} TriggerSettings
The kind's settings as the flow file declares them; secrets never live here.
One of: object | object | object | object | object | object | object
{
"kind": "manual"
} TriggerStatus
One of: "active" , "paused"
"active" UnreachableItem
Something an automated trigger's version declares that the space identity can't reach (§7.2 identity_cannot_reach).
-
accessstringrequiredread,post,ask,notifyorwrite. -
kindstringrequiredchannel,identityorspace. -
referencestringrequiredThe reference as the file writes it.
-
stepstring|null
{
"access": "string",
"kind": "string",
"reference": "string",
"step": "string"
} UpdateChannel
Fields left out are unchanged. name, purpose, default_agent and archived are for space admins and the channel's creator; notify is each member's own.
-
archivedboolean|null -
default_agentstring|nullnullremoves the default agent. -
namestring|null -
notifyNotifyLevel|null -
purposestring|null
{
"archived": false,
"default_agent": "string",
"name": "Ada Lovelace",
"notify": "all",
"purpose": "string"
} UpdateChatMessage
-
quoteQuoteInput|null -
textstringrequired
{
"quote": {
"message_id": "message_123"
},
"text": "Hello, Ivy"
} UpdateConversation
-
assigneestring|nullAn active participant's key; an empty string clears it. Assigning an agent mentions it with
instruction, and its turn acts for the caller. -
channel_idstring|nullMoves a private conversation into this channel of the space, never back (needs the inviting right). Not a channel bound to Slack or Teams; an invited channel only when every person taking part is its member.
-
instructionstring|nullWith an agent
assignee: what the agent should do (1-20000 characters). -
last_readinteger (int64)|nullThe caller's read position: the index of the last message they read (0-based, at most the last message's).
-
notifyNotifyLevel|null -
pinnedboolean|nullFor the caller alone once conversations with people are on.
-
statusConversationStatus|null -
titlestring|null1-200 characters.
-
visibilityConversationVisibility|null
{
"assignee": "string",
"channel_id": "channel_123",
"instruction": "string",
"last_read": 1,
"notify": "all",
"pinned": false,
"status": "open",
"title": "string",
"visibility": "private"
} UpdateEntry
Rename (name), move (parent_id) or both.
-
namestring|null -
parent_idstring|null
{
"name": "Ada Lovelace",
"parent_id": "parent_123"
} UpdateQueuedMessage
-
attachmentsstring[]|null -
textstring|null -
versioninteger (int64)requiredThe
versionthe edit was made on.
{
"attachments": [
"string"
],
"text": "Hello, Ivy",
"version": 1
} UpdateRecord
-
fieldsobjectrequiredValues by field key; fields left out are unchanged, and
nullclears one.
{
"fields": {}
} UpsertedRecord
-
created,updatedorunchanged.
{
"outcome": "created",
"record": {
"collection": "string",
"collection_id": "collection_123",
"created_at": "2026-01-15T09:30:00Z",
"created_by": {
"id": "id_123",
"type": "user"
},
"fields": {},
"id": "id_123",
"origin": {
"ask_id": "ask_123",
"index": 0,
"kind": "ask",
"run_id": "run_123"
},
"problems": [
{
"code": "not_found",
"field": "string"
}
],
"ranks": {},
"revision": 0,
"schema": "string",
"source": {
"provider": "ivy"
},
"sync": {
"conflict": {},
"error": {},
"pending": {},
"remote_updated_at": "2026-01-15T09:30:00Z"
},
"updated_at": "2026-01-15T09:30:00Z",
"updated_by": {
"id": "id_123",
"type": "user"
}
}
} UpsertRecord
-
fieldsobjectrequiredValues by field key. A new record gets the
defaultof fields left out; an existing one keeps them, andnullclears one.
{
"fields": {}
} ViewColumn
-
namestringrequired -
valuesstring[]requiredThe values of
group_bywhose records the column holds; a card moved into it gets the first.
{
"name": "Ada Lovelace",
"values": [
"string"
]
} ViewColumnRecords
-
In the board's order: by rank, then the cards without one, oldest first.
-
namestringrequired
{
"items": [
{
"collection": "string",
"collection_id": "collection_123",
"created_at": "2026-01-15T09:30:00Z",
"created_by": {
"id": "id_123",
"type": "user"
},
"fields": {},
"id": "id_123",
"origin": {
"ask_id": "ask_123",
"index": 0,
"kind": "ask",
"run_id": "run_123"
},
"problems": [
{
"code": "not_found",
"field": "string"
}
],
"ranks": {},
"revision": 0,
"schema": "string",
"source": {
"provider": "ivy"
},
"sync": {
"conflict": {},
"error": {},
"pending": {},
"remote_updated_at": "2026-01-15T09:30:00Z"
},
"updated_at": "2026-01-15T09:30:00Z",
"updated_by": {
"id": "id_123",
"type": "user"
}
}
],
"name": "Ada Lovelace"
} ViewDetail
-
card_fieldsstring[]requiredWhat each card shows under its title, in order.
-
collectionstringrequiredThe collection's name.
-
file_idstringrequired -
filterobject|nullThe conditions every record on the board meets, as a record query's
filter. -
group_bystringrequiredThe field whose value puts a record in a column.
-
Where new cards go in their column.
-
titlestringrequired
{
"card_fields": [
"string"
],
"collection": "string",
"columns": [
{
"name": "Ada Lovelace",
"values": [
"string"
]
}
],
"file_id": "file_123",
"filter": {},
"group_by": "string",
"new": "bottom",
"title": "string"
} ViewRecords
-
truncatedbooleanrequiredThe board holds more records than one read returns; the columns show the first.
{
"columns": [
{
"items": [
{
"collection": "string",
"collection_id": "collection_123",
"created_at": "2026-01-15T09:30:00Z",
"created_by": {},
"fields": {},
"id": "id_123",
"origin": {},
"problems": [],
"ranks": {},
"revision": 0,
"schema": "string",
"source": {},
"sync": {},
"updated_at": "2026-01-15T09:30:00Z",
"updated_by": {}
}
],
"name": "Ada Lovelace"
}
],
"truncated": false
} ViewSummary
-
file_idstringrequiredThe board file's id.
-
titlestringrequired
{
"file_id": "file_123",
"title": "string"
} WebSource
-
titlestringrequiredEmpty when the page has none.
-
urlstringrequiredA fetched page's final URL, after redirects.
{
"title": "string",
"url": "https://example.com"
}