Content Management API > Search Index
Retrieve a search index
Returns
Returns a resource object of type search_index.
Examples
GET https://site-api.datocms.com/search-indexes/:search_index_id HTTP/1.1Authorization: Bearer YOUR-API-TOKENAccept: application/jsonX-Api-Version: 3curl -g 'https://site-api.datocms.com/search-indexes/:search_index_id' \ \ -H "Authorization: Bearer YOUR-API-TOKEN" \ -H "Accept: application/json" \ -H "X-Api-Version: 3"await fetch("https://site-api.datocms.com/search-indexes/:search_index_id", { headers: { Authorization: "Bearer YOUR-API-TOKEN", Accept: "application/json", "X-Api-Version": "3", },});HTTP/1.1 200 OKContent-Type: application/jsonCache-Control: cache-control: max-age=0, private, must-revalidateX-RateLimit-Limit: 30X-RateLimit-Remaining: 28
{ "data": { "type": "search_index", "id": "1822", "attributes": { "name": "Production Website", "enabled": true, "frontend_url": "https://www.mywebsite.com/", "user_agent_suffix": "v1.0.0" }, "relationships": { "build_triggers": { "data": [ { "type": "build_trigger", "id": "1822" } ] } }, "meta": { "indexing_status": "success", "last_indexing_completed_at": "2025-03-30T09:29:14.872Z" } }}