> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Job Result

> Get structured result for a completed job.

<Warning>
  **Confirm your deployment before running this request.** This page describes an API contract;
  a published reference does not establish hosted availability. Check the dated
  [host report](/api-reference/hosts) and obtain your deployment URL and credentials.
  Replace the example host if your provisioned service uses a different URL.
</Warning>

Get structured result for a completed job.

### Path parameters

<ParamField path="job_id" type="string (uuid)" required />

### Response

`JobResultResponse`

<ResponseField name="id" type="string" required />

<ResponseField name="status" type="string" required />

<ResponseField name="summary" type="string,null" />

<ResponseField name="error" type="string,null" />

<ResponseField name="artifacts" type="ArtifactResponse[]">
  Default: `[]`.

  <Expandable title="ArtifactResponse">
    <ResponseField name="id" type="string" required>
      Artifact UUID.
    </ResponseField>

    <ResponseField name="type" type="string" required>
      One of: text, image. Indicates content type at storage\_key.
    </ResponseField>

    <ResponseField name="storage_key" type="string" required>
      Object-storage key for the artifact.
    </ResponseField>

    <ResponseField name="url" type="string,null">
      Short-lived presigned download URL when the artifact is downloadable.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="cost_usd" type="number,null" />

### Status codes

| Code | Meaning |
| - | - |
| `200` | Successful Response |
| `422` | Validation Error |

### Using this contract

Read the [source OpenAPI document](/spec/computer-use.json) for declared schemas and alternatives.
This page also includes documented corrections from the [spec overlays](https://github.com/stateset/docs/tree/main/spec/overlays).
Example IDs and values are illustrative; replace them with records from your workspace.

<RequestExample>
  ```bash cURL theme={null}
  curl --silent --show-error --fail-with-body --request GET \
    --url 'https://api.computer.stateset.app/api/v1/jobs/{job_id}/result' \
    --header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "status": "pending",
    "summary": "Two-person tent, green — replacement for damaged pole set.",
    "error": "string",
    "artifacts": [],
    "cost_usd": 1.5
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.