Terminal Use · AsyncAPI Specification

Terminal Use Webhooks

Version

View Spec View on GitHub CompanyAgentsAI AgentsBackground AgentsAgent InfrastructureDeploymentOrchestrationSandboxed ComputeFilesystemDeveloper ToolsSDKCLIAsyncAPIEvents

AsyncAPI Specification

Raw ↑
generated: '2026-07-21'
method: searched
source: https://docs.terminaluse.com/concepts/keys-and-secrets + https://docs.terminaluse.com/api-reference/cli
spec_type: Webhooks
note: >-
  Terminal Use documents an inbound webhook surface but publishes no AsyncAPI
  document, so this captures the webhook/event surface rather than a verbatim
  AsyncAPI spec. NEVER fabricated: only the webhook-key surface and the
  documented task event/streaming model are recorded.
event_surfaces:
- kind: webhook
  name: Terminal Use webhooks
  direction: inbound
  verification: >-
    Webhook keys verify inbound webhook delivery from Terminal Use. Managed via
    the `tu keys` CLI (instructions/add/ls/rm) and the API webhook-keys
    operations.
  management_api:
    tag: Webhook Keys
    docs: https://docs.terminaluse.com/api-reference/webhook-keys-list
- kind: streaming
  name: Task event stream
  direction: outbound (server -> client)
  transport: Server-Sent Events (SSE)
  endpoint: GET /tasks/{id}/stream
  operation: tasks_stream
  model: >-
    Tasks receive Events (input) and emit Messages (output). Clients stream a
    task's messages/events over SSE; a Vercel AI SDK provider
    (@terminaluse/vercel-ai-sdk-provider) consumes the stream for chat UIs.
  related_operations: [tasks_send_event, tasks_stream, events_list, events_retrieve, messages_v2_list]
webhook_keys_operations: [webhook_keys_list, webhook_keys_create, webhook_keys_get, webhook_keys_delete]

Work with this as data

Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for asyncapi

4 MCP tools reach this
  • find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/terminal-use-webhooks"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.