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

# List databases

> List your account's databases and their state.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/databases
openapi: 3.1.0
info:
  title: Infino API
  description: >-
    The Infino hosted data-plane API: per-database table operations — create,
    ingest, search, and SQL.
  version: 0.1.0
servers:
  - url: https://api.platform.infino.ws
    description: Infino Cloud
security:
  - api_key: []
tags:
  - name: Databases
    description: Create, list, and delete the databases in your account.
  - name: Tables
    description: Create, drop, and list tables, and describe a table's schema.
  - name: Rows
    description: Append, update, and delete rows.
  - name: Search
    description: BM25, vector, and hybrid search, token and exact match, count, and SQL.
paths:
  /v1/databases:
    get:
      tags:
        - Databases
      summary: List databases
      description: List your account's databases and their state.
      operationId: list_databases
      responses:
        '200':
          description: The account's databases.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListDatabasesResponse'
        '401':
          description: No valid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      security:
        - api_key: []
components:
  schemas:
    ListDatabasesResponse:
      type: object
      description: The databases in your account.
      required:
        - databases
      properties:
        databases:
          type: array
          items:
            $ref: '#/components/schemas/DatabaseSummary'
          description: The account's databases, order unspecified.
    ErrorBody:
      type: object
      description: A JSON error body.
      required:
        - error
      properties:
        error:
          type: string
          description: Human-readable error message.
    DatabaseSummary:
      type: object
      description: One database in the account's list, with its lifecycle state.
      required:
        - name
        - state
        - created_ms
      properties:
        created_ms:
          type: integer
          format: int64
          description: >-
            Unix epoch milliseconds when the database was created, or `0` if
            unknown

            (a database registered before creation time was tracked).
          minimum: 0
        name:
          type: string
          description: The database name, unique within the account.
        state:
          type: string
          description: >-
            Lifecycle state: `registered` (usable), `purging` (being deleted),
            or

            `unreachable` (a bound database whose storage grant failed — restore

            the grant and re-verify to restore service; the data is not lost).
  securitySchemes:
    api_key:
      type: http
      scheme: bearer

````