Block Model API
Request job status/result
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.
Request
Responses
200
Successful Response
Example: "COMPLETE"
Status of this job. The statuses have the following meanings:
PENDING_UPLOAD
: This is a model update job, and is awaiting notification that file upload has completed before proceeding any further.QUEUED
: The job is ready for processing, and is queued waiting for a worker process to become available.PROCESSING
: The job is actively being processed by a worker.COMPLETE
: The job completed succesfully.FAILED
: The job failed. No further processing of this job will be attempted.
The payload describes the outcome of the job, and is set for completed or failed jobs. This property will not appear if the
job is not yet COMPLETE
or FAILED
.
- For all failed jobs, this will be a
JobErrorPayload
. - For completed create or update jobs, this will be a
Version
. - For completed query jobs, this will be a
QueryDownload
.
401
Unauthorized
Example: "Invalid authentication credentials"
A human-readable explanation specific to this occurrence of the problem.
Example: 401
The HTTP status code generated by the origin server for this occurrence of the problem.
Example: "Invalid authentication credentials"
A short, human-readable summary of the problem type.
Example: "https://seequent.com/error-codes/block-model-service/auth/unauthorized"
A URI reference that is the primary identifier of the problem type.
403
Forbidden
Example: "Permission denied"
A human-readable explanation specific to this occurrence of the problem.
Example: 403
The HTTP status code generated by the origin server for this occurrence of the problem.
Example: "Permission Denied"
A short, human-readable summary of the problem type.
Example: "https://seequent.com/error-codes/block-model-service/auth/forbidden"
A URI reference that is the primary identifier of the problem type.
404
Not Found
Example: "Block model 11111111-2222-3333-4444-555555555555 not found."
A human-readable explanation specific to this occurrence of the problem.
Example: 404
The HTTP status code generated by the origin server for this occurrence of the problem.
Example: "Resource Not Found"
A short, human-readable summary of the problem type.
Example: "https://seequent.com/error-codes/block-model-service/not-found"
A URI reference that is the primary identifier of the problem type.
410
Gone
Example: "The requested resource was not found."
A human-readable explanation specific to this occurrence of the problem.
Example: 410
The HTTP status code generated by the origin server for this occurrence of the problem.
Example: "Workspace soft deleted."
A short, human-readable summary of the problem type.
Example: "https://seequent.com/error-codes/workspace/gone"
A URI reference that is the primary identifier of the problem type.
422
Unprocessable Entity
Example: "1 validation error for 'HTTP Request' body -> block_rotation value is not a valid list (type=type_error.list)"
A human-readable explanation specific to this occurrence of the problem.
Example: 422
The HTTP status code generated by the origin server for this occurrence of the problem.
Example: "1 validation error for Request"
A short, human-readable summary of the problem type.
Example: "https://seequent.com/error-codes/block-model-service/validation"
A URI reference that is the primary identifier of the problem type.
500
Internal Server Error
Example: "An error occurred"
A human-readable explanation specific to this occurrence of the problem.
Example: 500
The HTTP status code generated by the origin server for this occurrence of the problem.
Example: "Service Error"
A short, human-readable summary of the problem type.
Example: "https://seequent.com/error-codes/block-model-service/service"
A URI reference that is the primary identifier of the problem type.