Search
Discovery
Lists the search clusters the caller can reach.#
GET
/lmkit/v1/search/clustersScoped to the caller's key: a cluster is listed when the key holds at least one tenant grant in it, or when the key was explicitly granted the cluster (so a new key can discover where it may provision before it holds any tenant). The listing never enumerates other clusters the server hosts. An empty list means this key has nothing to reach yet: grants are managed from the admin panel.
Responses
| Status | Type | Description |
|---|---|---|
| 200 | [] | OK |
| 503 | application/json | Service Unavailable |
curl -X GET "$LMKIT_ONE_URL/lmkit/v1/search/clusters" \
-H "Authorization: Bearer $LMKIT_API_KEY"Lists every collection the caller can reach, across clusters and tenants.#
GET
/lmkit/v1/search/collectionsOne call answers 'what can I search?': each entry carries the cluster_id, tenant_id, and collection_id needed to address it. Produced under the same grant checks as every read and write, so it can never name a collection the caller could not otherwise use. An empty list means this key has no tenant grants yet.
Responses
| Status | Type | Description |
|---|---|---|
| 200 | [] | OK |
| 503 | application/json | Service Unavailable |
curl -X GET "$LMKIT_ONE_URL/lmkit/v1/search/collections" \
-H "Authorization: Bearer $LMKIT_API_KEY"