Anam.ai Sessions API

The Sessions API from Anam.ai — 9 operation(s) for sessions.

GitHub OpenAPI

Operations 13

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/auth/session-token Create a session token for the SDK · create session token #
Ask an LLM
“How do I get a session token to start an Anam session in my app?”
“Can I attach a persona config and session options when creating a session token?”
Tell an agent
Create a session token for client {clientLabel}.
Create a session token for persona {personaConfig} with options {sessionOptions}.
POST /v1/auth/widget Create a widget session token · create widget session token #
Ask an LLM
“How do I generate a session token for a widget hosted on my site?”
“Does a widget session token need the origin of the page it's loaded from?”
Tell an agent
Create a widget session token for agent {agentId}.
Create a widget session token for {agentId} from origin {Origin}.
GET /v1/sessions List sessions in the organization · list sessions #
Ask an LLM
“Which sessions has my organization started?”
“Can I list only the sessions that are still active?”
Tell an agent
List all sessions in my organization.
List sessions for persona {personaId} with active {active}.
GET /v1/sessions/concurrency Check concurrent session limits · Get current concurrency status #
Ask an LLM
“How many concurrent sessions can my organization start right now?”
“Is a new session likely to be blocked by the concurrency limit?”
Tell an agent
Check our concurrent session limit and wait estimate.
Show concurrency status for organization {organizationId}.
GET /v1/sessions/analytics Get aggregated session latency analytics · get aggregated session analytics #
Ask an LLM
“What are the average and 99th-percentile latencies across my sessions?”
“Can I see analytics for sessions of one persona over a custom date range?”
Tell an agent
Get aggregated session analytics from {from} to {to}.
Show latency analytics for persona {personaId}.
GET /v1/sessions/{id} Get a session and its tool calls · get session #
Ask an LLM
“What tool calls were made during a finished session?”
“When will the tool call details be filled in for a session?”
Tell an agent
Get session {id}.
Show the tool calls made in session {id}.
DELETE /v1/sessions/{id} Permanently delete a session's data · delete session #
Ask an LLM
“How do I permanently wipe all customer information from a session?”
“Is deleting a session's data reversible?”
Tell an agent destructive · confirm first
Permanently delete all customer information from session {id}.
Wipe the session record {id} and its usage records.
GET /v1/sessions/{id}/transcript Get a session's conversation transcript · get session transcript #
Ask an LLM
“Can I read the full conversation transcript of a session?”
“Are transcripts returned for zero-data-retention sessions?”
Tell an agent
Get the transcript for session {id}.
Show the conversation transcript of session {id}.
POST /v1/sessions/{id}/stop Force-terminate a running session · stop session #
Ask an LLM
“How do I force a session to end while it's still running?”
“What happens to the session report after I stop a session?”
Tell an agent destructive · confirm first
Stop the running session {id}.
Force-terminate session {id} now.
DELETE /v1/sessions/{id}/report Delete a session's report data · delete session report #
Ask an LLM
“How do I remove the session report and generated insights from a session?”
“Can I delete only the session report without deleting the recording?”
Tell an agent destructive · confirm first
Delete the session report for session {id}.
Remove the generated insights and conversation summary from session {id}.
GET /v1/sessions/{id}/recording Get a download link for a session recording · get session recording #
Ask an LLM
“Where can I download the video recording of a session?”
“Can I get a presigned URL for a session's recording?”
Tell an agent
Get a presigned URL for the recording of session {id}.
Download the video recording of session {id}.
DELETE /v1/sessions/{id}/recording Delete a session's video recording · delete session recording #
Ask an LLM
“How do I permanently delete a session's video recording?”
“Is deleting a session's recording reversible?”
Tell an agent destructive · confirm first
Delete the video recording of session {id}.
Permanently remove the session's recording from storage.
GET /v1/sessions/{id}/analytics Get per-turn analytics for a session · get session analytics #
Ask an LLM
“Where did most of the latency happen in each turn of a session?”
“Can I include the messages in a session's per-turn analytics?”
Tell an agent
Get per-turn analytics for session {id}.
Show session {id} analytics including messages {includeMessages}.

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/anamai:anamai-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

anamai-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anam AI Sessions API
  version: '1.0'
servers:
- url: https://api.anam.ai
  description: Anam API
security:
- BearerAuth: []
tags:


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