Agent Credentials
claude.check
agentCredentials.claude.check
Checks that a stored Claude Code credential can still authenticate.
Risk: read
object
Output full type
Output full type
claude.create
agentCredentials.claude.create
Stores a Claude Code credential (type oauth or api_key) that rigs can be given.
Risk: write
claude.delete
agentCredentials.claude.delete
Deletes a stored Claude Code credential.
Risk: destructive · Irreversible
claude.list
agentCredentials.claude.list
Lists stored Claude Code credentials (OAuth tokens or API keys) by name and scope, never values.
Risk: read
object[]
Output full type
Output full type
codex.create
agentCredentials.codex.create
Stores a Codex credential (type oauth or api_key) that rigs can be given.
Risk: write
codex.delete
agentCredentials.codex.delete
Deletes a stored Codex credential.
Risk: destructive · Irreversible
codex.list
agentCredentials.codex.list
Lists stored Codex credentials by name and scope, never values.
Risk: read
object[]
Output full type
Output full type
pi.delete
agentCredentials.pi.delete
Deletes the Pi agent credential.
Risk: destructive · Irreversible
pi.get
agentCredentials.pi.get
Reads whether a Pi agent credential is configured.
Risk: read
pi.set
agentCredentials.pi.set
Saves the Pi agent credential.
Risk: write
source full type
source full type
Agent Sessions
get
agentSessions.get
Reads one agent session: its rig, agent, status and the messages exchanged so far.
Risk: read
messages full type
messages full type
list
agentSessions.list
Lists the organization’s agent-session chats, newest first, with each one’s rig, agent, model and a preview.
Risk: read
sessions full type
sessions full type
send
agentSessions.send
Sends one message to a coding agent (Claude Code or Codex) in a rig and waits for its reply. Without sandbox_id/sandbox_name/sandbox_ref it creates a new rig from repo_url; pass session_id to continue a chat. A failed turn still answers 200 with is_error: true and the agent CLI’s own message. Runs on the rig’s stored agent credential and can take minutes.
Risk: destructive · Irreversible
usage full type
usage full type
Api Keys
create
apiKeys.create
Creates an Amika API key (user or organization scope). The value is returned once.
Risk: write
delete
apiKeys.delete
Deletes an Amika API key; anything using it stops working. scope defaults to organization: pass scope user to delete a user key.
Risk: destructive · Irreversible
list
apiKeys.list
Lists the caller’s Amika API keys (names, scopes, last use; values obfuscated).
Risk: read
data full type
data full type
pageInfo full type
pageInfo full type
Cloud Accounts
create
cloudAccounts.create
Connects a cloud provider account with its API key, so rigs can run there.
Risk: write
delete
cloudAccounts.delete
Disconnects a cloud account and deletes its stored API key.
Risk: destructive · Irreversible
get
cloudAccounts.get
Reads one connected cloud account by id or name.
Risk: read
list
cloudAccounts.list
Lists the organization’s connected cloud provider accounts that rigs can run in.
Risk: read
items full type
items full type
listSizes
cloudAccounts.listSizes
Lists the rig sizes a cloud account offers.
Risk: read
update
cloudAccounts.update
Updates a connected cloud account: its name or API key.
Risk: write
Command Runs
cancel
commandRuns.cancel
Requests cancellation of a queued or running command run.
Risk: write
source full type
source full type
workspace full type
workspace full type
create
commandRuns.create
Queues one shell command on a rig (run with bash -e -o pipefail) and answers at once. Name an existing rig (rig_id, rig_name or rig_ref) or create one with rig_create; a stopped rig is started. Poll commandRuns.get for status and commandRuns.listEvents for output. An idempotencyKey is made for you when you leave it out.
Risk: destructive · Irreversible
rig_create full type
rig_create full type
source full type
source full type
workspace full type
workspace full type
get
commandRuns.get
Reads one command run: status (queued, in_progress, completed), conclusion (success, failure, timed_out…), exit code, timing and its rig.
Risk: read
source full type
source full type
workspace full type
workspace full type
list
commandRuns.list
Lists command runs (queued shell commands on rigs), filtered by rig, status or session.
Risk: read
items full type
items full type
listEvents
commandRuns.listEvents
Reads the output events of a command run after a sequence number: pass the next_sequence of the previous answer as after to read on from there.
Risk: read
items full type
items full type
Git User Settings
get
gitUserSettings.get
Reads the caller’s git author name and email, which rigs use for commits.
Risk: read
object
Output full type
Output full type
set
gitUserSettings.set
Sets the caller’s git author name and email for commits made in rigs.
Risk: write
Hosts
checkHealth
hosts.checkHealth
Checks whether a host’s daemon is answering.
Risk: read
create
hosts.create
Registers a host for bring-your-own-compute. amika-hostd setup normally does this.
Risk: write
sizes full type
sizes full type
capabilities full type
capabilities full type
sizes full type
sizes full type
capabilities full type
capabilities full type
delete
hosts.delete
Deletes a host and its stored secret; rigs can no longer be created on it.
Risk: destructive · Irreversible
enrol
hosts.enrol
Enrols a tunnel host with its gateway.
Risk: write
get
hosts.get
Reads one of your own hosts: its hostname, runtimes, sizes and status.
Risk: read
sizes full type
sizes full type
capabilities full type
capabilities full type
list
hosts.list
Lists the organization’s own hosts (machines running amika-hostd) and their runtimes and sizes.
Risk: read
object[]
Output full type
Output full type
replace
hosts.replace
Replaces a host’s registration: hostname, URL and settings.
Risk: write
sizes full type
sizes full type
capabilities full type
capabilities full type
sizes full type
sizes full type
capabilities full type
capabilities full type
Integrations
disconnect
integrations.disconnect
Disconnects an integration provider for the caller and deletes its stored token.
Risk: destructive · Irreversible
list
integrations.list
Lists the caller’s connected integrations (GitHub, Sentry, Linear, Pylon).
Risk: read
object[]
Output full type
Output full type
Job Runs
cancel
jobRuns.cancel
Cancels a pending or running job run.
Risk: write
steps full type
steps full type
get
jobRuns.get
Reads one job run: status, timing and the command run of each step.
Risk: read
steps full type
steps full type
list
jobRuns.list
Lists job runs, filtered by job, status or trigger kind.
Risk: read
items full type
items full type
start
jobRuns.start
Starts a run of a job now, outside its schedule.
Risk: destructive · Irreversible
steps full type
steps full type
Jobs
create
jobs.create
Creates a job: a cron trigger and 1 to 20 shell steps. Each time the trigger fires, a job run runs the steps in order on one rig. Step 0 names the rig with exactly one of rig_id, rig_name, rig_ref or rig_create; later steps name none and run on step 0’s rig. Set enabled false to create it paused. An idempotencyKey is made for you when you leave it out.
Risk: destructive
trigger full type
trigger full type
steps full type
steps full type
trigger full type
trigger full type
steps full type
steps full type
delete
jobs.delete
Deletes a job and all of its job runs.
Risk: destructive · Irreversible
get
jobs.get
Reads one job by id or name.
Risk: read
trigger full type
trigger full type
steps full type
steps full type
list
jobs.list
Lists jobs (scheduled commands on rigs) with their trigger, steps and next run.
Risk: read
items full type
items full type
update
jobs.update
Updates a job: its trigger, steps or description; enabled false pauses it and true resumes it. New steps follow the jobs.create rule: only step 0 names a rig.
Risk: destructive
trigger full type
trigger full type
steps full type
steps full type
trigger full type
trigger full type
steps full type
steps full type
Linear
settings.get
linear.settings.get
Reads the organization’s Linear defaults: repository, agent and system prompt. 404 when not set.
Risk: read
settings.set
linear.settings.set
Sets the organization’s Linear defaults: the repository and agent Linear issues use.
Risk: write
Repositories
clearImage
repositories.clearImage
Clears a repository’s image configuration, so new rigs use the preset image.
Risk: destructive
get
repositories.get
Reads one repository and its rig settings.
Risk: read
integrations.list
repositories.integrations.list
Lists the MCP integrations new rigs of a repository get.
Risk: read
object[]
Output full type
Output full type
integrations.set
repositories.integrations.set
Replaces the list of MCP integrations new rigs of a repository get.
Risk: write
integrations full type
integrations full type
object[]
Output full type
Output full type
list
repositories.list
Lists the organization’s repositories and their rig settings (setup script, image, env).
Risk: read
object[]
Output full type
Output full type
upsert
repositories.upsert
Creates or updates a repository by repo_url: its setup script, image and environment for new rigs.
Risk: write
Rigs
create
rigs.create
Creates a rig: a devbox VM with a repo cloned, dependencies set up and agent credentials injected. Runs on Amika Cloud (billed per second), a connected cloud account, or one of your own hosts (host_id). Answers 202 while it boots; poll rigs.get until status is running and setup_status ok (git-failed, setup-failed or sys-setup-failed means setup failed: stop waiting). By default the rig gets a new organization API key as AMIKA_API_KEY (amika_api_key changes that).
Risk: destructive
resources full type
resources full type
agent_credentials full type
agent_credentials full type
amika_api_key full type
amika_api_key full type
sandbox_size_config full type
sandbox_size_config full type
services full type
services full type
mounted_secrets full type
mounted_secrets full type
resolved_agent_credentials full type
resolved_agent_credentials full type
agent_credentials full type
agent_credentials full type
created_by full type
created_by full type
cloud_account full type
cloud_account full type
createSshSession
rigs.createSshSession
Opens a direct WebSocket SSH session to a rig and returns its connection details. Name the rig by id or name; sandbox_by says which (default: either).
Risk: write
createTerminalTicket
rigs.createTerminalTicket
Mints a single-use ticket for the web terminal of a rig. Name the rig by id or name; sandbox_by says which (default: either).
Risk: write
delete
rigs.delete
Deletes a rig and its disk. Anything not pushed or snapshotted is lost. A bare-metal rig is your own machine: only the rig and its SSH bridge state go, and the files and settings on the machine stay. With forget “true”, Amika only drops its record when the host or provider can’t be reached: the machine is left running, so confirm with the host or provider that it is gone. Name the rig by id or name; by says which (default: either).
Risk: destructive · Irreversible
get
rigs.get
Reads one rig: status, setup status, provider, size, branch, services and timestamps. Name the rig by id or name; by says which (default: either).
Risk: read
sandbox_size_config full type
sandbox_size_config full type
services full type
services full type
mounted_secrets full type
mounted_secrets full type
resolved_agent_credentials full type
resolved_agent_credentials full type
agent_credentials full type
agent_credentials full type
created_by full type
created_by full type
cloud_account full type
cloud_account full type
getSlackConversation
rigs.getSlackConversation
Reads the Slack thread a Slack-made rig belongs to.
Risk: read
conversation full type
conversation full type
getSlackMetadata
rigs.getSlackMetadata
Lists Slack metadata (team, channel, thread) for the organization’s Slack-made rigs, keyed by rig.
Risk: read
metadata full type
metadata full type
list
rigs.list
Lists the organization’s rigs (isolated devbox VMs for coding agents) with their status, provider and size.
Risk: read
object[]
Output full type
Output full type
listIntegrations
rigs.listIntegrations
Lists the MCP integrations (Sentry, Linear, Pylon) attached to a rig at creation. Name the rig by id or name; sandbox_by says which (default: either).
Risk: read
object[]
Output full type
Output full type
listLifecycleEvents
rigs.listLifecycleEvents
Reads the control-plane event feed of a rig: created, setup steps, started, stopped, errors. Name the rig by id or name; sandbox_by says which (default: either).
Risk: read
events full type
events full type
services.create
rigs.services.create
Exposes a port of a rig as a named service with its own http or https URL (a dev server preview).
Risk: write
services.createToken
rigs.services.createToken
Mints an access token for a service of a rig that runs on your own host, for calling it from a script.
Risk: write
services.delete
rigs.services.delete
Removes a live service from a rig; its URL stops answering.
Risk: destructive
services.list
rigs.services.list
Lists the live services of a rig: name, port and the URL that reaches it. Name the rig by id or name; sandbox_by says which (default: either).
Risk: read
items full type
items full type
services.replace
rigs.services.replace
Replaces a live service on a rig: its name, port and URL scheme.
Risk: write
sessions.create
rigs.sessions.create
Creates a new, empty agent session on a rig for the named agent (no message is sent). Name the rig by id or name; sandbox_by says which (default: either).
Risk: write
messages full type
messages full type
sessions.get
rigs.sessions.get
Reads one agent session on a rig by its session id.
Risk: read
messages full type
messages full type
sessions.getLatest
rigs.sessions.getLatest
Reads the most recent agent session on a rig. Name the rig by id or name; sandbox_by says which (default: either).
Risk: read
messages full type
messages full type
sessions.list
rigs.sessions.list
Lists the agent sessions on one rig. Name the rig by id or name; sandbox_by says which (default: either).
Risk: read
sessions full type
sessions full type
sessions.update
rigs.sessions.update
Updates an agent session on a rig: its status or metadata.
Risk: write
messages full type
messages full type
start
rigs.start
Starts a stopped rig. On a VM rig, files in the home folder are kept and /tmp is cleared by the restart; on a bare-metal rig it only starts the SSH bridge again (the machine never stopped). Billing resumes while it runs. Name the rig by id or name; by says which (default: either).
Risk: destructive
stop
rigs.stop
Stops a running rig so it stops billing for compute. On a VM rig, files in the home folder are kept and /tmp is cleared when it starts again, so keep work in the home folder. On a bare-metal rig only the SSH bridge stops: the machine keeps running and its files, /tmp included, stay as they are. Name the rig by id or name; by says which (default: either).
Risk: write
Secrets
create
secrets.create
Stores a generic secret in the Amika vault (user or organization scope) for injecting into rigs as an env var.
Risk: write
delete
secrets.delete
Deletes a generic secret from the vault.
Risk: destructive · Irreversible
list
secrets.list
Lists the generic secrets the caller can see (names and scopes, never values).
Risk: read
object[]
Output full type
Output full type
sshPublicKeys.delete
secrets.sshPublicKeys.delete
Deletes one of the caller’s SSH public keys.
Risk: destructive · Irreversible
sshPublicKeys.list
secrets.sshPublicKeys.list
Lists the caller’s SSH public keys.
Risk: read
object[]
Output full type
Output full type
sshPublicKeys.upsert
secrets.sshPublicKeys.upsert
Adds or replaces one of the caller’s SSH public keys, used for rig SSH and editor access.
Risk: write
update
secrets.update
Updates a generic secret: its value, name or scope.
Risk: write
Service Definitions
create
serviceDefinitions.create
Adds a service definition to a repository: a named set of ports every rig of that repository exposes.
Risk: write
ports full type
ports full type
ports full type
ports full type
delete
serviceDefinitions.delete
Deletes a service definition from a repository.
Risk: destructive
update
serviceDefinitions.update
Updates a repository’s service definition: its name and ports.
Risk: write
ports full type
ports full type
ports full type
ports full type
Services
list
services.list
Lists the live services across the organization’s rigs.
Risk: read
items full type
items full type
Slack
channelSettings.delete
slack.channelSettings.delete
Deletes one Slack channel’s defaults; it falls back to the workspace defaults.
Risk: destructive
channelSettings.list
slack.channelSettings.list
Lists per-channel Slack defaults and the channels the Amika bot has seen recently.
Risk: read
settings full type
settings full type
seen_channels full type
seen_channels full type
channelSettings.set
slack.channelSettings.set
Sets the repository, agent and system prompt one Slack channel uses.
Risk: write
settings.get
slack.settings.get
Reads the organization’s Slack defaults: repository, agent and system prompt. 404 when not set.
Risk: read
settings.set
slack.settings.set
Sets the organization’s Slack defaults: the repository and agent a new Slack thread uses, and an optional system prompt.
Risk: write
Snapshots
create
snapshots.create
Starts capturing a snapshot of a running rig (sandbox_ref names it). mode scrub_and_delete (default) removes injected secrets and deletes the source rig; full keeps both. Answers 202; poll snapshots.get for status.
Risk: destructive · Irreversible
daytona full type
daytona full type
delete
snapshots.delete
Deletes a snapshot by name (default) or id. Rigs can no longer boot from it.
Risk: destructive · Irreversible
get
snapshots.get
Reads one snapshot by name (default) or id: status, source rig and size.
Risk: read
daytona full type
daytona full type
list
snapshots.list
Lists snapshots captured from rigs (reusable base images new rigs can boot from).
Risk: read
items full type
items full type
previewScrub
snapshots.previewScrub
Previews which injected secrets a scrub_and_delete snapshot of a rig would remove.
Risk: read