---
updatedAt: 2026-05-07T21:19:20.000Z
---

# List Logs Indexes (All Cases)

Return a filtered list of logs indexes for all cases. Can only be accessed by global administrators.  Supports pagination.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "LogRhythm Case API",
    "version": "9.0.0",
    "description": "The following endpoints are available for the Case API service."
  },
  "tags": [
    {
      "name": "Case Evidence",
      "description": "Manage evidence on a case. Case evidence can include notes, alarms, logs, and other file attachments."
    },
    {
      "name": "Logs Indexes",
      "description": "List log evidence indexes across all cases."
    }
  ],
  "x-tagGroups": [
    {
      "name": "Cases",
      "tags": [
        "Case Summary",
        "Case Evidence",
        "Case Collaborators",
        "Case Tags",
        "Associated Cases",
        "Case Metrics"
      ]
    },
    {
      "name": "History",
      "tags": [
        "Global History",
        "Case History"
      ]
    },
    {
      "name": "Playbooks",
      "tags": [
        "Playbooks",
        "Playbook Procedures",
        "Playbook Attachments",
        "Playbook Import / Export"
      ]
    },
    {
      "name": "Case Playbooks",
      "tags": [
        "Case Playbooks",
        "Case Playbook Procedures",
        "Case Playbook Attachments"
      ]
    },
    {
      "name": "Logs Indexes",
      "tags": [
        "Logs Indexes"
      ]
    },
    {
      "name": "Files",
      "tags": [
        "Files"
      ]
    },
    {
      "name": "Tags",
      "tags": [
        "Tags"
      ]
    },
    {
      "name": "Capabilities",
      "tags": [
        "Capabilities"
      ]
    },
    {
      "name": "Unsupported",
      "tags": [
        "Feature Flags",
        "Users",
        "Maintenance"
      ]
    },
    {
      "name": "Change Log",
      "tags": [
        "Breaking Changes",
        "Deprecation Notice"
      ]
    }
  ],
  "paths": {
    "/lr-case-api/logs-indexes": {
      "x-swagger-router-controller": "logsIndexesOnAllCases",
      "get": {
        "tags": [
          "Logs Indexes",
          "Case Evidence"
        ],
        "summary": "List Logs Indexes (All Cases)",
        "description": "Return a filtered list of logs indexes for all cases. Can only be accessed by global administrators.  Supports pagination.",
        "parameters": [
          {
            "$ref": "#/components/parameters/offset"
          },
          {
            "$ref": "#/components/parameters/count"
          },
          {
            "$ref": "#/components/parameters/logsIndexesOnAllCasesOrderBy"
          },
          {
            "$ref": "#/components/parameters/direction"
          },
          {
            "$ref": "#/components/parameters/updatedAfterFilter"
          },
          {
            "$ref": "#/components/parameters/updatedBeforeFilter"
          },
          {
            "$ref": "#/components/parameters/createdAfterFilter"
          },
          {
            "$ref": "#/components/parameters/createdBeforeFilter"
          },
          {
            "$ref": "#/components/parameters/logsIndexStateFilter"
          }
        ],
        "operationId": "listLogsIndexesOnAllCases",
        "responses": {
          "200": {
            "description": "Returns the filtered logs index information.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LogsIndexStatus"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "offset": {
        "name": "offset",
        "description": "Number of results to skip when paging.",
        "in": "header",
        "required": false,
        "schema": {
          "type": "integer",
          "default": 0
        }
      },
      "count": {
        "name": "count",
        "description": "Maximum number of results to be returned when paging.",
        "in": "header",
        "required": false,
        "schema": {
          "type": "integer",
          "default": 25
        }
      },
      "direction": {
        "name": "direction",
        "description": "Sorts results in ascending or descending order.",
        "in": "header",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "asc",
            "desc"
          ],
          "default": "asc"
        }
      },
      "updatedAfterFilter": {
        "name": "updatedAfter",
        "description": "Filter results that were updated after the specified date. Must be an RFC 3339 formatted string.",
        "in": "header",
        "required": false,
        "schema": {
          "type": "string",
          "format": "date-time"
        }
      },
      "updatedBeforeFilter": {
        "name": "updatedBefore",
        "description": "Filter results that were updated before the specified date. Must be an RFC 3339 formatted string.",
        "in": "header",
        "required": false,
        "schema": {
          "type": "string",
          "format": "date-time"
        }
      },
      "createdAfterFilter": {
        "name": "createdAfter",
        "description": "Filter results that were created after the specified date. Must be an RFC 3339 formatted string.",
        "in": "header",
        "required": false,
        "schema": {
          "type": "string",
          "format": "date-time"
        }
      },
      "createdBeforeFilter": {
        "name": "createdBefore",
        "description": "Filter results that were created before the specified date. Must be an RFC 3339 formatted string.",
        "in": "header",
        "required": false,
        "schema": {
          "type": "string",
          "format": "date-time"
        }
      },
      "logsIndexStateFilter": {
        "name": "state",
        "description": "Filter results that have the specified logs index state.",
        "in": "query",
        "required": false,
        "style": "form",
        "explode": false,
        "schema": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "rebuilding",
              "ready",
              "archived",
              "error"
            ]
          }
        }
      },
      "logsIndexesOnAllCasesOrderBy": {
        "name": "orderBy",
        "description": "Sorts the returned results by the specified field.",
        "in": "header",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "dateCreated",
            "dateUpdated"
          ],
          "default": "dateUpdated"
        }
      }
    },
    "schemas": {
      "LogsIndexStatus": {
        "description": "The status of a logs index for a case.",
        "type": "object",
        "properties": {
          "indexId": {
            "description": "The unique ID of the logs index.",
            "type": "string",
            "format": "uuid",
            "example": "baca95ad-e9d7-4270-a677-da0cf4a587d8"
          },
          "state": {
            "description": "The state of the logs index.",
            "type": "string",
            "enum": [
              "unknown",
              "ready",
              "rebuilding",
              "error",
              "archived"
            ],
            "example": "ready"
          },
          "message": {
            "description": "Information regarding the status of the logs index.",
            "type": "string",
            "example": "The logs index is ready to use."
          },
          "dateCreated": {
            "description": "When the logs index was created, as an RFC 3339 formatted string.",
            "type": "string",
            "format": "date-time"
          },
          "dateUpdated": {
            "description": "When the logs index was last updated, as an RFC 3339 formatted string.",
            "type": "string",
            "format": "date-time"
          },
          "dateRebuilt": {
            "description": "When the logs index was unarchived, as an RFC 3339 formatted string.",
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastUpdatedBy": {
            "$ref": "#/components/schemas/Person"
          }
        }
      },
      "Person": {
        "type": "object",
        "properties": {
          "number": {
            "description": "Unique, numeric identifier for the person.",
            "type": "integer",
            "example": 1
          },
          "name": {
            "description": "Name of the person.",
            "type": "string",
            "example": "John Smith"
          },
          "disabled": {
            "description": "If the person is disabled in the system.",
            "type": "boolean",
            "example": false
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```