Jobs
Get information about a job
Request job status/result
Block Model API
Version: 1.42.9
Retrieves a given job.
A job represents a background activity in the BlockSync compute workers, such as performing a query or updating a
block model based on an uploaded file. This endpoint indicates the job's status, and once it has completed or failed,
details about the result are provided in a payload property.
All workspace roles can use this endpoint.
Parameters
Returns
200
Successful Response
Endpoint
GET
/blockmodel/orgs/{org_id}/workspaces/{workspace_id}/block-models/{bm_id}/jobs/{job_id}Request
cURL
curl -X GET 'https://{service_host}/blockmodel/orgs/{org_id}/workspaces/{workspace_id}/block-models/{bm_id}/jobs/{job_id}' \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
Response
{
"job_status": "PENDING_UPLOAD",
"payload": {
"base_version_id": 0,
"bbox": {
"i_minmax": {
"max": 0,
"min": 0
},
"j_minmax": {
"max": 0,
"min": 0
},
"k_minmax": {
"max": 0,
"min": 0
}
},
"bm_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"comment": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"created_by": {
"email": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
},
"geoscience_version_id": "string",
"mapping": {
"columns": [
{
"col_id": "string",
"data_type": "Boolean",
"title": "string",
"unit_id": "string"
}
]
},
"parent_version_id": 0,
"version_id": 0,
"version_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}