Schemas

The request and response bodies that the operations reference.

ActorKind

One of: "user" , "agent" , "service_identity" , "system" , "platform_user"

Example
"user"

ActorRef

A person, an agent (ivy for the built-in assistant), a service identity or Ivy itself.

Example
{
  "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).

Example
{
  "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.

  • checkpoint integer (int64) required

    minimum 0

  • files SandboxSavedFile[] required
  • skipped string[] required

    Paths over the write-back limits, not saved.

Example
{
  "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_ivy boolean required

    Whether the agent runs on Ivy's account, in credits, while the credential can't be used.

  • name string required
  • state CredentialState required
Example
{
  "fall_back_to_ivy": false,
  "name": "Ada Lovelace",
  "state": "ready"
}

AgentDone

Data of the done SSE event.

Example
{
  "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.

  • code string required
  • message string required
Example
{
  "code": "not_found",
  "message": "A short explanation for people"
}

AgentMessageStart

Data of the message_start SSE event.

  • message_id string required
  • model string required

    The model producing this message.

Example
{
  "message_id": "message_123",
  "model": "string"
}

AgentModel

A model the assistant can use.

  • description string required
  • display_name string required

    The model's name, the same for both of its variants: eu tells them apart.

  • eu boolean required

    Whether 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.

  • id string required

    Variant id: the model's id (claude-opus-5-5), with -eu for its EU variant (claude-opus-5-5-eu); pass it as SendMessage.model.

  • is_default boolean required

    Used when SendMessage.model is absent.

Example
{
  "description": "string",
  "display_name": "Ada Lovelace",
  "eu": false,
  "id": "id_123",
  "is_default": false
}

AgentModelList

Example
{
  "items": [
    {
      "description": "string",
      "display_name": "Ada Lovelace",
      "eu": false,
      "id": "id_123",
      "is_default": false
    }
  ]
}

AgentProvider

One of: "anthropic" , "google" , "mistral" , "openai" , "deepseek"

Example
"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"

Example
"working"

AgentRuntime

One of: "ivy" , "sandbox"

Example
"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.

Example
{
  "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

Example
{
  "data": {
    "message_id": "message_123",
    "model": "string"
  },
  "event": "message_start"
}

AgentTextDelta

Data of the text_delta SSE event.

  • text string required
Example
{
  "text": "Hello, Ivy"
}

AgentThinking

Data of the thinking SSE event: the summarized progress note so far, replacing the one before it.

  • text string required
Example
{
  "text": "Hello, Ivy"
}

AgentToolCall

Data of the tool_call SSE event.

  • id string required
  • input any required
  • name string required
Example
{
  "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, …).

  • data any required
  • event string required
  • tool_use_id string required
Example
{
  "data": {},
  "event": "string",
  "tool_use_id": "tool_use_123"
}

AgentToolResult

Data of the tool_result SSE event.

Example
{
  "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"
  }
}

AgentUnavailableReason

Why an agent can't run in this space now.

One of: "provider_not_configured" , "provider_not_enabled" , "runtime_not_available" , "no_models" , "config_pending" , "source_missing" , "source_inactive"

Example
"provider_not_configured"

AiProviderSetting

Example
{
  "enabled": false,
  "provider": "anthropic"
}

AiSettings

  • eu_available boolean required

    Whether 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_only boolean required

    EU-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.

  • providers AiProviderSetting[] required

    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_at string (date-time) | null

    When an owner or admin last changed them; null while they are the defaults.

Example
{
  "eu_available": false,
  "eu_only": false,
  "providers": [
    {
      "enabled": false,
      "provider": "anthropic"
    }
  ],
  "updated_at": "2026-01-15T09:30:00Z"
}

Answer

  • confidence number (double) | null

    How 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.

  • id string required

    The question's id.

  • kind QuestionKind required
  • probabilities object | null

    For choice each option's probability, for score each level's.

  • probability number (double) | null

    How likely the answer is: of yes for boolean, of the chosen option for choice; null for score, whose levels are in probabilities.

  • value DecisionValue required
Example
{
  "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"

Example
"every_message"

ApiKeyInfo

The calling API key.

  • expires_at string (date-time) | null
  • key_id string required
  • name string required
  • organisation_id string required
  • scopes ApiScope[] required
  • service_identity_id string required
  • service_identity_name string required
Example
{
  "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"

Example
"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"

Example
"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"

Example
"frontend"

AppApprovalProblem

  • code string required
  • message string required
Example
{
  "code": "not_found",
  "message": "A short explanation for people"
}

AppApprovalReview

What an admin reviews before approving one of the space's own apps.

  • app_id string required
  • approved ApprovedAppSnapshot | null
  • can_approve boolean required

    The caller may approve current (an admin-tier approval still asks for step-up).

  • can_revoke boolean required
  • changes AppSnapshotChange[] required

    current against approved by path; without an approval, every file is added.

  • current AppSnapshot | null
  • needs_admin AppAdminReason[] required

    Of current; empty when the space's editors may approve it.

  • org_admins_approve boolean required

    The organisation lets only its owners and admins approve apps, whatever needs_admin says.

  • problem AppApprovalProblem | null
Example
{
  "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.

  • write needs the app's own access = "write".

  • name string required

    The collection's name in the space.

Example
{
  "access": "read",
  "name": "Ada Lovelace"
}

AppDefinition

  • assistant LocalisedText | null
  • collections AppCollection[]

    Absent in versions stored before apps declared collections.

  • description LocalisedText required
  • egress string[]

    The hosts its processes reach through the egress proxy, on HTTPS, or host:port for a port the installation's proxy opens to apps, such as IMAP's 993.

  • environment string | null

    The sandbox environment its processes need (runtime in older manifests).

  • fallback AppFallback | null
  • frontend AppFrontend required
  • id string required
  • manifest string

    Where its manifest is: a *.ivy-app.toml file; .ivy/apps/<id>.toml in versions stored before them.

  • name LocalisedText required
  • open string | null

    The file a page app opens when it is opened by itself, as a path in the space: its data, which approving the app doesn't pin.

  • opens FileHandler[] required
  • page string | null

    The page of a page frontend: a path in the version.

  • processes AppProcess[]
  • root string | null

    The folder of the version the app is made of, outside .ivy/.

  • Absent in versions stored before run handlers existed.

  • scratch string[]

    Paths under /workspace that are never written back.

  • Absent in versions stored before services existed.

  • share_files string[]

    The folders or globs a share of the app copies ([share] files).

  • shareable boolean
Example
{
  "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"

Example
"builtin"

AppFileChange

One of: "added" , "removed" , "modified"

Example
"added"

AppFrontend

One of: "builtin" , "page" , "port" , "terminal" , "none"

Example
"builtin"

AppInstance

One running copy of an app: in the sandbox session of a conversation, or the space's own.

  • access AppAccess required
  • app_id string required
  • conversation_id string | null

    The conversation of a session-owned instance.

  • frontend AppFrontend required

    From the snapshot it runs: a port frontend opens through …/frontend-grants.

  • id string required
  • last_active_at string (date-time) required
  • name LocalisedText required
  • owner AppInstanceOwner required
  • reason string | null

    Why 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) or unavailable.

  • snapshot_hash string required
  • started_at string (date-time) required
  • state AppInstanceState required
  • status AppInstanceStatus required
  • stopped_at string (date-time) | null
Example
{
  "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.

Example
{
  "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"

Example
"session"

AppInstanceState

One of: "starting" , "running" , "stopping" , "stopped"

Example
"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.

  • dropped string[]

    Space paths a read app changed, which weren't saved.

  • processes AppProcessStatus[] required
  • skipped string[]

    Space paths a write app 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).

Example
{
  "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.

  • conflicts object
  • deletes string[]
Example
{
  "conflicts": {},
  "deletes": [
    "string"
  ]
}

AppOpenFile

A page app's default file (its manifest's open), as the space has it now.

  • file_id string required
  • path string required

    Its path from the top of the space, such as crm/data/crm.crm-data.

Example
{
  "file_id": "file_123",
  "path": "string"
}

AppPage

A page app's page, from the version of the space that declares the app.

  • html string required

    The page as one HTML document. Run it only in the sandboxed preview origin (runnerOrigin), never on the app's own origin.

  • source_space_id string required

    The space that declares the app, such as ivy-core.

  • source_workspace_id string required

    Legacy name of source_space_id, sent and accepted until 2027-05-31.

  • version_id string required
Example
{
  "html": "string",
  "source_space_id": "source_space_123",
  "source_workspace_id": "source_workspace_123",
  "version_id": "version_123"
}

AppProcess

  • command string[] required

    The program and its arguments, run in the app's root without a shell.

  • id string required
  • mcp boolean

    It speaks MCP over stdio and serves the app's tools.

  • port integer (int32) | null

    The port a port frontend or a service is served from.

    minimum 0

Example
{
  "command": [
    "string"
  ],
  "id": "id_123",
  "mcp": false,
  "port": 0,
  "ready": "started",
  "restart": "never"
}

AppProcessState

One of: "starting" , "ready" , "running" , "exited" , "failed"

Example
"starting"

AppProcessStatus

  • busy string | null

    Why the process asked not to be stopped, while it does.

  • error string | null
  • exit_code integer (int32) | null
  • id string required
  • ports integer (int32)[]
  • progress number (double) | null

    From 0 to 1.

  • restarts integer (int32) required

    minimum 0

  • state AppProcessState required
  • text string | null

    The last status line the process sent.

Example
{
  "busy": "string",
  "error": "string",
  "exit_code": 1,
  "id": "id_123",
  "ports": [
    0
  ],
  "progress": 1,
  "restarts": 0,
  "state": "starting",
  "text": "Hello, Ivy"
}

ApprovedAppSnapshot

  • approved_at string (date-time) required
  • approved_by string required
  • from_message boolean required

    Approved from an approval request in a conversation rather than this screen.

  • last_editor boolean required

    The approver had made the latest edit to one of its files.

  • snapshot AppSnapshot required
Example
{
  "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.

  • kind SecretKind required
  • name string required
  • optional boolean

    The app starts without it, and its process asks whether the person signed in; without it a start waits for the sign-in.

  • per SecretOwner required
  • scopes string[] required

    The OAuth scopes the sign-in asks for.

Example
{
  "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.

  • kind AppServiceKind required
  • path string required

    The path the WebSocket opens, starting with /.

  • process string required

    The id of the process that serves it, on its port.

Example
{
  "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"

Example
"speech-to-text"

AppSnapshot

Exactly what an app runs: its definition and its files, hashed together.

  • definition AppDefinition required
  • files AppSnapshotFile[] required

    The manifest, the page and every file under the app's root but its default file, by path.

  • hash string required

    SHA-256 over the files' paths and hashes, computed like a version id.

  • input_schemas object required

    Each tool's input schema, by tool name.

  • source AppSnapshotSource required
Example
{
  "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

  • change AppFileChange required
  • diff string | null

    A unified diff of a changed UTF-8 file, when both sides are small enough to show.

  • path string required
  • size_bytes integer (int64) required

    The file's size now; a removed file's as approved.

Example
{
  "change": "added",
  "diff": "string",
  "path": "string",
  "size_bytes": 1
}

AppSnapshotFile

  • file_id string | null

    For the space's own files: the file and the version read.

  • file_version_id string | null
  • path string required
  • sha256 string required
  • size_bytes integer (int64) required
Example
{
  "file_id": "file_123",
  "file_version_id": "file_version_123",
  "path": "string",
  "sha256": "string",
  "size_bytes": 1
}

AppSnapshotSource

One of: object | object

Example
{
  "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>.

  • description string required

    For the model, in English.

  • input_schema string required

    Its JSON Schema, a path relative to the app's root.

  • name string required
Example
{
  "description": "string",
  "input_schema": "string",
  "name": "Ada Lovelace"
}

AppToolCallResult

What the app's MCP server answered.

  • content object[] required

    MCP content items as the server sent them: text, image and others.

  • is_error boolean required

    The tool reported an error (MCP isError).

Example
{
  "content": [
    {}
  ],
  "is_error": false
}

AppUiResource

A static MCP Apps UI resource, ui://<app>/<name>.

  • name string required
  • page string required

    An HTML file, a path relative to the app's root.

Example
{
  "name": "Ada Lovelace",
  "page": "string"
}

AskStatus

One of: "draft" , "open" , "answered" , "declined" , "expired" , "cancelled"

Example
"draft"

AuthorKind

One of: "user" , "agent" , "system"

Example
"user"

BatchDelete

  • id string | null

    The record's id; or give its key.

  • key object | null

    The record's key value.

Example
{
  "id": "id_123",
  "key": {}
}

BatchItem

  • error BatchItemError | null
  • index integer (int32) required

    The item's place in the batch, from 0.

    minimum 0

  • key string | null

    The item's key value as text, for an upsert or a delete by key.

  • outcome ItemOutcome required
  • record_id string | null
Example
{
  "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

  • code string required
  • field string | null

    The request field at fault, such as fields.name.

  • message string required
  • reason string | null

    A stable code for a validation failure, such as required.

Example
{
  "code": "not_found",
  "field": "string",
  "message": "A short explanation for people",
  "reason": "string"
}

BatchSync

  • delete_missing boolean

    After 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.

Example
{
  "delete_missing": false
}

BatchUpsert

  • fields object

    Values by field key, as PUT …/records/by-key/{value} takes them.

  • key object required

    The key's value: a text, or a whole number for a number key.

Example
{
  "fields": {},
  "key": {}
}

BindingState

Where a value's binding stands (§7.5).

One of: "current" , "needs_confirmation" , "behind"

Example
"current"

CallAppTool

  • input object required

    The tool's input, checked against the schema the app declares for it.

Example
{
  "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.

  • code string required

    field_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_changed or source_removed.

  • message string required
  • path string required

    Where in the new version, such as fields.stage.options.

Example
{
  "code": "not_found",
  "message": "A short explanation for people",
  "path": "string"
}

ChangeSet

  • awaiting_user_id string required

    The 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_id string required
  • conflicts PendingConflictItem[] required
  • created_at string (date-time) required
  • deletes PendingDeleteItem[] required
Example
{
  "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_at string (date-time) | null

    Archived channels are read-only.

  • created_at string (date-time) required
  • created_by ActorRef required
  • default_agent string | null

    The agent that answers @Ivy mentions in its threads and the flows that post to it: an agent id, ivy for the built-in assistant. Agents answer only when mentioned.

  • id string required
  • is_default boolean required

    The space's default channel ("Everyone in this space", §5.1): open, and never archived, deleted or bound.

  • last_activity_at string (date-time) | null

    The 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_message ChannelLatestMessage | null
  • member boolean required

    The 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_count integer (int32) required

    For the default channel, the space's member count.

    minimum 0

  • membership ChannelMembership required

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

  • mirrored boolean

    Its 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.

  • name string required
  • notify NotifyLevel | null
  • pinned_file_ids string[] required

    Up to [20] space files, in pin order. Members see them resolved with listChannelPins; trashed and deleted ones drop out there.

  • platform Platform | null
  • platform_channel_name string | null

    The name of the Slack or Teams channel a platform channel is bound to, without #, for its readers, when the platform gave it.

  • purpose string required

    Given to agents as context in every thread.

  • run_state AgentRunState | null
  • space_id string required
  • updated_at string (date-time) required
  • updates boolean required

    The space's Updates channel.

  • workspace_id string required

    Legacy name of space_id, sent and accepted until 2027-05-31.

Example
{
  "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 ActorRef required
  • author_name string | null

    A platform_user author's name on Slack or Teams.

  • conversation_id string required

    The channel thread it was posted in.

  • created_at string (date-time) required
  • text string required

    Its text on one line without formatting, mentions as @Name, cut at a word to at most 140 characters and "…".

Example
{
  "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

Example
{
  "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"

Example
"open"

ChannelPinList

  • items File[] required

    The pinned files the caller can open, in pin order.

Example
{
  "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_id string required
  • name string required
Example
{
  "file_id": "file_123",
  "name": "Ada Lovelace"
}

ChatMessage

  • acting_for ActorRef | null
  • ask_id string | null

    An agent's ask (or approval request) and a person's answer to it: read it with getAsk (§9).

  • attachments ChatAttachment[]

    The space files the person attached to a user message.

  • author ActorRef | null
  • author_name string | null

    A platform_user author's name on Slack or Teams, as the platform gave it.

  • branch MessageBranch | null
  • created_at string (date-time) required
  • deleted_at string (date-time) | null

    A deleted message keeps its place as a tombstone.

  • edited_at string (date-time) | null
  • feedback Feedback | null
  • file_links FileRef[]

    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. Other ivy-file: links in the text are not files.

  • id string required
  • in_reply_to string | null

    On an agent's reply: the message it answers.

  • mentions string[]

    Participant keys (user:<id>, agent:<id>) the message mentions, checked by the server.

  • model string | null

    The model that produced an assistant message.

  • notice SystemNotice | null
  • origin MessageOrigin | null
  • parts ChatPart[] required
  • quote MessageQuote | null
  • Filled when the conversation is read; never stored with the message.

  • read_through string | null

    On an agent's reply: the last message its turn read. Messages between that one and the reply were posted while it ran.

  • role ChatRole required
  • stopped_by ActorRef | null
  • On an agent's reply, only for the person its turn acted for: the model's reasoning.

Example
{
  "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_id string | null

    The channel binding; absent for a direct chat.

  • channel_name string | null
  • platform Platform required
Example
{
  "binding_id": "binding_123",
  "channel_name": "Ada Lovelace",
  "platform": "slack"
}

ChatPart

One of: object | object

Example
{
  "text": "Hello, Ivy",
  "type": "text"
}

ChatRole

One of: "user" , "assistant" , "system"

Example
"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_part integer (int32) required

    Where it sits among the message's parts: before parts[before_part], or after them all when it equals their count.

    minimum 0

  • duration_ms integer (int64) | null

    minimum 0

  • text string required
Example
{
  "before_part": 0,
  "duration_ms": 0,
  "text": "Hello, Ivy"
}

CheckFile

A file of the space, or draft text that isn't saved.

  • content string | null

    Draft text, instead of file_id; needs kind or path.

  • file_id string | null

    Checks the file's readable version, or version_id.

  • kind FileKind | null
  • path string | null

    Where the draft would be saved, such as notes/notes.ivy-app.toml: decides the kind when kind is absent, and an app manifest's id.

  • version_id string | null
Example
{
  "content": "string",
  "file_id": "file_123",
  "kind": "workflow",
  "path": "string",
  "version_id": "version_123"
}

CheckFlow

  • file_id string required
  • version_id string required
Example
{
  "file_id": "file_123",
  "version_id": "version_123"
}

CheckIssue

  • code string required
  • column integer | null

    minimum 0

  • line integer | null

    1-based; absent for a problem found outside the file, such as a missing reference.

    minimum 0

  • message string required
  • path string required

    Where in the file, such as steps[2].ask.to; empty for the whole file.

Example
{
  "code": "not_found",
  "column": 0,
  "line": 0,
  "message": "A short explanation for people",
  "path": "string"
}

CheckStatus

One of: "ok" , "error" , "disabled"

Example
"ok"

CodeExecutionInfo

Whether code runs and the assistant's sandbox are available, and the plan's limits.

  • available boolean required
  • builds boolean required

    Whether the installation builds organisation environments from Dockerfiles.

  • default_timeout_seconds integer (int64) required

    minimum 0

  • max_concurrent_runs integer (int32) required

    minimum 0

  • max_concurrent_sessions integer (int32) required

    minimum 0

  • max_timeout_seconds integer (int64) required

    minimum 0

  • reason string | null

    Why it is unavailable, for organisation admins only: the sandbox service's own words, which may name cluster addresses.

  • reason_code UnavailableReason | null
  • sizes SandboxSize[] required

    The same sizes with the resources a sandbox of each gets.

  • status CodeExecutionStatus required

    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.

  • tiers ComputeTier[] required

    The sizes the installation offers that the organisation's plan includes, smallest first; a run that names none gets the installation's smallest.

Example
{
  "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"

Example
"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_seconds integer (int64) required

    minimum 0

  • cpu_millis integer (int64) required

    minimum 0

  • credits_ucr integer (int64) required

    Credits charged, in millionths of a credit.

  • environment string required

    The sandbox environment the run ran in.

  • exit_code integer (int32) | null
  • failure_code string | null

    Why a run failed without an exit code (e.g. sandbox_interrupted).

  • file_id string required
  • file_name string required
  • finished_at string (date-time) | null
  • log_available boolean required
  • log_truncated boolean required
  • outputs RunOutputFile[] required
  • queued_at string (date-time) | null
  • run_id string required
  • runtime string required

    The same as environment, for clients from before environments.

  • source RunSource required
  • started_at string (date-time) | null
  • status RunStatus required
  • tier string required
  • timeout_seconds integer (int32) required

    minimum 0

  • version_id string required
  • wall_millis integer (int64) required

    minimum 0

Example
{
  "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

Example
{
  "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

  • collection CollectionSummary required
  • pending_schema object | null

    The version waiting for a space admin, as its file has it.

  • schema object required

    The declaration it serves, as a collection file has it; a built-in collection's merged with the space's extension.

Example
{
  "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

Example
{
  "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"

Example
"applied"

CollectionSummary

  • builtin boolean required

    Ships with Ivy; file_id is then the space's extension file, if it has one.

  • detached_at string (date-time) | null
  • file_id string | null
  • id string required
  • label string required
  • name string required
  • pending PendingChange | null
  • record_count integer (int64) required

    How many records it holds, as last counted.

    minimum 0

  • schema_hash string required

    Every record write names the hash of the declaration it was checked against.

  • state CollectionState required
  • version_id string | null

    The file version it serves; absent for a built-in collection the space doesn't extend.

  • views ViewSummary[] required

    The space's boards over it, by title.

Example
{
  "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

Example
"string"

ConflictChoice

One of: "keep_mine" , "keep_theirs" , "save_copy"

Example
"keep_mine"

ConnectionList

GET …/connections.

  • can_manage boolean required

    The caller may set, rotate, remove and confirm values: a person who is a space admin (step-up is still asked for when they do).

  • connections ConnectionSummary[] required
Example
{
  "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.

  • errors CheckIssue[] required
  • file_id string required
  • version_id string required
Example
{
  "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.

  • auth string | null

    bearer, basic, header, query, oauth2_client_credentials or github_app; absent when it is no longer declared.

  • binding BindingState | null
  • bound_version_id string | null
  • declared boolean required
  • description string | null
  • direct_runs boolean required
  • github_app GithubApp | null
  • hosts string[] required
  • last_used_at string (date-time) | null
  • name string required
  • rotated_at string (date-time) | null
  • set_at string (date-time) | null
  • token_host string | null

    The host of the token endpoint, for oauth2_client_credentials: outside reach like hosts, but never callable by code.

  • value_set boolean required
Example
{
  "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"

Example
"connected"

ConnectorFolderState

Whether the space can see a mounted drive's contents.

Example
{
  "access": "connected",
  "mount_id": "mount_123",
  "provider": "microsoft",
  "web_url": "https://example.com"
}

Conversation

  • agent_id string | null

    The chat's WorkspaceAgent.id; absent for the built-in assistant.

  • answer_mode AnswerMode | null
  • archived_at string (date-time) | null

    Since 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.

  • assignee string | null

    A participant key.

  • can_post boolean | null

    Whether the caller may post here: they take part, or may join by posting. false for a channel thread whose open channel they haven't joined (§5), or whose channel is archived.

  • channel_id string | null

    Set on a channel thread: the channel it belongs to.

  • chat_origin ChatOrigin | null
  • created_at string (date-time) required
  • created_by ActorRef | null
  • id string required
  • kind ConversationKind | null
  • last_message_at string (date-time) | null
  • last_read integer (int64) | null

    The caller's read position: the index of the last message they read (PATCH with last_read moves it).

  • last_reply_at string (date-time) | null

    When the latest reply counted in reply_count was written; absent without one.

  • last_reply_by ActorRef | null
  • latest_replies ReplyPreview[] | null

    Only in a channel's thread list (view=channel): its latest replies, at most 3, oldest first, as its post shows them under itself.

  • mentioned boolean | null

    A message mentions the caller since they last marked the conversation read.

  • notify NotifyLevel | null
  • participant_keys string[] | null

    The 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_key string | null

    In a direct conversation, the other participant's key (user:<id> or agent:<id>). Conversations with the same peer stay separate.

  • pinned boolean

    Pinned chats come first in listConversations. With several people, each pins for themself.

  • post ReplyPreview | null
  • reply_count integer (int32) | null

    The 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_state AgentRunState | null
  • space_id string required
  • status ConversationStatus | null
  • title string required
  • unread_count integer (int32) | null

    Messages after the caller's read position.

    minimum 0

  • updated_at string (date-time) required
  • visibility ConversationVisibility required
  • workspace_id string required

    Legacy name of space_id, sent and accepted until 2027-05-31.

Example
{
  "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_id string | null

    A reply still being written: follow it with GET …/runs/{run_id}/events.

  • conversation Conversation required
  • messages ChatMessage[] required
  • mirror ConversationMirror | null
  • The messages waiting for the current reply to finish.

  • stream_seq integer (int64) | null

    While conversations with people are on: the live stream sequence this state reflects (GET …/events with Last-Event-ID continues from it).

    minimum 0

Example
{
  "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"

Example
"direct"

ConversationList

Example
{
  "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_name string | null

    The platform channel's name, without #.

  • hidden_external_messages integer (int32) required

    Messages from people who aren't linked members of this space: never stored, only counted.

    minimum 0

  • platform Platform required
Example
{
  "channel_name": "Ada Lovelace",
  "hidden_external_messages": 0,
  "platform": "slack"
}

ConversationStatus

One of: "open" , "waiting" , "done"

Example
"open"

ConversationStreamEvent

An event of streamConversationEvents: ids, and for a message the message as it is when delivered.

  • conversation_id string required
  • kind StreamKind required
  • message ChatMessage | null
  • message_id string | null
  • run_id string | null
Example
{
  "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"

Example
"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"

Example
"private"

CreateChannel

  • default_agent string | null

    An agent active in the space (ivy for the built-in assistant).

  • members string[]

    No longer taken: everyone in the space finds the channel and joins it themselves. Must be empty.

  • membership ChannelMembership | null
  • name string required

    1-80 characters, unique in the space (ignoring case).

  • purpose string | null

    At most 1,000 characters.

Example
{
  "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_id string | null

    Starts 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 agent participants names, which answers its first message. participants may also name people who read the channel.

  • participants string[]

    The others: user:<id> for space members, agent:<id> for agents active in the space (agent:ivy for the built-in assistant). The caller is always a participant.

  • title string | null

    1-200 characters; without it, an agent names the chat, and a conversation without one takes the first line of its first message.

  • visibility ConversationVisibility | null
Example
{
  "channel_id": "channel_123",
  "participants": [
    "string"
  ],
  "title": "string",
  "visibility": "private"
}
  • emailed integer (int32) required

    How many emails were queued.

    minimum 0

  • share_link ShareLink required
  • url string required

    {APP_ORIGIN}/s/{token}. Shown only here: Ivy keeps only a hash of the token.

Example
{
  "emailed": 0,
  "share_link": {
    "access": "view",
    "app": {
      "budget_credits": 0,
      "chosen_role": "viewer",
      "last_copy_at": "2026-01-15T09:30:00Z",
      "left_out": [
        "string"
      ],
      "refresh": "follow",
      "share_space_id": "share_space_123",
      "share_space_name": "Ada Lovelace",
      "share_workspace_id": "share_workspace_123",
      "share_workspace_name": "Ada Lovelace"
    },
    "audience": "organisation",
    "can_revoke": false,
    "created_at": "2026-01-15T09:30:00Z",
    "created_by": {
      "id": "id_123",
      "name": "Ada Lovelace",
      "type": "user"
    },
    "download_count": 0,
    "entry_id": "entry_123",
    "entry_kind": "file",
    "entry_name": "Ada Lovelace",
    "expires_at": "2026-01-15T09:30:00Z",
    "id": "id_123",
    "last_opened_at": "2026-01-15T09:30:00Z",
    "open_count": 0,
    "password_protected": false,
    "paused_reason": "creator_lost_access",
    "revoked_at": "2026-01-15T09:30:00Z",
    "role": "viewer",
    "space_id": "space_123",
    "state": "active",
    "version": 1,
    "workspace_id": "workspace_123"
  },
  "url": "https://example.com"
}

CreateFolder

  • name string required

    1-255 characters.

  • parent_id string | null

    Defaults to root.

Example
{
  "name": "Ada Lovelace",
  "parent_id": "parent_123"
}

CreateRecord

  • fields object required

    Values by field key; fields left out get their default.

  • place RecordPlace | null
Example
{
  "fields": {},
  "place": {
    "column": "string",
    "view": "string"
  }
}

CreateRecordComment

  • body string required

    Markdown, 1 to 8,000 characters.

Example
{
  "body": "string"
}
  • access ShareAccess | null
  • audience ShareAudience | null
  • budget_credits integer (int32) | null

    App links: the link identity's credits a billing period, 1 to the organisation's max_app_link_budget_credits; defaults to 100.

    minimum 0

  • conversation_id string | null

    The conversation whose composer offered the link, which the caller reads; recorded with the link's creation.

  • entry_id string required

    A file's or folder's id, or with entry_kind app an app's id.

  • entry_kind ShareEntryKind | null
  • expires_at string (date-time) | null

    Left out: external links expire after 7 days (or the organisation's maximum), others never. null: no expiry, unless the organisation forces one for external links.

  • notify ShareNotify | null
  • password string | null

    8-128 characters; stored as an Argon2id hash.

  • pin_version integer (int32) | null

    A file's version number to serve; left out or null follows the newest clean version.

  • role ShareRole | null
Example
{
  "access": "view",
  "audience": "organisation",
  "budget_credits": 0,
  "conversation_id": "conversation_123",
  "entry_id": "entry_123",
  "entry_kind": "file",
  "expires_at": "2026-01-15T09:30:00Z",
  "notify": {
    "emails": [
      "string"
    ],
    "message": "A short explanation for people"
  },
  "password": "string",
  "pin_version": 1,
  "role": "viewer"
}

CredentialState

Whether an agent can use the credential its configuration names.

One of: "ready" , "outside_eu" , "not_granted" , "wrong_provider"

Example
"ready"

DecisionOption

  • description string | null

    What the option stands for, when its name doesn't say.

  • name string required

    What the answer names when it chooses this option; unique within the question.

Example
{
  "description": "string",
  "name": "Ada Lovelace"
}

DecisionRequest

  • questions Question[] required

    1 to 16 questions, answered together against the same state.

  • state string required

    What the questions are about: a message, a document, a situation.

Example
{
  "questions": [
    {
      "id": "id_123",
      "kind": "boolean",
      "options": [
        {
          "description": "string",
          "name": "Ada Lovelace"
        }
      ],
      "prompt": "string",
      "scale": [
        "string"
      ]
    }
  ],
  "state": "string"
}

Decisions

  • answers Answer[] required

    One per question, in the request's order.

  • model string required

    The model version that answered.

Example
{
  "answers": [
    {
      "confidence": 1,
      "id": "id_123",
      "kind": "boolean",
      "probabilities": {},
      "probability": 1,
      "value": false
    }
  ],
  "model": "string"
}

DecisionValue

One of: boolean | string | number (double)

Example
false

DiffHunk

  • lines DiffLine[] required
  • new_lines integer (int32) required

    minimum 0

  • new_start integer (int32) required

    minimum 0

  • old_lines integer (int32) required

    minimum 0

  • old_start integer (int32) required

    From 1.

    minimum 0

Example
{
  "lines": [
    {
      "kind": "context",
      "text": "Hello, Ivy"
    }
  ],
  "new_lines": 0,
  "new_start": 0,
  "old_lines": 0,
  "old_start": 0
}

DiffLine

  • kind DiffLineKind required
  • text string required

    Without its line ending.

Example
{
  "kind": "context",
  "text": "Hello, Ivy"
}

DiffLineKind

One of: "context" , "added" , "removed"

Example
"context"

Disposition

One of: "attachment" , "inline"

Example
"attachment"

DriveKind

One of: "onedrive" , "sharepoint_library" , "my_drive" , "shared_drive"

Example
"onedrive"

EditMessage

  • attachments string[]
  • client_message_id string | null

    As in SendMessage: a repeated id follows the run the first request started.

  • model string | null
  • quote QuoteInput | null
  • text string required
Example
{
  "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.

  • available boolean | null

    Files only: a clean version can be opened.

  • connector EntryConnector | null
  • content_type string | null

    Files only; sniffed from the content.

  • current_version integer (int32) | null
  • id string required
  • kind EntryKind required
  • name string required
  • parent_id string required

    root at the top of the space.

  • scan_status ScanStatus | null
  • size_bytes integer (int64) | null

    Files only.

    minimum 0

  • updated_at string (date-time) required
  • updated_by string | null
Example
{
  "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.

  • download boolean required
  • move boolean required
  • rename boolean required
  • restore_version boolean required
  • trash boolean required
  • versions boolean required
  • write boolean required
Example
{
  "download": false,
  "move": false,
  "rename": false,
  "restore_version": false,
  "trash": false,
  "versions": false,
  "write": false
}

EntryConnector

An entry of a connected drive.

  • export_formats string[]

    ?format= values GET …/content accepts for a native document.

  • mount_id string required
  • native_document boolean required

    A Google Doc, Sheet, Slides or Drawing: opens as an export, edited at Google.

  • native_type string | null

    The native document's own type (application/vnd.google-apps.document, …); content_type is its view export.

  • provider Provider required
  • web_url string | null

    Opens the item at the provider.

Example
{
  "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"

Example
"folder"

EntryList

Example
{
  "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

Example
{
  "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

Example
{
  "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"

Example
"name"

EntrySource

Where an entry's content lives: Ivy storage, or a connected drive (see connector).

One of: "ivy" , "connector"

Example
"ivy"

ErrorBody

Example
{
  "error": {
    "code": "not_found",
    "details": {},
    "field": "string",
    "message": "A short explanation for people",
    "reason": "string"
  }
}

ErrorDetail

  • code string required
  • details object | null

    Conflict context on some 409/412 responses: existing_id, current, current_version_id; on a validation_failed with a reason, its parameters (min, max, value).

  • field string | null

    On a validation_failed: the request field the error is about, when it is about one.

  • message string required
  • reason string | null

    On 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; message is English for logs and API consumers.

Example
{
  "code": "not_found",
  "details": {},
  "field": "string",
  "message": "A short explanation for people",
  "reason": "string"
}

Feedback

One of: "up" , "down"

Example
"up"

File

  • capabilities EntryCapabilities required
  • connector EntryConnector | null
  • content_type string required

    Of the current version; sniffed from the content.

  • created_at string (date-time) required
  • created_by string required
  • current_version integer (int32) required

    The newest version, whatever its scan status.

  • current_version_id string required

    The content ETag of the current version (If-Match of PUT …/content).

  • dimensions ImageDimensions | null
  • id string required
  • name string required
  • parent_id string required
  • path PathSegment[] required
  • revision integer (int64) required

    The JSON ETag is "r{revision}".

  • scan_status ScanStatus required

    Of the current version.

  • served_version integer (int32) | null

    The newest clean version, which downloads serve; absent until one is clean.

  • served_version_id string | null
  • size_bytes integer (int64) required

    Of the current version.

    minimum 0

  • source EntrySource required
  • space_id string required
  • status FileStatus required
  • updated_at string (date-time) required
  • updated_by string required
  • workspace_id string required

    Legacy name of space_id, sent and accepted until 2027-05-31.

Example
{
  "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_id string | null

    The file and version checked; absent for a draft.

  • kind FileKind required
  • path_changes string[]

    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’."

  • problems FileProblem[] required
  • reference HelpReference required
  • valid boolean required

    No errors; warnings don't count.

  • version_id string | null
Example
{
  "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/*).

  • default boolean

    Opens these files before the apps of Ivy Core, unless the space or the person chose another app.

  • edits boolean required
  • extensions string[]
  • mime_types string[]
Example
{
  "default": false,
  "edits": false,
  "extensions": [
    "string"
  ],
  "mime_types": [
    "string"
  ]
}

FileKind

One of: "workflow" , "connections" , "app_manifest" , "dashboard" , "collection" , "board"

Example
"workflow"

FileProblem

  • code string required
  • column integer | null

    minimum 0

  • hint string | null

    What to do about it, in English.

  • line integer | null

    1-based; absent for a problem found outside the file, such as a missing reference.

    minimum 0

  • message string required
  • path string required

    Where in the file, such as steps[2].ask.to; empty for the whole file.

  • reference HelpReference | null
  • severity Severity required
Example
{
  "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_id string required
  • name string required
  • path string | null

    From the top of the space, such as /Reports/Q3.csv.

  • space_id string | null

    The space the file is in, when it isn't the conversation's: one the conversation's space reaches through connections.

  • version integer (int64) | null

    The version read or linked; absent for the current version and for connected-drive files, which have no Ivy versions.

  • workspace_id string | null

    Legacy name of space_id, sent and accepted until 2027-05-31.

Example
{
  "file_id": "file_123",
  "name": "Ada Lovelace",
  "path": "string",
  "space_id": "space_123",
  "version": 1,
  "workspace_id": "workspace_123"
}

FileStatus

One of: "active" , "trashed"

Example
"active"

FileTemplate

A kind of file the app adds to the "New file" menu.

  • extension string required
  • icon string required

    A Material Symbols name.

  • template string | null

    A file of the version outside .ivy/ whose bytes are the new file's content; absent for an empty file.

Example
{
  "extension": "string",
  "icon": "string",
  "template": "string"
}

FileVersion

  • author FileVersionAuthor required
  • content_type string required
  • created_at string (date-time) required
  • dimensions ImageDimensions | null
  • id string required

    The content ETag of this version.

  • restored_from integer (int32) | null

    The version this one restored.

  • scan_detail string | null

    The signature or failure reason; only for the uploader and space admins.

  • scan_status ScanStatus required
  • sha256 string required
  • size_bytes integer (int64) required

    minimum 0

  • source FileVersionSource required
  • source_app string | null
  • version integer (int32) required
Example
{
  "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_name string required
  • id string required
  • kind AuthorKind required
Example
{
  "display_name": "Ada Lovelace",
  "id": "id_123",
  "kind": "user"
}

FileVersionList

Example
{
  "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"

Example
"upload"

FlowCheck

The check of one version (POST …/flows/check).

  • errors CheckIssue[] required
  • file_id string required
  • identity_cannot_reach UnreachableItem[] required

    What the space identity can't reach; activation fails until it's empty.

  • needs_admin string[] required

    Why activation needs a space admin with step-up; empty when an editor may.

  • outside_reach object | null

    The outside-reach report (§7.3), when the file parses.

  • path_changes string[]

    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’."

  • How each step sits among the others, when the file parses (flow-paths-design §5).

  • people_run_only boolean required

    A key can't start it: it asks people or emails them (§8.3).

  • valid boolean required

    No errors: an activation may proceed (subject to who activates and the plan cap).

  • version_id string required
  • What may not be meant but doesn't stop an activation.

Example
{
  "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_id string required
  • name string required
  • path string required

    The space path a code step's code: takes, Finance/sync.py.

Example
{
  "file_id": "file_123",
  "name": "Ada Lovelace",
  "path": "string"
}

FlowCodeFileList

  • items FlowCodeFile[] required

    By path.

  • truncated boolean required

    More files exist than the list holds; type a path instead.

Example
{
  "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_id string | null
  • blocked_by_org_admin boolean required
  • current_version_id string required
  • file_id string required
  • file_name string required

    The file name.

  • following boolean required

    The caller follows the flow's notices (§8.1).

  • last_run LastRun | null
  • name string | null

    The active (or last active) version's name.

  • next_run_at string (date-time) | null
  • parent_id string required
  • paused_reason PausedReason | null
  • status FlowStatus required
  • trigger_kinds string[] required
Example
{
  "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

Example
{
  "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

  • existing boolean

    A fire for a record and attempt that has its run already answers that run.

  • outcome string required

    started, queued or skipped.

  • reason string | null

    Why it was skipped.

  • run_id string required
Example
{
  "existing": false,
  "outcome": "string",
  "reason": "string",
  "run_id": "run_123"
}

FlowRunItem

A run in the history: no content.

  • at string (date-time) required
  • credits_ucr integer (int64) | null

    What the run has cost so far; absent for a start that never made a run.

  • failure_code string | null
  • finished_at string (date-time) | null
  • run_id string required
  • skip_reason string | null
  • started_by string | null

    Who 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.

  • status string required

    queued, running, waiting, succeeded, failed, skipped, rejected, cancelled or abandoned.

  • test boolean required
  • trigger_id string | null
  • trigger_kind string required

    The trigger kind, or test.

Example
{
  "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

  • items FlowRunItem[] required
  • next_before string (date-time) | null

    Pass as before for the next page.

Example
{
  "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"

Example
"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_person boolean

    It acted as the person in started_by, rather than as the space's identity.

  • can_run_again boolean required

    You may run it again: a record trigger started it, and you're a person.

  • content_visible boolean required
  • conversation_id string | null
  • created_at string (date-time) required
  • credits_ucr integer (int64) required
  • erased boolean

    Its content was removed on erasure (§10).

  • failure_code string | null
  • finished_at string (date-time) | null
  • flow_id string required
  • graph boolean

    It advances by the graph of its steps: some run after others, on paths, or at the same time.

  • id string required
  • input object | null
  • reused_from string | null

    "Run from here": the run whose steps before the chosen one this one reuses.

  • space_id string required
  • started_by string required
  • status FlowRunStatus required
  • steps FlowStepView[] required
  • test boolean required
  • trigger_id string | null
  • trigger_kind string required
  • version_id string required
  • waiting_for RunWaitingAsk[]

    Whom the run's questions wait on, and since when: ids only, so everyone who sees the run sees them.

  • waiting_on string[]

    The steps waiting for a person.

  • workflow_id string required

    Legacy name of flow_id, sent and accepted until 2027-05-31.

  • workspace_id string required

    Legacy name of space_id, sent and accepted until 2027-05-31.

Example
{
  "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_at string (date-time) | null
  • activated_by string | null
  • active_version_id string | null
  • blocked_by_org_admin boolean required
  • file_id string required
  • generation integer (int64) | null
  • name string | null
  • outside_reach object | null

    The active generation's outside-reach report (§7.3).

  • space_id string required
  • status FlowStatus required
  • triggers FlowTrigger[] required
  • workspace_id string required

    Legacy name of space_id, sent and accepted until 2027-05-31.

Example
{
  "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

  • key string required
  • run_id string required

    The run and step that wrote it last.

  • step_id string required
  • updated_at string (date-time) required
  • value any required

    Any JSON value.

Example
{
  "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.

Example
{
  "items": [
    {
      "key": "string",
      "run_id": "run_123",
      "step_id": "step_123",
      "updated_at": "2026-01-15T09:30:00Z",
      "value": {}
    }
  ]
}

FlowStatus

One of: "inactive" , "active"

Example
"inactive"

FlowStepView

  • after string[]

    The steps it runs after, resolved from the default order, after and when; start is the start of the run.

  • attempt integer (int32) required
  • details object | null

    The step's input, output, files and credits; only for callers who may read the run's content.

  • finished_at string (date-time) | null
  • item integer (int32) | null

    An item of a step that runs once per item: its index in the list; step_id is then <step id>~<index>.

    minimum 0

  • path string | null

    The path an ask or a decision took.

  • reused boolean

    Copied from the run this one was started from: it didn't run again.

  • reused_from string | null

    The run whose step did the work, when reused.

  • reused_from_started_at string (date-time) | null

    When the run in reused_from started.

  • skip_reason SkipReason | null
  • started_at string (date-time) | null
  • status StepStatus required
  • step_id string required
Example
{
  "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

  • description string | null
  • id string required

    <package id>/<path in the package without .ivy-flow.yaml or .ivy-workflow.yaml>.

  • name string required

    The file's name.

  • source string required

    The file's YAML, copied as it is.

Example
{
  "description": "string",
  "id": "id_123",
  "name": "Ada Lovelace",
  "source": "string"
}

FlowTemplateList

Example
{
  "items": [
    {
      "description": "string",
      "id": "id_123",
      "name": "Ada Lovelace",
      "source": "string"
    }
  ]
}

FlowTrigger

One trigger row of a flow (§12): never a secret's value.

  • generation integer (int64) required
  • id string required
  • key string required

    The entry of the file's on: it stands for.

  • kind TriggerKind required
  • last_run LastRun | null
  • next_run_at string (date-time) | null
  • paused_reason PausedReason | null
  • A webhook trigger's live signing secrets: ids and dates.

  • settings TriggerSettings required
  • status TriggerStatus required
  • url string | null

    A webhook trigger's delivery URL.

  • version_id string required
Example
{
  "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

Example
{
  "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

  • capabilities EntryCapabilities required
  • connector EntryConnector | null
  • created_at string (date-time) required
  • created_by string required
  • id string required
  • name string required
  • parent_id string required
  • path PathSegment[] required
  • revision integer (int64) required
  • source EntrySource required
  • space_id string required
  • updated_at string (date-time) required
  • workspace_id string required

    Legacy name of space_id, sent and accepted until 2027-05-31.

Example
{
  "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_id string required
  • name string required
  • path string required

    The file's path in the space, such as /Generated images/A lighthouse.png.

Example
{
  "file_id": "file_123",
  "name": "Ada Lovelace",
  "path": "string"
}

GeneratedImages

  • images GeneratedFile[] required

    The new files, in the space's "Generated images" folder.

  • model string required

    The image model that drew them, with "(EU)" for one served in the EU.

Example
{
  "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_id integer (int64) required

    minimum 0

  • installation_id integer (int64) required

    minimum 0

  • permissions object required

    The permissions each installation token is narrowed to.

  • repositories string[]

    Repository names (without the owner); every repository the installation covers when empty.

  • server string | null

    A GitHub Enterprise Server host; github.com when absent.

Example
{
  "app_id": 0,
  "installation_id": 0,
  "permissions": {},
  "repositories": [
    "string"
  ],
  "server": "string"
}

GithubItemRef

  • connection string required
  • logins string[]

    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_id string required
  • number integer (int64) required

    minimum 0

  • project_item_id string | null

    The project item's node id, when the issue is on the source's project.

  • repo string required

    owner/name.

  • source_id string required

    The source's id in the collection file.

  • url string required
Example
{
  "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"

Example
"read"

Health

  • status string required
Example
{
  "status": "string"
}

HelpReference

A section of the product help, /help/{page}#{section}.

  • page string required
  • section string | null
Example
{
  "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.

  • height integer (int32) required

    minimum 0

  • width integer (int32) required

    minimum 0

Example
{
  "height": 0,
  "width": 0
}

ImageGenerationRequest

  • count integer (int32) | null

    How many images, 1-4; one when absent.

    minimum 0

  • prompt string required

    What to draw: the subject, style, composition and any text the image shows; 1-4,000 characters.

  • provider AgentProvider | null
  • reference_images string[]

    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.

  • size ImageShape | null
Example
{
  "count": 0,
  "prompt": "string",
  "provider": "anthropic",
  "reference_images": [
    "string"
  ],
  "size": "square"
}

ImageShape

One of: "square" , "landscape" , "portrait"

Example
"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"

Example
"workspaces"

ItemErrors

One of: "continue" , "fail"

Example
"continue"

ItemOutcome

One of: "created" , "updated" , "unchanged" , "deleted" , "failed" , "skipped"

Example
"created"

Job

Background work a request started (purges).

  • id string required
  • job_type string required
  • status JobStatus required
Example
{
  "id": "id_123",
  "job_type": "string",
  "status": "queued"
}

JobStatus

One of: "queued" , "running" , "succeeded" , "failed" , "cancelled" , "dead"

Example
"queued"

LastRun

Example
{
  "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"

Example
"en"

LocalisedText

Text shown to people, in every locale Ivy offers.

  • de string required
  • el string
  • en string required
  • es string required
  • fr string required
  • hu string
  • it string required
Example
{
  "de": "string",
  "el": "string",
  "en": "string",
  "es": "string",
  "fr": "string",
  "hu": "string",
  "it": "string"
}

MessageBranch

  • count integer (int32) required

    minimum 0

  • index integer (int32) required

    1-based.

    minimum 0

Example
{
  "count": 0,
  "index": 0
}

MessageContext

  • organisation_id string | null

    The organisation the user is looking at in the UI.

  • user_id string | null

    The user the user is looking at in the UI.

Example
{
  "organisation_id": "organisation_123",
  "user_id": "user_123"
}

MessageOrigin

  • platform_message_id string | null

    The Slack or Teams message a mirrored message was posted as.

  • source MessageSource required
Example
{
  "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.

  • author ActorRef | null
  • author_name string | null

    A platform_user author's name on Slack or Teams.

  • created_at string (date-time) | null
  • deleted boolean

    The quoted message was deleted, or is no longer on the conversation's active line: shown as "Original message deleted", without author or text.

  • excerpt string | null

    The start of its text, mentions as @Name, up to 280 characters.

  • message_id string required
Example
{
  "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"

Example
"web"

Mount

A provider location mounted as a space folder.

  • created_at string (date-time) required
  • created_by string | null
  • drive_id string required
  • drive_name string required
  • folder_id string required

    The space folder the drive appears as.

  • id string required
  • item_id string | null

    A folder inside the drive; the drive's root when absent.

  • kind DriveKind required
  • provider Provider required
  • service_access boolean required

    The drive is still selected under Service access, so the space can use it.

  • space_id string required
  • web_url string | null
  • workspace_id string required

    Legacy name of space_id, sent and accepted until 2027-05-31.

Example
{
  "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

Example
{
  "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

  • after string | null

    The card it goes after: the one above it.

  • before string | null

    The card it goes before: the one below it. Without before and after, the top of the column.

  • column string required

    The column's name.

  • view string required

    The board file's id.

Example
{
  "after": "string",
  "before": "string",
  "column": "string",
  "view": "string"
}

NewCards

One of: "bottom" , "top"

Example
"bottom"

NotifyLevel

One of: "all" , "new_posts" , "mentions" , "none"

Example
"all"

OnConflict

One of: "fail" , "new_version" , "rename"

Example
"fail"

OpenWithChoice

The app that opens files of an extension.

  • app_id string required
  • extension string required

    Lowercase, without the dot.

  • source_space_id string required

    The space that declares the app, as in SpaceApp.

  • source_workspace_id string required

    Legacy name of source_space_id, sent and accepted until 2027-05-31.

Example
{
  "app_id": "app_123",
  "extension": "string",
  "source_space_id": "source_space_123",
  "source_workspace_id": "source_workspace_123"
}

OwnAppApproval

  • approved_at string (date-time) required
  • approved_by string required
  • changed boolean required

    Its manifest or a file it is made of changed since; the approved snapshot still runs until someone approves the new one.

  • snapshot_hash string required
Example
{
  "approved_at": "2026-01-15T09:30:00Z",
  "approved_by": "string",
  "changed": false,
  "snapshot_hash": "string"
}

OwnAppProblem

One of: "invalid" , "duplicate_id" , "id_taken"

Example
"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.

  • approval OwnAppApproval | null
  • default_file_missing string | null

    Its 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_id string required

    The manifest file.

  • frontend AppFrontend | null
  • id string required

    The id the manifest declares, else its file name's.

  • name LocalisedText | null
  • path string required

    The manifest's path from the top of the space, such as crm/crm.ivy-app.toml.

  • problem OwnAppProblem | null
Example
{
  "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_by string | null

    The person who invited them.

  • id string required
  • joined_at string (date-time) required
  • key string required

    user:<id> or agent:<id>.

  • state ParticipantState required
  • type ParticipantType required
Example
{
  "added_by": "string",
  "id": "id_123",
  "joined_at": "2026-01-15T09:30:00Z",
  "key": "string",
  "state": "active",
  "type": "user"
}

ParticipantList

Example
{
  "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"

Example
"active"

ParticipantType

One of: "user" , "agent"

Example
"user"

PathSegment

  • id string required

    root for the space root.

  • name string required
Example
{
  "id": "id_123",
  "name": "Ada Lovelace"
}

PausedReason

One of: "manual" , "org_admin" , "budget" , "failures" , "identity_disabled" , "target_missing" , "loop_suspected"

Example
"manual"

PendingChange

  • changes Change[] required

    What applying it does that it may not do by itself.

  • needs_step_up boolean required

    Applying it lets more people write or changes what the collection mirrors, so it needs step-up.

  • since string (date-time) required
  • version_id string required
Example
{
  "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_id string required
  • current_version_id string required
  • file_id string required
  • path string required
Example
{
  "base_version_id": "base_version_123",
  "current_version_id": "current_version_123",
  "file_id": "file_123",
  "path": "string"
}

PendingDeleteItem

  • file_id string required
  • path string required
Example
{
  "file_id": "file_123",
  "path": "string"
}

PendingRemoteWrite

  • at string (date-time) required
  • base_remote_updated_at string (date-time) | null
  • before object required

    Their values before the edit, to tell a conflicting change on the source.

  • by ActorRef required
  • fields object required

    The mapped fields as edited, by field key.

  • write_id string required
Example
{
  "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_id string required
Example
{
  "file_id": "file_123"
}

Platform

One of: "slack" , "teams"

Example
"slack"

ProcessReady

When the supervisor counts a process as ready.

One of: string | string | object

Example
"started"

ProcessRestart

One of: "never" , "on-failure"

Example
"never"

Provider

One of: "microsoft" , "google" , "fake"

Example
"microsoft"

Question

  • id string required

    The answer's id; unique within the request (letters, digits, _ and -).

  • kind QuestionKind required
  • options DecisionOption[] | null

    choice only: 1 to 255 options.

  • prompt string required

    The question, in plain words.

  • scale string[] | null

    score only: 1 to 10 levels, from lowest to highest.

Example
{
  "id": "id_123",
  "kind": "boolean",
  "options": [
    {
      "description": "string",
      "name": "Ada Lovelace"
    }
  ],
  "prompt": "string",
  "scale": [
    "string"
  ]
}

QuestionKind

One of: "boolean" , "choice" , "score"

Example
"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_id string | null
  • attachments ChatAttachment[]
  • author_id string required
  • conversation_id string required
  • created_at string (date-time) required
  • follow_up_of string | null

    Set 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.

  • id string required
  • mentions string[]

    Participant keys the message mentions; the agents among them answer in this order.

  • model string | null
  • position integer (int64) required
  • quote MessageQuote | null
  • resumes_ask_id string | null

    Set 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).

  • source QueueSource required
  • text string required
  • updated_at string (date-time) required
  • version integer (int64) required

    Pass it back to updateQueuedMessage; every edit increments it.

Example
{
  "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_id string | null
  • attachments string[]

    Up to 10 ids of files in the chat's space.

  • client_message_id string | null

    Queuing the same id again returns the message already queued.

  • interface_locale Locale | null
  • model string | null
  • quote QuoteInput | null
  • text string required
Example
{
  "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"

Example
"failed"

QueueSource

Where a queued message came from.

One of: "web" , "api" , "slack" , "teams"

Example
"web"

QueueState

  • items QueuedMessage[] required

    In the order they will start.

  • paused boolean required

    Set after a reply failed or was stopped while messages waited; resumeQueue clears it.

  • paused_reason QueuePauseReason | null
Example
{
  "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_id string required
Example
{
  "message_id": "message_123"
}

RateMessage

Example
{
  "rating": "up"
}

ReactionSummary

  • emoji string required
  • participants string[] required

    Participant keys, in the order they reacted.

Example
{
  "emoji": "string",
  "participants": [
    "string"
  ]
}

Readiness

  • events CheckStatus required

    The NATS connection that queues assistant runs and relays their events.

  • status CheckStatus required

    ok when every configured dependency is reachable.

  • store CheckStatus required

    The database (ScyllaDB, or the in-memory store).

Example
{
  "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_name string required
  • joined_at string (date-time) required
  • space_role SpaceRole required
  • user_id string required
  • workspace_role SpaceRole required

    Legacy name of space_role, sent and accepted until 2027-05-31.

Example
{
  "display_name": "Ada Lovelace",
  "joined_at": "2026-01-15T09:30:00Z",
  "space_role": "viewer",
  "user_id": "user_123",
  "workspace_role": "viewer"
}

RecordBatch

Example
{
  "create": [
    {
      "fields": {},
      "place": {
        "column": "string",
        "view": "string"
      }
    }
  ],
  "delete": [
    {
      "id": "id_123",
      "key": {}
    }
  ],
  "on_item_error": "continue",
  "sync": {
    "delete_missing": false
  },
  "upsert": [
    {
      "fields": {},
      "key": {}
    }
  ]
}

RecordBatchResult

  • created integer (int32) required

    minimum 0

  • deleted integer (int32) required

    minimum 0

  • deleted_missing integer (int32) | null

    With 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

  • failed integer (int32) required

    minimum 0

  • items BatchItem[] required

    One per item, in order.

  • unchanged integer (int32) required

    minimum 0

  • updated integer (int32) required

    minimum 0

Example
{
  "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

  • author ActorRef required
  • body string required

    Markdown.

  • created_at string (date-time) required
  • failure string | null

    Why GitHub refused the comment for good; it's never sent again.

  • id string required
  • pending boolean

    A mirrored record's comment waits for GitHub before it shows as posted.

  • record_id string required
  • remote_url string | null

    Where GitHub shows the comment of a mirrored record, once it took it.

  • waiting string | null

    Why the comment waits for a space admin to fix the source's access.

Example
{
  "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

Example
{
  "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

  • by object

    With count_by: records by the field's option key, user id or true/false; a list's record counts once for each of its values.

  • complete boolean required

    False 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.

  • total integer (int64) required

    minimum 0

Example
{
  "by": {},
  "complete": false,
  "total": 0
}

RecordOrigin

What a record was made from beside a write of its own (§3.2).

One of: object

Example
{
  "ask_id": "ask_123",
  "index": 0,
  "kind": "ask",
  "run_id": "run_123"
}

RecordPage

  • counts RecordCounts | null
  • items RecordView[] required
  • next_cursor string | null

    More may match: a page can hold fewer than limit records, even none, while this is set.

Example
{
  "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

  • column string | null

    The column's name; the board's first column when left out.

  • view string required

    The board file's id.

Example
{
  "column": "string",
  "view": "string"
}

RecordProblem

  • code string required

    value_invalid: the value doesn't fit the field as the collection declares it now; required_missing: a required field has no value.

  • field string required
Example
{
  "code": "not_found",
  "field": "string"
}

RecordQuery

One query for the API, views, flows, agents, apps and dashboards.

  • count boolean

    Count the records that match, across every page.

  • count_by string | null

    Count them by the value of an indexed enum, person or boolean field too.

  • cursor string | null

    A previous page's next_cursor, with the same filter and sort.

  • filter object | null

    {"all": [...]}: conditions on indexed fields that all hold, each {field, op, value} or {"any": [...]} of such conditions; at most 10. op is eq, ne, gt, gte, lt, lte, contains, in, is_empty or not_empty.

  • limit integer (int32) | null

    1 to 500, 100 when left out.

    minimum 0

  • q string | null

    Only records whose title starts with this, ignoring case.

  • Up to 2; ties go by record id. Oldest first when left out.

Example
{
  "count": false,
  "count_by": "string",
  "cursor": "string",
  "filter": {},
  "limit": 0,
  "q": "string",
  "sort": [
    {
      "dir": "asc",
      "field": "string"
    }
  ]
}

RecordSchema

  • schema object required

    The JSON Schema 2020-12 of a record's fields, with Ivy's field types in x-ivy-type.

Example
{
  "schema": {}
}

RecordSource

One of: object | any

Example
{
  "provider": "ivy"
}

RecordSourceList

Example
{
  "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_error SyncError | null
  • applied boolean required

    A space admin applied it; until then it mirrors nothing.

  • connection string required
  • full boolean required

    It mirrors max_items records and adds no more.

  • id string required

    The source's id in the collection file.

  • item_count integer (int32) required

    minimum 0

  • last_error string | null

    Why the last sync stopped, such as mirror_full, github_unavailable or project_missing.

  • last_synced_at string (date-time) | null
  • max_items integer (int32) required

    The most records it mirrors.

    minimum 0

  • paused string | null

    Why it waits for a space admin to confirm it again, such as reach_changed.

  • people object required

    GitHub login → the user id of the person it stands for.

  • provider string required

    github.

  • repositories string[] required

    As the file declares them.

Example
{
  "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).

Example
{
  "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

  • collection string required

    The collection's name.

  • collection_id string required
  • created_at string (date-time) required
  • created_by ActorRef required
  • fields object required

    Values by field key, as the collection declares its fields now; a field without a value is left out.

  • id string required
  • origin RecordOrigin | null
  • Values that no longer fit the collection's declaration; they can still be changed.

  • ranks object

    Its 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.

  • revision integer (int64) required

    minimum 0

  • schema string required

    The hash of the declaration the last write was checked against.

  • source RecordSource required
  • sync RecordSync | null
  • updated_at string (date-time) required
  • updated_by ActorRef required
Example
{
  "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"
  }
}
  • copied string[] required

    Paths of the files copied again as new versions, or copied for the first time.

  • share_link ShareLink required
  • skipped string[] required

    Paths of the files a visitor changed since the last copy, left as they are.

Example
{
  "copied": [
    "string"
  ],
  "share_link": {
    "access": "view",
    "app": {
      "budget_credits": 0,
      "chosen_role": "viewer",
      "last_copy_at": "2026-01-15T09:30:00Z",
      "left_out": [
        "string"
      ],
      "refresh": "follow",
      "share_space_id": "share_space_123",
      "share_space_name": "Ada Lovelace",
      "share_workspace_id": "share_workspace_123",
      "share_workspace_name": "Ada Lovelace"
    },
    "audience": "organisation",
    "can_revoke": false,
    "created_at": "2026-01-15T09:30:00Z",
    "created_by": {
      "id": "id_123",
      "name": "Ada Lovelace",
      "type": "user"
    },
    "download_count": 0,
    "entry_id": "entry_123",
    "entry_kind": "file",
    "entry_name": "Ada Lovelace",
    "expires_at": "2026-01-15T09:30:00Z",
    "id": "id_123",
    "last_opened_at": "2026-01-15T09:30:00Z",
    "open_count": 0,
    "password_protected": false,
    "paused_reason": "creator_lost_access",
    "revoked_at": "2026-01-15T09:30:00Z",
    "role": "viewer",
    "space_id": "space_123",
    "state": "active",
    "version": 1,
    "workspace_id": "workspace_123"
  },
  "skipped": [
    "string"
  ]
}

RegenerateMessage

  • model string | null
Example
{
  "model": "string"
}

ReorderQueue

  • ids string[] required

    Every queued message's id, in the new order.

Example
{
  "ids": [
    "string"
  ]
}

ReplyPreview

A message in short form, in a channel's feed: a thread's first message, or a reply under it.

  • author ActorRef | null
  • author_name string | null

    A platform_user author's name on Slack or Teams.

  • author_platform Platform | null
  • created_at string (date-time) required
  • excerpt string required

    Its text as one line of plain text, mentions as @Name, up to 280 characters.

  • mentions string[]

    Participant keys (user:<id>, agent:<id>) the message mentions, checked by the server.

  • message_id string required
  • text string

    Its Markdown as written, links kept, up to 4,000 characters cut at a line break; empty for a message of files alone.

  • text_cut boolean

    Whether text was cut; the thread has the whole message.

Example
{
  "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

Example
{
  "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_id string required
  • timeout_seconds integer (int32) required

    minimum 0

Example
{
  "run_id": "run_123",
  "timeout_seconds": 0
}

RunEventRecord

One entry of a run's event stream: statuses and ids, never content.

  • at string (date-time) required
  • body object required
  • kind string required
  • seq integer (int64) required
Example
{
  "at": "2026-01-15T09:30:00Z",
  "body": {},
  "kind": "string",
  "seq": 1
}

RunFromStep

  • step_id string required

    The step the new run starts at; the steps it runs after are reused.

Example
{
  "step_id": "step_123"
}

RunHandler

Files an app runs, by extension: the server picks a run's runtime by extension.

  • extensions string[] required
  • runner Runner required
Example
{
  "extensions": [
    "string"
  ],
  "runner": "python"
}

RunMessages

One channel a run reads (§5.2).

  • channel string required

    A channel name or id.

  • since string | null

    How far back, such as 7d or 12h; a day by default.

Example
{
  "channel": "string",
  "since": "string"
}

Runner

The web app's own code runners.

One of: "python" , "javascript" , "typescript" , "sql" , "r"

Example
"python"

RunOutputFile

  • file_id string required
  • media_type string required
  • path string required
  • size integer (int64) required

    minimum 0

  • version_id string required
Example
{
  "file_id": "file_123",
  "media_type": "string",
  "path": "string",
  "size": 0,
  "version_id": "version_123"
}

RunSource

One of: "direct" , "agent_turn" , "workflow"

Example
"direct"

RunStatus

One of: "queued" , "starting" , "running" , "collecting" , "succeeded" , "failed" , "timeout" , "oom" , "cancelled"

Example
"queued"

RunWaitingAsk

  • ask_id string required
  • people string[] required

    Who may answer it, or for a draft the person who sends it.

  • reminded_at string (date-time) | null

    When a space admin last reminded them; reminders go at most once an hour.

  • since string (date-time) required
  • status AskStatus required

    draft waits for the person who started the run to send it; open for those asked.

  • step_id string required
Example
{
  "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"

Example
"created"

SandboxInfo

The conversation's sandbox and the changes waiting for the person's confirmation.

  • expires_at string (date-time) | null
  • last_active_at string (date-time) | null
  • pending ChangeSet[] required
  • reason string | null
  • started_at string (date-time) | null
  • state SandboxState required
Example
{
  "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

Example
{
  "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_mib integer (int32) required

    minimum 0

  • name ComputeTier required
  • space_mib integer (int32) required

    minimum 0

  • vcpu integer (int32) required

    minimum 0

  • workspace_mib integer (int32) required

    Legacy name of space_mib, sent and accepted until 2027-05-31.

    minimum 0

Example
{
  "memory_mib": 0,
  "name": "Ada Lovelace",
  "space_mib": 0,
  "vcpu": 0,
  "workspace_mib": 0
}

SandboxState

One of: "starting" , "ready" , "stopping" , "stopped" , "unavailable"

Example
"starting"

ScanStatus

One of: "scanning" , "clean" , "infected" , "failed"

Example
"scanning"

SearchHighlight

Highlight ranges count UTF-16 code units, as JavaScript strings do.

  • end integer (int32) required

    minimum 0

  • start integer (int32) required

    minimum 0

Example
{
  "end": 0,
  "start": 0
}

SearchKind

One of: "file" , "folder" , "file_content" , "conversation" , "message"

Example
"file"

SearchResult

  • author string | null
  • conversation_id string | null
  • id string required

    The file's, folder's, conversation's or message's id.

  • kind SearchKind required
  • path string | null

    Where it is: the space and folders for a file or folder.

  • snippet SearchSnippet | null
  • space_id string required
  • title string required

    The file or folder, the conversation's title, or the conversation a message is in.

  • updated_at string (date-time) required
  • version integer (int64) | null

    The file version a file_content result's text was read from.

  • workspace_id string required

    Legacy name of space_id, sent and accepted until 2027-05-31.

Example
{
  "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

Example
{
  "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

Example
{
  "highlights": [
    {
      "end": 0,
      "start": 0
    }
  ],
  "text": "Hello, Ivy"
}

SearchSort

One of: "relevance" , "recent"

Example
"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"

Example
"google_oauth"

SecretOwner

Whose secret it is: each person who uses the app keeps their own.

One of: "person"

Example
"person"

SelectBranch

  • index integer (int32) required

    1-based, up to branch.count.

    minimum 0

Example
{
  "index": 0
}

SendMessage

  • agent_id string | null

    A 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.

  • attachments string[]

    Up to 10 ids of files in the chat's space for the assistant to read.

  • client_message_id string | null

    A 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 after Last-Event-ID.

  • context MessageContext | null
  • interface_locale Locale | null
  • model string | null

    One of the ids from GET /v1/agent/models, or of the chat's agent's models; the default model when absent.

  • quote QuoteInput | null
  • text string required
Example
{
  "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"

Example
"error"

ShareAccess

One of: "view" , "download"

Example
"view"

ShareAudience

One of: "organisation" , "anyone"

Example
"organisation"

ShareCreatorType

One of: "user" , "service_identity"

Example
"user"

ShareEntryKind

One of: "file" , "folder" , "app"

Example
"file"
  • access ShareAccess required
  • app ShareLinkApp | null
  • audience ShareAudience required
  • can_revoke boolean required

    Whether the caller may revoke it: its creator, or a space admin.

  • created_at string (date-time) required
  • created_by ShareLinkCreator required
  • download_count integer (int64) required

    minimum 0

  • entry_id string required
  • entry_kind ShareEntryKind required
  • entry_name string required
  • expires_at string (date-time) | null
  • id string required
  • last_opened_at string (date-time) | null
  • open_count integer (int64) required

    minimum 0

  • password_protected boolean required
  • paused_reason ShareLinkPausedReason | null
  • revoked_at string (date-time) | null
  • role ShareRole | null
  • space_id string required
  • state ShareLinkState required
  • version integer (int32) | null

    The pinned version number; null follows the newest clean version.

  • workspace_id string required

    Legacy name of space_id, sent and accepted until 2027-05-31.

Example
{
  "access": "view",
  "app": {
    "budget_credits": 0,
    "chosen_role": "viewer",
    "last_copy_at": "2026-01-15T09:30:00Z",
    "left_out": [
      "string"
    ],
    "refresh": "follow",
    "share_space_id": "share_space_123",
    "share_space_name": "Ada Lovelace",
    "share_workspace_id": "share_workspace_123",
    "share_workspace_name": "Ada Lovelace"
  },
  "audience": "organisation",
  "can_revoke": false,
  "created_at": "2026-01-15T09:30:00Z",
  "created_by": {
    "id": "id_123",
    "name": "Ada Lovelace",
    "type": "user"
  },
  "download_count": 0,
  "entry_id": "entry_123",
  "entry_kind": "file",
  "entry_name": "Ada Lovelace",
  "expires_at": "2026-01-15T09:30:00Z",
  "id": "id_123",
  "last_opened_at": "2026-01-15T09:30:00Z",
  "open_count": 0,
  "password_protected": false,
  "paused_reason": "creator_lost_access",
  "revoked_at": "2026-01-15T09:30:00Z",
  "role": "viewer",
  "space_id": "space_123",
  "state": "active",
  "version": 1,
  "workspace_id": "workspace_123"
}

ShareLinkApp

  • budget_credits integer (int32) required

    The link identity's credits a billing period; the link is paused when they run out.

    minimum 0

  • chosen_role ShareRole required

    The role the creator chose; role is what the organisation's cap leaves of it.

  • last_copy_at string (date-time) | null
  • left_out string[] required

    Declared entries the share space has no copy of, as paths in the space: on connected drives, or past 100 files or 25 MiB.

  • refresh ShareRefresh required
  • share_space_id string required
  • share_space_name string required
  • share_workspace_id string required

    Legacy name of share_space_id, sent and accepted until 2027-05-31.

  • share_workspace_name string required

    Legacy name of share_space_name, sent and accepted until 2027-05-31.

Example
{
  "budget_credits": 0,
  "chosen_role": "viewer",
  "last_copy_at": "2026-01-15T09:30:00Z",
  "left_out": [
    "string"
  ],
  "refresh": "follow",
  "share_space_id": "share_space_123",
  "share_space_name": "Ada Lovelace",
  "share_workspace_id": "share_workspace_123",
  "share_workspace_name": "Ada Lovelace"
}

ShareLinkCreator

Example
{
  "id": "id_123",
  "name": "Ada Lovelace",
  "type": "user"
}
Example
{
  "items": [
    {
      "access": "view",
      "app": {
        "budget_credits": 0,
        "chosen_role": {},
        "last_copy_at": "2026-01-15T09:30:00Z",
        "left_out": [],
        "refresh": {},
        "share_space_id": "share_space_123",
        "share_space_name": "Ada Lovelace",
        "share_workspace_id": "share_workspace_123",
        "share_workspace_name": "Ada Lovelace"
      },
      "audience": "organisation",
      "can_revoke": false,
      "created_at": "2026-01-15T09:30:00Z",
      "created_by": {
        "id": "id_123",
        "name": "Ada Lovelace",
        "type": "user"
      },
      "download_count": 0,
      "entry_id": "entry_123",
      "entry_kind": "file",
      "entry_name": "Ada Lovelace",
      "expires_at": "2026-01-15T09:30:00Z",
      "id": "id_123",
      "last_opened_at": "2026-01-15T09:30:00Z",
      "open_count": 0,
      "password_protected": false,
      "paused_reason": "creator_lost_access",
      "revoked_at": "2026-01-15T09:30:00Z",
      "role": "viewer",
      "space_id": "space_123",
      "state": "active",
      "version": 1,
      "workspace_id": "workspace_123"
    }
  ]
}

ShareLinkPausedReason

One of: "creator_lost_access" , "entry_trashed" , "entry_deleted" , "external_links_off" , "app_links_off" , "budget_exhausted"

Example
"creator_lost_access"

ShareLinkState

One of: "active" , "expired" , "revoked" , "paused"

Example
"active"

ShareNotify

  • emails string[] required

    1-10 addresses. Organisation links go only to people of the organisation.

  • message string | null

    A note for the recipients, up to 500 characters.

Example
{
  "emails": [
    "string"
  ],
  "message": "A short explanation for people"
}

ShareRefresh

One of: "follow" , "manual"

Example
"follow"

ShareRole

What every visitor of an app link may do, as its link identity.

One of: "viewer" , "editor"

Example
"viewer"

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

Example
{
  "frequency": "hourly",
  "minute": 0
}

SkillNeeds

What a turn must offer for its agent to be given the skill.

  • apps string[]

    App ids the space must have.

  • tools string[]

    Tool names the agent must be offered, such as bash or <app>__<tool>, as its runtime names them; case doesn't matter.

Example
{
  "apps": [
    "string"
  ],
  "tools": [
    "string"
  ]
}

SkillScope

What a skill is about; empty for the whole space.

  • apps string[]

    App ids.

  • extensions string[]

    File extensions without the leading dot, as apps' opens gives them.

Example
{
  "apps": [
    "string"
  ],
  "extensions": [
    "string"
  ]
}

SkipReason

Why a step ended without acting.

One of: "condition" , "not_on_path" , "run_failed" , "cancelled"

Example
"condition"

SortDir

One of: "asc" , "desc"

Example
"asc"

SortKey

  • field string required

    An indexed field that holds one value, the title field, created_at or updated_at.

Example
{
  "dir": "asc",
  "field": "string"
}

SortOrder

One of: "asc" , "desc"

Example
"asc"

Space

  • auto_join boolean required

    New people in the organisation join it as editors.

  • colour string required

    #rrggbb or a colour token name.

  • content_access boolean required

    False for organisation admins who haven't joined (decision D5): they see the space, its members and settings, but not its files or chats.

  • created_at string (date-time) required
  • created_by string required
  • description string required

    At most 500 characters.

  • id string required
  • is_default boolean required

    The organisation's "General" space; it can't be archived.

  • managed_by_organisation boolean required

    An import space other spaces use: only organisation owners and admins change its files and agents, whatever the caller's role in it.

  • member_count integer (int32) required

    minimum 0

  • my_role SpaceRole | null required
  • name string required

    Unique per organisation, case-insensitively. At most 80 characters.

  • organisation_id string required
  • recent_admin_joins RecentAdminJoin[] required
  • revision integer (int64) required
  • share SpaceShare | null
  • status SpaceStatus required
  • time_zone string required

    IANA name its schedule triggers fire in; Europe/Berlin until an admin sets one.

  • updated_at string (date-time) required
Example
{
  "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.

  • active boolean required
  • allowed_models string[] required

    The models the envelope allows.

  • credential AgentCredential | null
  • description LocalisedText required
  • id string required

    Pass it as SendMessage.agent_id.

  • may_start_conversations boolean required

    Whether it may ask people, request approvals and post results outside its conversation.

  • models AgentModel[] required

    The model variants a chat can use now: the allowed models' variants the installation serves and the organisation permits; empty when it is unavailable.

  • name LocalisedText required
  • offered_models string[] required

    The models a space admin can allow.

  • provider AgentProvider required
  • runtime AgentRuntime required
  • source SpaceRef required

    The import space it comes from (this space, for an import space's own).

  • unavailable_reason AgentUnavailableReason | null
Example
{
  "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

Example
{
  "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.

  • access AppAccess required

    Who may start it: write apps editors and admins, read apps any member.

  • collections AppCollection[]

    The space's collections it reads or writes, through window.ivy.records too.

  • description LocalisedText required
  • fallback AppFallback | null
  • frontend AppFrontend required
  • id string required
  • name LocalisedText required
  • open AppOpenFile | null
  • opens FileHandler[] required
  • runnable boolean required

    It declares processes, so it can be started (POST …/apps/{app_id}/instances).

  • The services its processes offer Ivy's own clients, such as speech-to-text for dictation (POST …/instances/{instance_id}/service-tickets).

  • shareable boolean required

    It declares shareable = true, so editors may share it with an app link.

  • source_space_id string required

    The space that declares the app, such as ivy-core.

  • source_workspace_id string required

    Legacy name of source_space_id, sent and accepted until 2027-05-31.

  • version_id string required
Example
{
  "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

  • choices OpenWithChoice[] required

    The caller's own "open with" choices.

  • defaults OpenWithChoice[] required

    The space's defaults, set by its admins, for people without a choice of their own.

  • items SpaceApp[] required

    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.

  • The app manifests of the space's own files, by path; one whose id an app of items has says id_taken.

Example
{
  "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_id string | null

    With records: the collection whose records changed.

  • file_id string | null
  • parent_ids string[] | null
  • revision integer (int64) | null
  • scan_status ScanStatus | null
  • version_id string | null
Example
{
  "collection_id": "collection_123",
  "file_id": "file_123",
  "parent_ids": [
    "string"
  ],
  "revision": 1,
  "scan_status": "scanning",
  "version_id": "version_123"
}

SpaceList

  • items Space[] required
  • next_cursor string | null
Example
{
  "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.

  • id string required
  • name string required
Example
{
  "id": "id_123",
  "name": "Ada Lovelace"
}

SpaceRole

One of: "viewer" , "editor" , "admin"

Example
"viewer"

SpaceShare

Where a share space came from: the app link that created it.

  • app_id string required
  • app_name string required
  • link_id string required
  • parent_space_id string required
  • parent_space_name string required
  • parent_workspace_id string required

    Legacy name of parent_space_id, sent and accepted until 2027-05-31.

  • parent_workspace_name string required

    Legacy name of parent_space_name, sent and accepted until 2027-05-31.

  • service_identity_id string required

    The link identity every visitor acts as.

Example
{
  "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"
}

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.

  • agents string[] required

    The agent ids it is for (ivy is the built-in assistant); empty for every agent.

  • applies SkillScope required

    The apps or file types it is about; empty for the whole space.

  • description LocalisedText required
  • id string required
  • name LocalisedText required
  • needs SkillNeeds required

    What a chat must offer for its agent to be given the skill.

  • source_space_id string required

    The space that declares the skill, such as ivy-core.

  • source_workspace_id string required

    Legacy name of source_space_id, sent and accepted until 2027-05-31.

  • version_id string required
Example
{
  "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

  • items SpaceSkill[] required

    The always-on spaces' skills first, then the imported versions', each by space id. Of two skills with one id, the first.

Example
{
  "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"

Example
"active"

StartAppInstance

  • conversation_id string | null

    The 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.

Example
{
  "conversation_id": "conversation_123"
}

StartFlowRun

  • inputs object

    The manual trigger's inputs by name.

Example
{
  "inputs": {}
}

StartRun

Starts a run of the file as the signed-in person.

  • client_run_id string required

    The client's id for this run: repeating it returns the same run.

  • connections string[]

    Connections declared with direct_runs: true the run may call through the gateway; a person's runs only, never a key's.

  • egress string[]

    Hosts of the space allow-list the run may reach; without them it has no network.

  • environment string | null

    The sandbox environment that runs the file; by default the first built-in environment whose run rules match it.

  • files string[]

    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.

  • input object | null

    A JSON value staged read-only as $IVY_IN/input.json (workflows-design.md §5.2.1).

  • input_file_ids string[]

    Space files copied into the sandbox read-only, beside the code file.

  • Channels of the space you can read, staged as $IVY_IN/messages/<channel>.json.

  • output_folder_id string | null

    Where new output files go; defaults to the code file's folder.

  • save_to string | null

    A folder path or id to save new output files in; the code file's folder by default.

  • tier ComputeTier | null
  • timeout_seconds integer (int32) | null

    10 s up to the installation's maximum (15 min by default); shortened to what the remaining credits cover.

    minimum 0

  • version_id string | null

    Defaults to the version currently served.

Example
{
  "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.

  • paths string[] required
  • step_id string required
Example
{
  "paths": [
    "string"
  ],
  "step_id": "step_123"
}

StepPaths

A step's place in the flow, for the editor.

  • after StepArrow[] required

    What it runs after, resolved: start is the start of the run.

  • at_the_same_time string[] required

    The steps that may be at work at the same time as it.

  • certain boolean required

    It runs in every run that ends.

  • step_id string required
Example
{
  "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"

Example
"queued"

StreamKind

One of: "message_posted" , "message_edited" , "message_deleted" , "reaction" , "queue" , "participants" , "conversation" , "run_started" , "run_finished" , "resync"

Example
"message_posted"

SyncConflict

  • at string (date-time) required
  • by ActorRef required
  • fields string[] required
Example
{
  "at": "2026-01-15T09:30:00Z",
  "by": {
    "id": "id_123",
    "type": "user"
  },
  "fields": [
    "string"
  ]
}

SyncError

  • at string (date-time) required
  • code string required
Example
{
  "at": "2026-01-15T09:30:00Z",
  "code": "not_found"
}

SystemNotice

A system message's content; the client words it in the reader's language.

  • actor ActorRef | null
  • channel_id string | null

    shared: the channel it moved into.

  • conversation_id string | null

    started_from: the conversation it links back to.

  • kind SystemNoticeKind required
  • participants string[]

    The participant keys it concerns.

  • title string | null

    renamed: the new title.

Example
{
  "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"

Example
"invited"

ToolCallStatus

One of: "ok" , "error"

Example
"ok"

ToolView

The view an app tool's result names (_meta.ui.resourceUri, the MCP Apps extension).

One of: object | object | object

Example
{
  "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

  • id string required
  • kind EntryKind required
  • name string required
  • original_parent_id string required
  • original_path PathSegment[] required
  • purge_after string (date-time) required

    When the daily purge deletes it permanently.

  • trashed_at string (date-time) required
  • trashed_by string required
Example
{
  "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

Example
{
  "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"

Example
"manual"

TriggerRunStatus

One of: "queued" , "running" , "succeeded" , "failed" , "skipped" , "rejected"

Example
"queued"

TriggerSecret

A secret's id and dates; its value is shown once, when created.

  • created_at string (date-time) required
  • expires_at string (date-time) | null
  • id string required
  • rotated_from string | null
Example
{
  "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

Example
{
  "kind": "manual"
}

TriggerStatus

One of: "active" , "paused"

Example
"active"

UnavailableReason

Why code execution that is switched on can't run now.

One of: "not_gvisor" , "root_writable" , "service_account_token" , "network_not_isolated" , "swap" , "cluster_not_ready" , "probe_failed" , "not_reporting" , "no_worker" , "not_in_plan"

Example
"not_gvisor"

UnreachableItem

Something an automated trigger's version declares that the space identity can't reach (§7.2 identity_cannot_reach).

  • access string required

    read, post, ask, notify or write.

  • kind string required

    channel, identity or space.

  • reference string required

    The reference as the file writes it.

  • step string | null
Example
{
  "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.

  • archived boolean | null
  • default_agent string | null

    null removes the default agent.

  • name string | null
  • notify NotifyLevel | null
  • purpose string | null
Example
{
  "archived": false,
  "default_agent": "string",
  "name": "Ada Lovelace",
  "notify": "all",
  "purpose": "string"
}

UpdateChatMessage

Example
{
  "quote": {
    "message_id": "message_123"
  },
  "text": "Hello, Ivy"
}

UpdateConversation

  • assignee string | null

    An active participant's key; an empty string clears it. Assigning an agent mentions it with instruction, and its turn acts for the caller.

  • channel_id string | null

    Moves 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.

  • instruction string | null

    With an agent assignee: what the agent should do (1-20000 characters).

  • last_read integer (int64) | null

    The caller's read position: the index of the last message they read (0-based, at most the last message's).

  • notify NotifyLevel | null
  • pinned boolean | null

    For the caller alone once conversations with people are on.

  • status ConversationStatus | null
  • title string | null

    1-200 characters.

  • visibility ConversationVisibility | null
Example
{
  "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.

  • name string | null
  • parent_id string | null
Example
{
  "name": "Ada Lovelace",
  "parent_id": "parent_123"
}

UpdateQueuedMessage

  • attachments string[] | null
  • text string | null
  • version integer (int64) required

    The version the edit was made on.

Example
{
  "attachments": [
    "string"
  ],
  "text": "Hello, Ivy",
  "version": 1
}

UpdateRecord

  • fields object required

    Values by field key; fields left out are unchanged, and null clears one.

Example
{
  "fields": {}
}
  • budget_credits integer (int32) | null

    App links only: 1 to the organisation's max_app_link_budget_credits.

    minimum 0

  • role ShareRole | null
Example
{
  "budget_credits": 0,
  "role": "viewer"
}

UpsertedRecord

Example
{
  "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

  • fields object required

    Values by field key. A new record gets the default of fields left out; an existing one keeps them, and null clears one.

Example
{
  "fields": {}
}

ViewColumn

  • name string required
  • values string[] required

    The values of group_by whose records the column holds; a card moved into it gets the first.

Example
{
  "name": "Ada Lovelace",
  "values": [
    "string"
  ]
}

ViewColumnRecords

  • items RecordView[] required

    In the board's order: by rank, then the cards without one, oldest first.

  • name string required
Example
{
  "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_fields string[] required

    What each card shows under its title, in order.

  • collection string required

    The collection's name.

  • columns ViewColumn[] required
  • file_id string required
  • filter object | null

    The conditions every record on the board meets, as a record query's filter.

  • group_by string required

    The field whose value puts a record in a column.

  • new NewCards required

    Where new cards go in their column.

  • title string required
Example
{
  "card_fields": [
    "string"
  ],
  "collection": "string",
  "columns": [
    {
      "name": "Ada Lovelace",
      "values": [
        "string"
      ]
    }
  ],
  "file_id": "file_123",
  "filter": {},
  "group_by": "string",
  "new": "bottom",
  "title": "string"
}

ViewRecords

  • columns ViewColumnRecords[] required
  • truncated boolean required

    The board holds more records than one read returns; the columns show the first.

Example
{
  "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_id string required

    The board file's id.

  • title string required
Example
{
  "file_id": "file_123",
  "title": "string"
}

WebSource

  • title string required

    Empty when the page has none.

  • url string required

    A fetched page's final URL, after redirects.

Example
{
  "title": "string",
  "url": "https://example.com"
}