Skip to content
Docs
GitHub

Agent API

Call your agent.

Preview

Call one agent: start sessions, send messages, stream results and respond to questions or tool approvals.

Agent-scoped credentialsLive event streamingPython · TypeScript · Rust

Endpoints

Agent API

GETGet agent card/v1/channels/{channel_id}PreviewGETGet work chat config/v1/channels/{channel_id}/chat/configPreviewPOSTResolve work chat main/v1/channels/{channel_id}/chat/mainPreviewGETRead work chat share/v1/channels/{channel_id}/chat/shared/{token}PreviewPOSTCreate a runtime token/v1/channels/{channel_id}/runtime-authPreviewGETList sessions/v1/channels/{channel_id}/sessionsPreviewPOSTStart a session/v1/channels/{channel_id}/sessionsPreviewGETGet a session/v1/channels/{channel_id}/sessions/{session_id}PreviewPOSTCancel a turn/v1/channels/{channel_id}/sessions/{session_id}/cancelPreviewGETRead events/v1/channels/{channel_id}/sessions/{session_id}/eventsPreviewGETGet work chat files/v1/channels/{channel_id}/sessions/{session_id}/filesPreviewPOSTWrite work chat file/v1/channels/{channel_id}/sessions/{session_id}/filesPreviewDELETEDelete work chat file/v1/channels/{channel_id}/sessions/{session_id}/filesPreviewPOSTSend a message/v1/channels/{channel_id}/sessions/{session_id}/messagesPreviewPUTAdd a reaction/v1/channels/{channel_id}/sessions/{session_id}/messages/{message_id}/reactions/{emoji}PreviewDELETERemove a reaction/v1/channels/{channel_id}/sessions/{session_id}/messages/{message_id}/reactions/{emoji}PreviewPOSTAnswer questions/v1/channels/{channel_id}/sessions/{session_id}/question-answersPreviewGETList reactions/v1/channels/{channel_id}/sessions/{session_id}/reactionsPreviewPOSTUpdate work chat conversation/v1/channels/{channel_id}/sessions/{session_id}/settingsPreviewPOSTShare work chat conversation/v1/channels/{channel_id}/sessions/{session_id}/sharePreviewDELETERevoke work chat share/v1/channels/{channel_id}/sessions/{session_id}/sharePreviewGETStream events/v1/channels/{channel_id}/sessions/{session_id}/ssePreviewPOSTApprove tool calls/v1/channels/{channel_id}/sessions/{session_id}/tool-approvalsPreviewGETList work chat tasks/v1/channels/{channel_id}/sessions/{session_id}/workPreviewGETGet work chat by host/v1/work-chat/hosts/{label}Preview

Support & compatibility

Stable
Documented compatibility. Breaking changes follow an announced deprecation period.
Preview
Public early access. Breaking changes may occur; review the changelog before upgrading.
Experimental
Evaluation only. No compatibility guarantee; the endpoint lists its availability requirements.
Internal
Platform operation and diagnostics. No external compatibility commitment.
Deprecated
Use the linked replacement or migration guide. Removal dates appear only when announced.

Current public APIs are Preview unless marked Experimental. Support labels describe compatibility, not access permissions or a service-level agreement.

Agent credentials

Agent key (evr_ak_…), channel runtime token, or a token accepted by the channel’s configured identity provider. Personal access tokens require org_members. Runtime-auth accepts an agent key with End-User or a configured identity-provider token; runtime tokens cannot renew themselves.

Authentication and end-user guide →