ReadonlycancelCancels a running session. Pass-through to the agent-sdk client
(POST /v4/sessions/:id/cancel).
ReadonlyfetchFetches the session timeline summary. Pass-through to the agent-sdk client
(GET /v4/sessions/:id/timeline).
ReadonlyresolveResolves a vault:// reference to bytes/stream/json. Pass-through to the
agent-sdk client.
ReadonlystreamStreams a session's events. Pass-through to the agent-sdk client
(GET /v4/sessions/:id).
Fetches an agent record by id via the Tela gateway (GET /agent/:id).
Lists the agents available in the workspace (optionally filtered by
project) via the Tela gateway (GET /agent).
Starts (or continues) an agent session via the Tela gateway
(POST /agent/:id/run).
agentId (+ message).agentId and the existing sessionId.The per-variable inputs map is flattened into the wire inputSchema
array (each entry tagged with its variable name); any TelaFile inputs are
uploaded to the vault first. Returns the sessionId to stream/inspect.
Updates an agent's model, delegating to the agent-sdk client
(PUT /v4/agents/:repository/model). The agentId is resolved to the
underlying repository first.
Agents API resource.
Example