Retrieve job and payment status
matrix_job_statusRetrieve the current payment, execution and result status of an existing quotation owned by the authenticated machine. Use after requesting a quote or submitting an x402 authorization, including recovery after connection loss or process restart. Requires the original quote_id and an authorized machine bearer credential. This tool does not submit payment, execute a new job, modify existing results or issue refunds. Returns payment_verified, execution state, job_id when available, and result when completed. A pending payment or execution is not a reason to create another charge. A quote_expired state alone is not finalized non-payment evidence. Inspect payment_resolution for finalized unpaid closure and refund for failed or cancelled paid jobs when those fields are present.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"quote_id": "<quote_id>"
},
"name": "matrix_job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | The original server-issued quotation ID, returned by matrix_quote or the marketplace payment challenge. This is not the execution job_id, wallet address or transaction hash. The quotation must belong to the authenticated machine. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | Current payment or execution lifecycle state, such as awaiting_payment, payment_reconciliation_pending, queued, running, succeeded, failed, cancelled, quote_expired or payment_expired_unpaid. | |
| job_id | Yes | Execution job identifier after admission; null when not assigned. | |
| refund | No | Optional refund status and finality evidence. Do not assume a refund is complete until the returned status confirms it. | |
| result | Yes | Product-specific execution result, or null when not available. | |
| currency | Yes | Quotation currency. | |
| quote_id | Yes | Original quotation ID. | |
| amount_minor | Yes | Quoted amount in USD cents. | |
| payment_verified | Yes | Whether payment has been verified by the existing settlement authority. | |
| payment_resolution | No | Optional finalized payment-closure evidence. |