Timescale · Schema
MetricSeries
One labeled time series — the label set plus its per-bucket data points.
CompanyDatabasePostgreSQLTime SeriesAnalyticsCloud InfrastructureData PlatformVector SearchDeveloper ToolsOpen Source
Properties
| Name | Type | Description |
|---|---|---|
| labels | object | Label set identifying this series. The key set depends on the metric (e.g. `role`, `ordinal`). |
| data | array | Per-bucket data points for this label set. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/timescale/main/json-schema/timescale-metric-series-schema.json",
"title": "MetricSeries",
"description": "One labeled time series — the label set plus its per-bucket data points.",
"x-generated": "2026-10-13",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/timescale-services-api-openapi.yml#/components/schemas/MetricSeries",
"x-preview": true,
"type": "object",
"required": [
"labels",
"data"
],
"properties": {
"labels": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Label set identifying this series. The key set depends on the\nmetric (e.g. `role`, `ordinal`).\n"
},
"data": {
"type": "array",
"description": "Per-bucket data points for this label set.",
"items": {
"$ref": "#/$defs/MetricDataPoint"
}
}
},
"$defs": {
"MetricDataPoint": {
"x-preview": true,
"type": "object",
"description": "A single time/value pair within a MetricSeries.",
"required": [
"time"
],
"properties": {
"time": {
"type": "string",
"format": "date-time",
"description": "The bucket start timestamp."
},
"value": {
"type": "number",
"format": "double",
"description": "The aggregated value at this bucket. Buckets without collected\ndata are omitted from the parent series' `data` array; the API\ndoes not currently emit null values.\n"
}
}
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/timescale-metric-series"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.