Mezmo Logs API

Log line ingestion

Operations 1

POST /logs/ingest Ingest Logs #

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-logs-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-logs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mezmo Log Ingestion Logs API
  description: 'Ingest log lines into the Mezmo log analysis platform (formerly LogDNA).

    Lines are sent in batched JSON to logs.mezmo.com/logs/ingest with metadata

    including hostname, app, env, mac, ip, level, and arbitrary structured meta.

    '
  version: '1.0'
  contact:
    name: Mezmo
    url: https://www.mezmo.com/
  license:
    name: Proprietary
    url: https://www.mezmo.com/legal/master-services-agreement
servers:
- url: https://logs.mezmo.com
  description: Production ingestion endpoint
security:
- AccessToken: []
- ServiceKey: []
tags:
- name: Logs
  description: Log line ingestion
paths:
  /logs/ingest:
    post:
      tags:
      - Logs
      summary: Ingest Logs
      description: 'Send a batch of log lines to Mezmo. Each line carries a timestamp, line

        body, app, level, env, and free-form meta. Recommended batch size is

        under 10 MB per request.

        '
      operationId: ingestLogs
      parameters:
      - name: hostname
        in: query
        required: true
        schema:
          type: string
        description: Originating host name for the batch.
      - name: mac
        in: query
        required: false
        schema:
          type: string
        description: MAC address of the originating host.
      - name: ip
        in: query
        required: false
        schema:
          type: string
        description: IP address of the originating host.
      - name: now
        in: query
        required: false
        schema:
          type: integer
          format: int64
        description: Current unix epoch milliseconds on the sending host.
      - name: tags
        in: query
        required: false
        schema:
          type: string
        description: Comma-separated tags to attach to every line in the batch.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IngestBatch'
      responses:
        '200':
          description: Batch accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IngestAck'
        '401':
          description: Authentication failed.
        '403':
          description: Account suspended or over plan limit.
        '413':
          description: Batch payload too large.
components:
  schemas:
    LogLine:
      type: object
      required:
      - line
      properties:
        timestamp:
          type: integer
          format: int64
          description: Unix epoch milliseconds.
        line:
          type: string
          description: Log line body.
        app:
          type: string
          description: Originating application name.
        level:
          type: string
          description: Log level (DEBUG, INFO, WARN, ERROR, FATAL).
        env:
          type: string
          description: Environment (prod, staging, dev).
        meta:
          type: object
          description: Free-form structured metadata.
          additionalProperties: true
    IngestBatch:
      type: object
      required:
      - lines
      properties:
        lines:
          type: array
          items:
            $ref: '#/components/schemas/LogLine'
    IngestAck:
      type: object
      properties:
        status:
          type: string
        batchID:
          type: string
  securitySchemes:
    AccessToken:
      type: http
      scheme: bearer
      description: 'Authorization: Token {ACCESS_TOKEN}'
    ServiceKey:
      type: apiKey
      in: header
      name: Authorization
      description: Deprecated service key in Authorization header.