Skip to main content
GET
/
api
/
v1
/
search
/
tables
/
{table_name}
/
indices
Python (SDK)
from openapi import SDK


with SDK(
    bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:

    res = sdk.search.tables.list_indices(table_name="<value>")

    # Handle response
    print(res)
{
  "indices": [
    {
      "config": {
        "distance_type": "cosine",
        "num_partitions": 128,
        "type": "IVF_FLAT"
      },
      "field": "embedding",
      "index_type": "IVF_FLAT"
    },
    {
      "config": {
        "type": "FTS"
      },
      "field": "content",
      "index_type": "FTS"
    }
  ]
}

Authorizations

Authorization
string
header
required

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Path Parameters

table_name
string
required

Response

Resposta Bem-Sucedida

indices
IndexInfo · object[]
required