Skip to content
Navigation

List indexes

Lists the indexes the token can read. An admin token sees every index. Source-scoped read tokens get names only; other callers also get file sizes and retention policy.

GET
/indexes

Authorization

  • bearerAuth
    HTTP
    required

Returns

200

Authorized indices

JSON
  • indexes
    array of
    object
    required
    • name
      string
      required
    • size_bytes
      optional
      integer
      format: int64 · minimum: 0
    • database_bytes
      optional
      integer
      format: int64 · minimum: 0
    • wal_bytes
      optional
      integer
      format: int64 · minimum: 0
    • archive_bytes
      optional
      integer
      format: int64 · minimum: 0
    • temp_bytes
      optional
      integer
      format: int64 · minimum: 0
    • other_bytes
      optional
      integer
      format: int64 · minimum: 0
    • max_size_bytes
      optional
      integer | null
      format: int64 · minimum: 1
    • retention_ms
      optional
      integer
      format: int64 · minimum: 1
    • ready
      optional
      boolean

401

Read or admin token required

429

Diagnostics capacity exhausted

503

Filesystem inspection unavailable

Type to search…

↑↓ navigate↵ selectEsc close