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

# List Indices

> Returns all OpenSearch indices with their health status, document count,
and storage size. LogClaw uses daily indices with the pattern
`logclaw-logs-YYYY.MM.dd`.




## OpenAPI

````yaml GET /api/opensearch/_cat/indices
openapi: 3.1.0
info:
  title: LogClaw API
  description: >
    LogClaw Cloud API for log ingestion, API key management, incident
    monitoring,

    and infrastructure health. All endpoints are authenticated via the

    `x-logclaw-api-key` header.


    Generate an API key from your project dashboard at

    [console.logclaw.ai](https://console.logclaw.ai) under **Settings → API
    Keys**.
  version: 1.0.0
  contact:
    name: LogClaw
    url: https://docs.logclaw.ai
servers:
  - url: https://otel.logclaw.ai
    description: LogClaw Cloud
security:
  - apiKey: []
tags:
  - name: Ingestion
    description: OTLP log ingestion
  - name: API Keys
    description: API key management
  - name: Bridge
    description: ETL pipeline health and configuration
  - name: Ticketing
    description: Incident management and runtime config
  - name: Infrastructure
    description: Cluster health monitoring
  - name: OpenSearch
    description: Log storage and search
paths:
  /api/opensearch/_cat/indices:
    get:
      tags:
        - OpenSearch
      summary: List Indices
      description: |
        Returns all OpenSearch indices with their health status, document count,
        and storage size. LogClaw uses daily indices with the pattern
        `logclaw-logs-YYYY.MM.dd`.
      operationId: listIndices
      parameters:
        - name: format
          in: query
          schema:
            type: string
            default: json
          description: Response format (use `json` for structured output)
      responses:
        '200':
          description: List of indices
          content:
            application/json:
              example:
                - health: green
                  status: open
                  index: logclaw-logs-2024.03.01
                  docs.count: '15420'
                  store.size: 12.3mb
                - health: green
                  status: open
                  index: logclaw-logs-2024.02.29
                  docs.count: '12890'
                  store.size: 10.1mb
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-logclaw-api-key
      description: Your project API key (starts with `lc_proj_`)

````