> ## Documentation Index
> Fetch the complete documentation index at: https://developers.meshapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Loki series

> Loki's HTTP API on your organization's own request records. Point a Grafana Loki data source at `/v1/logs`; see the logs API guide.



## OpenAPI

````yaml /api/openapi.json get /v1/logs/loki/api/v1/series
openapi: 3.1.0
info:
  title: MeshAPI
  description: One key, all AI models.
  version: 0.1.0
servers:
  - url: https://api.meshapi.ai
security:
  - BearerAuth: []
paths:
  /v1/logs/loki/api/v1/series:
    get:
      tags:
        - Logs
      summary: Loki series
      description: >-
        Loki's HTTP API on your organization's own request records. Point a
        Grafana Loki data source at `/v1/logs`; see the logs API guide.
      operationId: logs_loki_series
      parameters:
        - in: header
          name: X-Mesh-Version
          required: false
          schema:
            type: string
            enum:
              - 2026-08
              - 2026-09
              - 2026-11
              - '2026-11-12'
            default: 2026-08
          example: '2026-11-12'
          description: >-
            Dated version of the API contract to pin this request to. Omit it
            and the request is served under `2026-08` — the oldest supported
            version, so an existing integration is never moved by a release. A
            malformed or unsupported value is rejected with `400
            invalid_api_version` rather than falling back silently. The version
            actually served is echoed as `X-Mesh-Version` on every response,
            including errors.
      responses:
        '200':
          description: Loki's response, unchanged; a 4xx from Loki passes through too.
        '401':
          description: No credential, not an admin key, or a revoked or expired one.
        '403':
          description: >-
            The key lacks `logs:read`, or its scope is narrower than the
            organization.
        '404':
          description: A path this API does not serve.
        '422':
          description: >-
            The result is larger than 32 MiB (`log_result_too_large`); narrow
            the query.
        '429':
          description: Over the per-organization limit; wait `Retry-After` seconds.
        '503':
          description: The log store is unavailable (`log_store_unavailable`).
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Enter your MeshAPI key (`rsk_...`) or, for the admin-keys endpoints, a
        dashboard session token — sent as `Authorization: Bearer <token>`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.