SurrealDB icon

SurrealDB

Interaction with a SurrealDB database

Index → List Indexes

AI-generated

Summary

List all indexes defined on a specified table within SurrealDB, optionally specifying connection settings like namespace, database, and connection pooling parameters.

Inputs

  • Table (required) — The name of the table from which to list indexes.
  • Namespace — Optional SurrealDB namespace to override credentials.
  • Database — Optional SurrealDB database to override credentials.
  • Connection Pooling — Optional connection pooling settings to optimize performance, including max/min connections, timeouts, health checks, and retry policies.

Output shape

a list of index metadata objects for the specified table

The output includes all indexes currently defined on the given table. No pagination is specified, and errors return standard error envelopes.

Examples

Example 1: Retrieve indexes for a 'users' table in the default namespace and database without connection pooling modifications.

Set 'Table' to 'users', leave 'Namespace' and 'Database' empty, do not add anything under 'Connection Pooling'. The node returns the full list of indexes for the 'users' table.

Links

Discussion