Mezmo Export API

Historical log export

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/mezmo-export-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mezmo-export-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: Mezmo Alerts Archiving Export API
  description: 'Manage Mezmo preset alerts. Preset alerts encapsulate presence or absence

    triggers, frequency, count thresholds, and notification channels (PagerDuty,

    Slack, webhook, email) that views attach to.

    '
  version: '1.0'
servers:
- url: https://api.mezmo.com
security:
- AccessToken: []
tags:
- name: Export
  description: Historical log export
paths:
  /v1/export:
    get:
      tags:
      - Export
      summary: Export Logs V1
      description: Legacy export endpoint with plan-bounded result size.
      operationId: exportLogsV1
      parameters:
      - $ref: '#/components/parameters/From'
      - $ref: '#/components/parameters/To'
      - $ref: '#/components/parameters/Query'
      - $ref: '#/components/parameters/Hosts'
      - $ref: '#/components/parameters/Apps'
      - $ref: '#/components/parameters/Levels'
      - $ref: '#/components/parameters/Tags'
      responses:
        '200':
          description: Newline-delimited JSON of matching log lines.
  /v2/export:
    get:
      tags:
      - Export
      summary: Export Logs V2
      description: Paginated export of historical log data.
      operationId: exportLogsV2
      parameters:
      - $ref: '#/components/parameters/From'
      - $ref: '#/components/parameters/To'
      - $ref: '#/components/parameters/Query'
      - $ref: '#/components/parameters/Hosts'
      - $ref: '#/components/parameters/Apps'
      - $ref: '#/components/parameters/Levels'
      - $ref: '#/components/parameters/Tags'
      - name: pagination_id
        in: query
        schema:
          type: string
        description: Opaque continuation cursor returned in the previous page.
      - name: size
        in: query
        schema:
          type: integer
          maximum: 10000
        description: Page size.
      responses:
        '200':
          description: Page of log lines plus next-page cursor.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExportPage'
components:
  parameters:
    Apps:
      name: apps
      in: query
      schema:
        type: string
      description: Comma-separated app names.
    Query:
      name: query
      in: query
      schema:
        type: string
      description: Free-text search expression.
    To:
      name: to
      in: query
      required: true
      schema:
        type: integer
        format: int64
      description: End of the export window (unix epoch milliseconds).
    Tags:
      name: tags
      in: query
      schema:
        type: string
      description: Comma-separated tags.
    From:
      name: from
      in: query
      required: true
      schema:
        type: integer
        format: int64
      description: Start of the export window (unix epoch milliseconds).
    Levels:
      name: levels
      in: query
      schema:
        type: string
      description: Comma-separated log levels.
    Hosts:
      name: hosts
      in: query
      schema:
        type: string
      description: Comma-separated hostnames.
  schemas:
    ExportPage:
      type: object
      properties:
        lines:
          type: array
          items:
            type: object
            properties:
              _id:
                type: string
              _ts:
                type: integer
                format: int64
              _line:
                type: string
              _host:
                type: string
              _app:
                type: string
              level:
                type: string
              meta:
                type: object
                additionalProperties: true
        pagination_id:
          type: string
          description: Cursor to fetch the next page. Empty when the export is complete.
  securitySchemes:
    AccessToken:
      type: http
      scheme: bearer