Tembo Sessions API

The Sessions API from Tembo — 10 operation(s) for sessions.

GitHub OpenAPI

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/sessions/live Issue a ticket for live session changes · Authorize live session changes #
Ask an LLM
“How do I get a WebSocket ticket to watch live session changes?”
“How long does a live session change ticket stay valid?”
Tell an agent
Issue a live session change ticket scoped to {scope}.
Generate a 30-second WebSocket ticket for session changes with scope {scope}.
GET /v1/sessions/live Listen for live session changes · Live session changes #
Ask an LLM
“How do I get live changes to a session as they happen?”
“Can I watch a session's changes in real time?”
Tell an agent
Listen for live session changes with ticket {ticket}.
Open a real-time feed of session changes using ticket {ticket}.
GET /v1/sessions/sources List sources a session can use · List session sources #
Ask an LLM
“Which source integrations can a session use?”
“Can I list only enabled session sources?”
Tell an agent
List session sources for integration {integrationId}.
List session sources of type {types} with enabled {enabled}.
GET /v1/sessions/sources/{sourceId} Get one session source · Retrieve a session source #
Ask an LLM
“What are the settings of a specific session source?”
“Can I look up a single session source by ID?”
Tell an agent
Get session source {sourceId}.
Show the configuration of session source {sourceId}.
GET /v1/sessions List sessions · List sessions #
Ask an LLM
“Which sessions do I have access to?”
“Can I list only sessions on a particular repository?”
Tell an agent
List my sessions.
List sessions on repository {repositoryIds}.
POST /v1/sessions Start a session for a task · Create a session #
Ask an LLM
“How do I start a session to work on a task?”
“Can I choose which agent and repositories a new session uses?”
Tell an agent
Create a session with description {description}.
Start a session on repositories {codeRepositoryIds} described as {description}.
POST /v1/sessions/{sessionId}/fork Fork a session into a new one · Fork a session #
Ask an LLM
“How do I start a new session from an existing one?”
“Can I fork a session without replaying its messages?”
Tell an agent
Fork session {sessionId}.
Fork session {sessionId} with prompt {prompt}.
GET /v1/sessions/{sessionId} Get a session · Retrieve a session #
Ask an LLM
“What are the details of a session I have access to?”
“Can I look up a session by its ID?”
Tell an agent
Get session {sessionId}.
Show the details of session {sessionId}.
PATCH /v1/sessions/{sessionId} Update a session's configuration · Update a session #
Ask an LLM
“How do I change the agent or visibility of an existing session?”
“Can I rename a session after creating it?”
Tell an agent
Rename session {sessionId} to {title}.
Set the visibility of session {sessionId} to {visibility}.
DELETE /v1/sessions/{sessionId} Delete a session · Delete a session #
Ask an LLM
“How do I delete a session I no longer need?”
“Can I remove a session by its ID?”
Tell an agent destructive · confirm first
Delete session {sessionId}.
Remove session {sessionId} permanently.
POST /v1/sessions/{sessionId}/stop Stop a running session · Stop a session #
Ask an LLM
“How do I interrupt a session that is still running?”
“Can I stop a session and keep its queued messages?”
Tell an agent
Stop session {sessionId}.
Stop session {sessionId} and cancel its queued messages ({cancelQueued}).
GET /v1/sessions/{sessionId}/events List events recorded in a session · List session events #
Ask an LLM
“What happened in a session over time?”
“Can I list only the session-level events of a session?”
Tell an agent
List events in session {sessionId}.
List events in session {sessionId} for message {messageId}.
GET /v1/sessions/{sessionId}/diffs List diffs recorded in a session · List session diffs #
Ask an LLM
“Which files changed during a session?”
“Can I list only the diffs that actually changed files?”
Tell an agent
List diffs in session {sessionId}.
List diffs in session {sessionId} with changes {hasChanges}.
GET /v1/sessions/{sessionId}/diffs/{diffId} Get one diff from a session · Retrieve a session diff #
Ask an LLM
“What does a specific diff recorded in a session contain?”
“Can I fetch the content of one session diff by its ID?”
Tell an agent
Get diff {diffId} from session {sessionId}.
Show the content of session {sessionId} diff {diffId}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/tembo:tembo-sessions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

tembo-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tembo Sessions API
  version: 1.0.0
  description: 'Operations tagged Sessions across 2 of this provider''s published API definitions: tembo-openapi-original.json, tembo-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.tembo.io/
  description: Tembo API
tags:


# --- truncated at 32 KB (151 KB total) ---
# Full source: https://artifacts.apis.io/tembo/openapi/tembo-sessions-api-openapi.yml