Cloudflare Sessions API

The Sessions API from Cloudflare — 8 operation(s) for sessions.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 9

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

GET /accounts/{account_id}/realtime/kit/{app_id}/sessions List all Realtime Kit sessions · Fetch all sessions of an App #
Ask an LLM
“How do I list every session of my Realtime Kit app?”
“Can I filter the session list by status or participant?”
Tell an agent
List all sessions of app {app_id} in account {account_id}.
Show sessions of app {app_id} in account {account_id} with status {status}.
GET /accounts/{account_id}/realtime/kit/{app_id}/sessions/peer-report/{peer_id} Get call statistics for one peer · Fetch details of peer #
Ask an LLM
“How do I see call statistics for a single participant by peer ID?”
“Can I include a peer's events when fetching their report?”
Tell an agent
Get the peer report for peer {peer_id} in app {app_id}, account {account_id}.
Show call statistics for peer {peer_id} in app {app_id}, account {account_id}, including events {include_peer_events}.
GET /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id} Get details of one Realtime Kit session · Fetch details of a session #
Ask an LLM
“What are the details of a specific Realtime Kit session?”
“Can I include breakout rooms when fetching session details?”
Tell an agent
Get the details of session {session_id} in app {app_id}, account {account_id}.
Show session {session_id} in app {app_id}, account {account_id} with breakout rooms {include_breakout_rooms}.
GET /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/chat Get the chat transcript of a session · Fetch all chat messages of a session #
Ask an LLM
“Where do I download the chat messages from a Realtime Kit session?”
“Is the session chat available as a CSV file?”
Tell an agent
Get the chat transcript URL for session {session_id} in app {app_id}, account {account_id}.
Download the chat messages from session {session_id} in app {app_id}, account {account_id}.
GET /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/participants List participants of a session · Fetch participants list of a session #
Ask an LLM
“Who joined a particular Realtime Kit session?”
“Can I search session participants by name?”
Tell an agent
List participants of session {session_id} in app {app_id}, account {account_id}.
Find participants matching {search} in session {session_id}, app {app_id}, account {account_id}.
GET /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/participants/{participant_id} Get details of one participant in a session · Fetch details of a participant #
Ask an LLM
“What are the details of a single participant in a Realtime Kit session?”
“Can I include a participant's peer events in their details?”
Tell an agent
Get participant {participant_id} in session {session_id}, app {app_id}, account {account_id}.
Show participant {participant_id} in session {session_id}, app {app_id}, account {account_id} with events {include_peer_events}.
GET /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/summary Get the summary URL for a session · Fetch summary of transcripts for a session #
Ask an LLM
“Where is the summary of transcripts for a Realtime Kit session?”
“Can I download the session summary as plain text?”
Tell an agent
Get the summary URL for session {session_id} in app {app_id}, account {account_id}.
Download the transcript summary of session {session_id} in app {app_id}, account {account_id}.
POST /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/summary Generate a summary of a session's transcripts · Generate summary of Transcripts for the session #
Ask an LLM
“How do I generate a summary of the transcripts for a Realtime Kit session?”
“Can I trigger a session summary to be generated on demand?”
Tell an agent
Generate a summary of the transcripts for session {session_id} in app {app_id}, account {account_id}.
Trigger a session summary on session {session_id} in app {app_id}, account {account_id}.
GET /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/transcript Download a session's transcript · Fetch the complete transcript for a session #
Ask an LLM
“How do I get a transcript of a Realtime session?”
“Can I download the session transcript as CSV?”
Tell an agent
Get the transcript for session {session_id} in {app_id} on account {account_id}.
Download session {session_id} transcript as {format}.

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

cloudflare-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Welcome to Cloudflare's API documentation site.
  license:
    name: BSD-3-Clause
    url: https://opensource.org/licenses/BSD-3-Clause
  title: Cloudflare Sessions API
  version: 4.0.0
servers:
- description: Client API
  url: https://api.cloudflare.com/client/v4
security:
- api_email: []
  api_key: []
- api_token: []
- user_service_key: []
tags:


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