JobResponse
Describes one asynchronous job.
For the list of response object types, see Response Objects.
Use JobResponse to inspect asynchronous load and index job metadata, including the job name, type, operation, state, and start time.
Attributes
| Attribute | Type | Description |
|---|---|---|
job_name |
str or None |
Name of the job. |
job_creator |
str or None |
User or schema that created the job. |
job_type |
str or None |
Type of job. |
operation |
str or None |
Operation performed by the job. |
state |
str or None |
Current job state. |
start_date |
str or None |
Job start timestamp. |
links |
list[LinkRelation] or None |
Hypermedia links returned by the service. |
Methods
| Method | Return Type | Description |
|---|---|---|
model_dump() |
dict[str, Any] |
Returns a dictionary representation of the response. |
model_dump_json() |
str |
Returns a JSON string representation of the response. |
to_dict() |
dict[str, Any] |
Returns a dictionary representation compatible with earlier SDK response handling. |
to_json() |
str |
Returns a JSON string representation compatible with earlier SDK response handling. |
to_str() |
str |
Returns a readable string representation compatible with earlier SDK response handling. |
model_validate(obj) |
JobResponse |
Creates a response object from a dictionary payload. |
model_validate_json(json_data) |
JobResponse |
Creates a response object from a JSON string. |
Iterate Attributes
Use the response serialization helper to iterate every public attribute.
response = client.describe_vector_load_job(
load_job_name="VECTOR_LOAD_JOB_123",
)
payload = response.to_dict()
for attribute, value in payload.items():
print(attribute, value)
Sample Response
{
"job_name": "VECTOR_LOAD_JOB_123",
"job_creator": "VECTOR3",
"job_type": "VECTOR_LOAD",
"operation": "LOAD_VECTORS",
"state": "SUCCEEDED",
"start_date": "2026-03-12T11:21:30Z"
}
Returned By
Returned by: load_vectors(), describe_vector_load_job(), create_index(), describe_index_job(), rebuild_index().