Search Index Registry
The search index registry resource.
Basehttps://rest.carbon.ms/searchIndexRegistry
GET
/searchIndexRegistryList search index registrys
Retrieve a paginated list of search index registrys. Filter, order, and select columns with PostgREST query parameters.
Query parameters
selectstringComma-separated columns to return. Defaults to all.
orderstringColumn to sort by, e.g. `createdAt.desc`.
limitintegerMaximum rows to return.
offsetintegerRows to skip, for pagination.
GEThttps://rest.carbon.ms/searchIndexRegistry
curl --request GET \
--url 'https://rest.carbon.ms/searchIndexRegistry?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'Response
[
{
"companyId": "xyz789",
"createdAt": "2026-01-01T00:00:00Z",
"lastRebuiltAt": "2026-01-01T00:00:00Z"
}
]GET
/searchIndexRegistryRetrieve a search index registry
Fetch a single search index registry by filtering on `companyId`.
Query parameters
companyIdstringMatch on the search index registry's `companyId`, e.g. `eq.{id}`.
GEThttps://rest.carbon.ms/searchIndexRegistry
curl --request GET \
--url 'https://rest.carbon.ms/searchIndexRegistry?companyId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'Response
{
"companyId": "xyz789",
"createdAt": "2026-01-01T00:00:00Z",
"lastRebuiltAt": "2026-01-01T00:00:00Z"
}POST
/searchIndexRegistryCreate a search index registry
Create a new search index registry.
Body parameters
lastRebuiltAttimestampPOSThttps://rest.carbon.ms/searchIndexRegistry
curl --request POST \
--url https://rest.carbon.ms/searchIndexRegistry \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"companyId":"xyz789"}'Response
{
"companyId": "xyz789",
"createdAt": "2026-01-01T00:00:00Z",
"lastRebuiltAt": "2026-01-01T00:00:00Z"
}PATCH
/searchIndexRegistryUpdate a search index registry
Update an existing search index registry, matched on `companyId`.
Body parameters
lastRebuiltAttimestampPATCHhttps://rest.carbon.ms/searchIndexRegistry
curl --request PATCH \
--url 'https://rest.carbon.ms/searchIndexRegistry?companyId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"lastRebuiltAt":"2026-01-01T00:00:00Z"}'Response
{
"companyId": "xyz789",
"createdAt": "2026-01-01T00:00:00Z",
"lastRebuiltAt": "2026-01-01T00:00:00Z"
}DELETE
/searchIndexRegistryDelete a search index registry
Delete a search index registry, matched on `companyId`. Returns 204 No Content.
Query parameters
companyIdstringThe `companyId` of the search index registry to delete, e.g. `eq.{id}`.
DELETEhttps://rest.carbon.ms/searchIndexRegistry
curl --request DELETE \
--url 'https://rest.carbon.ms/searchIndexRegistry?companyId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'204 No Content