Content Management API > Search indexing activity
List all search indexing events
Query parameters
pageobject
Parameters to control offset-based pagination
offsetinteger
The (zero-based) offset of the first entity returned in the collection (defaults to 0)
limitinteger
The maximum number of entities to return (defaults to 30, maximum is 500)
filterobject
Attributes to filter
idsstring
IDs to fetch, comma separated
Example:
"42,554"
fieldsobject
search_index_idobject
eqstring
event_typeobject
eqenum
The type of activity
Example:
"indexing_success"
indexing_started
Site indexing started
indexing_success
Site indexing completed successfully
indexing_failure
Site indexing failed
indexing_aborted
Site indexing aborted by user
created_atobject
gtdate-time
ltdate-time
order_byenum
Fields used to order results
Example:
"created_at_desc"
search_index_id_asc
search_index_id_desc
created_at_asc
created_at_desc
event_type_asc
event_type_desc
Returns
Returns an array of resource objects of type search_index_event.
Examples
GET https://site-api.datocms.com/search-index-events HTTP/1.1Authorization: Bearer YOUR-API-TOKENAccept: application/jsonX-Api-Version: 3curl -g 'https://site-api.datocms.com/search-index-events' \ \ -H "Authorization: Bearer YOUR-API-TOKEN" \ -H "Accept: application/json" \ -H "X-Api-Version: 3"await fetch("https://site-api.datocms.com/search-index-events", { 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_event", "id": "34", "attributes": { "event_type": "indexing_success", "data": { "pages": [ "https://www.example.com/ (language: en)", "https://www.example.com/about (language: en)" ] }, "created_at": "2016-09-20T18:50:24.914Z" }, "relationships": { "search_index": { "data": { "type": "search_index", "id": "1822" } } } } ], "meta": { "total_count": 20 }}