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

Ably Stats API

The Stats API from Ably — 2 operation(s) for stats.

Ably Stats API is one of 12 APIs that Ably publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Stats. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.

This API exposes 2 operations across 2 paths, and defines 1 schema. It is described by OpenAPI 3.0.1, at version 1.0.32.

Requests are made against a single base URL, https://control.ably.net/v1.

2 operations 2 paths 1 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0.32
Base URL
https://rest.ably.io
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Ably Stats API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearer_auth).

  • bearer_auth — Control API uses bearer authentication. You need to generate an access token for use with this API. More details can be found in the Ably docs .

Paths & Operations 2

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

Stats 2
GET
/stats
Retrieve usage statistics for an application
getStats 7 params → 2XXdefault
GET
/time
Get the service time
getTime 2 params → 2XXdefault

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is Error (5 properties). Each schema is shown below with its type and property counts.

Error
object
Returned error from failed REST.
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ably-stats-api-openapi.yml Raw ↑

Other APIs Ably publishes across the network.

Ably apps API
Ably Authentication API
Ably History API
Ably keys API
Ably namespaces API
Ably Publishing API
Ably Push API
Ably queues API
Ably rules API
Ably Status API
Ably tokens API