OnyxMetric Session Replay API
Session Replay API operations.
Session Replay API operations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/onyxmetric-com:onyxmetric-com-session-replay-api"
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.
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: 3.2.0
info:
title: Onyxmetric Com Session Replay API
version: 2.8.0-beta
contact:
name: OnyxMetric
url: https://onyxmetric.com/contact
termsOfService: https://onyxmetric.com/terms-and-conditions
description: 'Operations tagged Session Replay across 2 of this provider''s published API definitions: onyxmetric-com-openapi.json, openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.onyxmetric.com
description: OnyxMetric Cloud API
tags:
- name: Session Replay
description: Session Replay API operations.
paths:
/api/sites/{site}/session-replay/{sessionId}:
delete:
summary: Delete Session Replay
description: Permanently deletes a session replay recording. Requires the editor role or above on the site.
operationId: deleteApiSitesSiteSessionReplaySessionId
tags:
- Session Replay
security:
- BearerAuth: []
- QueryApiKey: []
- CookieSession: []
externalDocs:
url: https://onyxmetric.com/docs/api/session-replay/delete
responses:
'200':
description: Successful response. Refer to the linked endpoint documentation for the response fields.
content:
application/json:
schema: {}
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'403':
description: Insufficient permission
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
description: Unexpected server error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
parameters:
- description: Numeric OnyxMetric Site ID or string identifier.
in: path
name: site
required: true
schema:
oneOf:
- type: integer
minimum: 1
- type: string
minLength: 1
- description: sessionId identifier.
in: path
name: sessionId
required: true
schema:
type: string
minLength: 1
get:
summary: Get Session Replay Events
description: Returns the rrweb events and metadata needed to reconstruct a session replay.
operationId: getApiSitesSiteSessionReplaySessionId
tags:
- Session Replay
security:
- BearerAuth: []
- QueryApiKey: []
- CookieSession: []
externalDocs:
url: https://onyxmetric.com/docs/api/session-replay/events
responses:
'200':
description: Successful response. Refer to the linked endpoint documentation for the response fields.
content:
application/json:
schema: {}
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'403':
description: Insufficient permission
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
description: Unexpected server error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
parameters:
- description: Numeric OnyxMetric Site ID or string identifier.
in: path
name: site
required: true
schema:
oneOf:
- type: integer
minimum: 1
- type: string
minLength: 1
- description: sessionId identifier.
in: path
name: sessionId
required: true
schema:
type: string
minLength: 1
servers:
- url: https://app.onyxmetric.com
description: OnyxMetric Cloud API
/api/sites/{site}/session-replay/list:
get:
summary: Get Session Replays
description: Returns recorded session replays with metadata, newest first.
operationId: getApiSitesSiteSessionReplayList
tags:
- Session Replay
security:
- BearerAuth: []
- QueryApiKey: []
- CookieSession: []
externalDocs:
url: https://onyxmetric.com/docs/api/session-replay/list
responses:
'200':
description: Successful response. Refer to the linked endpoint documentation for the response fields.
content:
application/json:
schema: {}
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'403':
description: Insufficient permission
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
description: Unexpected server error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
parameters:
- description: Numeric OnyxMetric Site ID or string identifier.
in: path
name: site
required: true
schema:
oneOf:
- type: integer
minimum: 1
- type: string
minLength: 1
- $ref: '#/components/parameters/StartDate'
- $ref: '#/components/parameters/EndDate'
- $ref: '#/components/parameters/TimeZone'
- $ref: '#/components/parameters/StartDatetime'
- $ref: '#/components/parameters/EndDatetime'
- $ref: '#/components/parameters/PastMinutesStart'
- $ref: '#/components/parameters/PastMinutesEnd'
- $ref: '#/components/parameters/Filters'
- $ref: '#/components/parameters/SegmentId'
servers:
- url: https://app.onyxmetric.com
description: OnyxMetric Cloud API
components:
parameters:
SegmentId:
name: segment_id
in: query
description: ID of a saved segment whose filters are applied server-side, ANDed with any `filters` also passed.
schema:
type: integer
minimum: 1
StartDatetime:
name: start_datetime
in: query
schema:
type: string
PastMinutesStart:
name: past_minutes_start
in: query
schema:
type: integer
minimum: 1
PastMinutesEnd:
name: past_minutes_end
in: query
schema:
type: integer
minimum: 0
EndDate:
name: end_date
in: query
schema:
type: string
format: date
TimeZone:
name: time_zone
in: query
schema:
type: string
example: America/Los_Angeles
StartDate:
name: start_date
in: query
schema:
type: string
format: date
Filters:
name: filters
in: query
description: JSON-encoded array of analytics filters.
schema:
type: string
EndDatetime:
name: end_datetime
in: query
schema:
type: string
schemas:
ApiError:
type: object
additionalProperties: true
required:
- error
- code
- message
- resolution
properties:
error:
type: string
description: Backward-compatible human-readable error.
code:
type: string
description: Stable machine-readable error code.
message:
type: string
description: Human-readable explanation.
resolution:
type: string
description: Action the caller can take to recover.
details:
description: Optional structured context for this error.
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: Personal or organization API key sent as an Authorization Bearer token.
QueryApiKey:
type: apiKey
in: query
name: api_key
description: Testing-only fallback. Bearer authentication is recommended.
CookieSession:
type: apiKey
in: cookie
name: better-auth.session_token
description: Authenticated dashboard session cookie. Secure deployments may prefix the cookie name with __Secure-.
externalDocs:
description: OnyxMetric API documentation
url: https://onyxmetric.com/docs/api/getting-started
x-refined-from:
- onyxmetric-com-openapi.json
- openapi.json