The Tela agent id (path param). Always required — /agent/:id/run.
OptionalenvironmentKey/value environment variables for the run.
OptionalinputsPer-variable inputs, flattened into the wire inputSchema array.
The turn message (required by the API for both new and continued sessions).
OptionalsessionContinue an existing session by id; omit to start a new one.
OptionalwebhooksOptional session webhook registrations. On continuation, passing this replaces the existing set; omitting it keeps the current registration.
Parameters for Agents.run — starting or continuing an agent session via the Tela gateway (
POST /agent/:id/run).Start a new session with just
agentId(+message); continue an existing one by also passing itssessionId.