Prometheus Remote API

Remote read and write endpoints.

GitHub OpenAPI

Operations 2

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

POST /read Read time series data over remote read · Remote read endpoint #
Ask an LLM
“How do I federate time series data from a remote read endpoint?”
“Can I query remote metrics through the remote read endpoint?”
Tell an agent
Read time series data from the remote read endpoint.
Federate metrics over remote read.
POST /write Write metrics to a remote write endpoint · Remote write endpoint #
Ask an LLM
“How do I send metrics to a remote write endpoint?”
“Can I push time series data to a remote write target?”
Tell an agent
Write metrics to the remote write endpoint.
Push time series data to remote write.

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/prometheus-io:prometheus-io-remote-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

prometheus-io-remote-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Prometheus Remote API
  description: Prometheus is an Open-Source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern alerting approach.
  contact:
    name: Prometheus Community
    url: https://prometheus.io/community/
  version: 0.0.1-undefined
servers:
- url: /api/v1
tags:
- name: Remote
  description: Remote read and write endpoints.
paths:
  /read:
    post:
      tags:
      - Remote
      summary: Remote read endpoint
      description: Prometheus remote read endpoint for federated queries. Accepts and returns Protocol Buffer encoded data.
      operationId: remoteRead
      responses:
        '204':
          description: No Content
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /write:
    post:
      tags:
      - Remote
      summary: Remote write endpoint
      description: Prometheus remote write endpoint for sending metrics. Accepts Protocol Buffer encoded write requests.
      operationId: remoteWrite
      responses:
        '204':
          description: No Content
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        status:
          type: string
          enum:
          - success
          - error
          description: Response status.
          example: success
        errorType:
          type: string
          description: Type of error that occurred.
          example: bad_data
        error:
          type: string
          description: Human-readable error message.
          example: invalid parameter
      required:
      - status
      - errorType
      - error
      additionalProperties: false
      description: Error response.