Index Jobs

Retrieves index jobs for the tenant.
- : Needed to search documents, to read saved searches, and to read search indexes and index jobs.
Your Emporix tenant's name. Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Page number to be retrieved. The number of the first page is 1.
1Number of items to be retrieved per page.
60Comma-separated list of properties used to sort the results. The order of properties indicates their priority.
Possible values:
{fieldName}{fieldName}:ASC{fieldName}:DESC
When the direction is omitted, the field is sorted in ascending order. When sort is omitted, results are ordered by metadata.createdAt descending.
name:ASCA standard query parameter is used to search for specific values.
Comma-separated list of job properties to return. When the parameter is omitted, the job is returned in full.
id,status,type,indexIdFlag indicating whether the total count of retrieved items should be returned.
falseThe request succeeded. The body is the current page of jobs.
The authorization token is invalid or has expired.
The access token does not include search.search_read.
A server-side error occurred.
GET /search/{tenant}/jobs HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"id": "66f1a2b3c4d5e6f708192a3b",
"status": "in_progress",
"type": "create_index",
"indexId": "vehicles",
"message": "Creating index vehicles--VEHICLE for type VEHICLE",
"metadata": {
"version": 1,
"createdAt": "2026-03-12T10:00:00.000Z",
"modifiedAt": "2026-03-12T10:00:00.000Z"
}
}
]
Retrieves one index job.
- : Needed to search documents, to read saved searches, and to read search indexes and index jobs.
Your Emporix tenant's name. Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Identifier of the index job.
66f1a2b3c4d5e6f708192a3bComma-separated list of job properties to return. When the parameter is omitted, the job is returned in full.
id,status,type,indexIdThe job exists.
One index build or deletion job.
Job id.
66f1a2b3c4d5e6f708192a3bCurrent state of the job.
in_progressPossible values: Kind of index change.
create_indexPossible values: Index id.
vehiclesText recorded when the job started.
Creating index vehicles--VEHICLE for type VEHICLEResult text recorded when the job finishes.
Index created.The authorization token is invalid or has expired.
The access token does not include search.search_read.
No job with this id exists.
A server-side error occurred.
GET /search/{tenant}/jobs/{id} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "66f1a2b3c4d5e6f708192a3b",
"status": "success",
"type": "create_index",
"indexId": "vehicles",
"message": "Creating index vehicles--VEHICLE for type VEHICLE",
"response": "Index created.",
"metadata": {
"version": 1,
"createdAt": "2026-03-12T10:00:00.000Z",
"modifiedAt": "2026-03-12T10:04:00.000Z"
}
}Last updated
Was this helpful?

