POST /projects/{project}/indexes/{table}
Query and indexes
POST /projects/{project}/indexes/{table}
Creates an index on one or more existing columns.
POST
POST /projects/{project}/indexes/{table}
Creates an index on one or more existing columns.
Full request:
Error or alternate response:
Endpoint details
string
required
Bearer
pat_... (Project API Token). Keep this token on your backend/server.string
required
Project slug. This acts as the Project ID in API paths.
string
required
Table name inside the project.
boolean
required
true for a successful response and false for an error response.object | null
Endpoint-specific response data when
ok is true; null on errors.object | null
Error code and message when
ok is false; null on success.string
required
Request identifier you can use when troubleshooting a specific API call.
Authentication
Project API Token.Parameters
Path:table required. Body: columns required non-empty array; index_name optional identifier; unique optional boolean.