Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Telnyx Session Analysis API

Analyze voice AI sessions, costs, and event hierarchies across Telnyx products.

Telnyx Session Analysis API is one of 168 APIs that Telnyx publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Session Analysis. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 3 operations across 3 paths, and defines 19 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against a single base URL, https://api.telnyx.com/v2.

3 operations 3 paths 19 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Base URL
https://api.telnyx.com/v2
Authentication
HTTP Bearer, HTTP Bearer, OAuth 2.0, HTTP Bearer, HTTP Bearer, HTTP Bearer
Resource Areas
1

Authentication & Security 6

Telnyx Session Analysis API declares 6 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). It accepts HTTP bearer tokens (branded-calling_bearerAuth). It supports OAuth 2.0 (oauthClientAuth) using the authorizationCode and clientCredentials flows, exposing 1 scope. It accepts HTTP bearer tokens (JWT) (outbound-voice-profiles_bearerAuth). It accepts HTTP bearer tokens (pronunciation-dicts_bearerAuth). It accepts HTTP bearer tokens (JWT) (stored-payment-transactions_bearerAuth). By default, every request must be authenticated.

  • branded-calling_bearerAuth — API key passed as a Bearer token in the Authorization header
  • oauthClientAuth — OAuth 2.0 authentication for Telnyx API and MCP integrations
  • pronunciation-dicts_bearerAuth — Telnyx API v2 key. Obtain from https://portal.telnyx.com

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Session Analysis 3

Analyze voice AI sessions, costs, and event hierarchies across Telnyx products.

GET
/session_analysis/metadata
Get metadata overview
GetSessionAnalysisMetadata → 200401500
GET
/session_analysis/metadata/{record_type}
Get record type metadata
GetSessionAnalysisRecordTypeMetadata 1 param → 200404500
GET
/session_analysis/{record_type}/{event_id}
Get session analysis
GetSessionAnalysis 6 params → 200400403404500

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are EventNode (8 properties), RecordTypeMetadataResponse (8 properties), ParentRelationshipInfo (8 properties), ChildRelationshipInfo (8 properties). Each schema is shown below with its type and property counts.

EventNode
object
8 properties 7 required
ChildRelationshipInfo
object
8 properties 8 required
ResponseMeta
object
2 properties 2 required
QueryParameterInfo
object
6 properties 3 required
MetadataInfo
object
2 properties 2 required
MetadataFieldMapping
object
2 properties 2 required
RelationshipInfo
object
3 properties 3 required
CostSummary
object
2 properties 2 required
MetadataOverviewResponse
object
3 properties 3 required
Links
object
2 properties 2 required
SessionAnalysisErrorResponse
object
1 property 1 required
SessionAnalysisResponse
object
4 properties 4 required
RecordTypeInfo
object
7 properties 7 required
FieldMapping
object
2 properties 2 required
ParentRelationshipInfo
object
8 properties 8 required
RelationshipMetadata
object
4 properties 4 required
RecordTypeMetadataResponse
object
8 properties 8 required
SessionAnalysisError
object
3 properties 2 required
CostInfo
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

telnyx-session-analysis-api-openapi.yml Raw ↑

Other APIs Telnyx publishes across the network.

Telnyx Access Tokens API
Telnyx Addresses API
Telnyx Advanced Number Orders API
Telnyx Assistants API
Telnyx Audio API
Telnyx Audit Logs API
Telnyx Authentication Providers API
Telnyx AutoRechargePreferences API
Telnyx Billing API
Telnyx Billing Groups API
Telnyx Brands API
Telnyx Bucket SSL Certificate API