Actions36
- Record Actions
- Table Actions
- Field Actions
- Index Actions
- Relationship Actions
- Query Actions
- System Actions
- Batch Actions
Index → List Indexes
AI-generatedSummary
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.