Mezmo Export API

Historical log export

Operations 2

GET /v1/export Export Logs V1 #
GET /v2/export Export Logs V2 #

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 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.

OpenAPI Specification

mezmo-export-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mezmo Log Export API
  description: 'Query and export logs from the Mezmo log analysis platform. V2 supports

    pagination and is recommended for unbounded exports. V1 is preserved for

    backward compatibility and is plan-limited.

    '
  version: '2.0'
  contact:
    name: Mezmo
    url: https://www.mezmo.com/
servers:
- url: https://api.mezmo.com
  description: Production API
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:
    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.
    From:
      name: from
      in: query
      required: true
      schema:
        type: integer
        format: int64
      description: Start of the export window (unix epoch milliseconds).
    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.
    Apps:
      name: apps
      in: query
      schema:
        type: string
      description: Comma-separated app names.
  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