Skip to main content
Supporting resources that sessions use: sandboxes (environments) and their templates, uploaded files, skills, and credential vaults. For what each one is for, see how Orca works. Paths are relative to /v1. There is no endpoint to create an environment directly: an environment is created with its session, and its ID is session.environment.id.

Environment templates

Environments and files

Vaults and credentials

Files

Skills and versions

Templates accept optional name, files, skills, env, network, packages, plugins, setup_commands, and capability_directories. For environment files, create requires path and type (file_id with file_id, or inline with data). Environment file listing uses page, not after; it also accepts limit, order, and path. Environment IDs are obtained from sessions; there is no standalone environment-create endpoint in this inventory. POST /files and skill/skill-version uploads use multipart form data, not JSON. File upload needs file and purpose. Skill creation takes files; updating a skill requires default_version. Downloads (/content) return bytes. Vault credential creation requires name and auth; credential update requires a replacement auth object, not a plaintext read. Never log tokens.
Vault lists and credential lists support status, after, limit, order. Other cursor lists accept after, limit, order. See Pagination.