Get Job Results And Status
Get current status and result payload for a submitted job.
Use this tool after any asynchronous MCP submit endpoint returns a
job_id and the caller needs current state or terminal results. When the
job is still running, the response remains the full job object plus MCP
context, not a polling-only acknowledgment.
When to Use:
- Call this after any asynchronous MCP submit endpoint returns a
job_id. - Call this when the workflow needs current status, terminal outputs, or the MCP context summary for a known job.
Constraints:
- This route is for status lookup, not discovery.
- Result shape depends on job family. For example, non-dry run
RunJobresponses may surface rawquantum_resultsin the MCP context field instead of a textual summary.
Notes:
- If the caller does not yet know the job ID, use experiment or circuit job-listing tools first.
- Compression, transpilation, data-loading, analytics, and run jobs can all appear here with different result semantics.
Args: job_id: Job identifier returned by a prior MCP submission or listing endpoint. user: Authenticated user resolved from the API key. db: Active database session.
Returns: The resolved job object enriched with MCP context text or result data.
Raises:
HTTPException: Raised with 404 when the job cannot be found for the
caller scope.
Authorizations
Path Parameters
Response
Successful Response
Extend base job model with MCP context payload.
Attributes: context: context string or raw result list, depending on job family and status.
Class for job status.
Submitted, Initializing, Queued, Validating, Running, Cancelled, Done, Error Class for job types.
User local job, Analytics, Device specific analytics, Data Loading, Run, State Compression, Transpilation, Variational, Pretraining, SKQD context string or raw result list, depending on job family and status. Run jobs may return raw quantum_results here.