list_index_jobs
Use the list index jobs operation to list asynchronous index jobs.
List all index build and rebuild jobs.
Parameters
| Parameter | Type | Value Range | Required | Default | Description | Notes |
|---|---|---|---|---|---|---|
limit |
int |
> 0 | No | None |
Maximum number of index jobs to return. | When omitted, the service applies its default page size. |
offset |
int |
>= 0 | No | None |
Number of index jobs to skip before returning this page. | Use with limit to request later pages. |
Returns metadata for all CREATE and REBUILD index operations, including their current states and progress.
List index jobs
jobs = client.list_index_jobs(limit=25, offset=0)
print([job.job_name for job in jobs.items or []])
Return type JobCollectionResponse
Returns JSON response containing an array of index jobs.
Example response:
{
"items": [
{
"job_name": "VECDB_CREATE_INDEX_ABC123",
"job_creator": "VECTOR3",
"operation": "CREATE",
"state": "SUCCEEDED",
"links": [
{
"rel": "self",
"href": "https://<host>/ords/<schema>/_/db-api/stable/vecdb/vector-indexes/jobs/vecdb_create_index_abc123/"
},
{
"rel": "related",
"href": "https://<host>/ords/<schema>/_/db-api/stable/vecdb/vector-indexes/jobs/vecdb_create_index_abc123/jobfile"
}
]
}
],
"count": 1
}