# Get Job

> Retrieve one background job by ID.

<Note>
  **Beta.** This endpoint is not in production yet and may change before it ships.
</Note>

Requires an API key with the `read` scope.

## Path Parameters

<ParamField path="job_id" type="string" required>
  The job identifier.
</ParamField>

## Response

<ResponseField name="data" type="object">
  The job.

  <Expandable title="Job object">
    <ResponseField name="id" type="string">Job identifier.</ResponseField>
    <ResponseField name="type" type="string">Job type, for example `lead_import` or `email_verification`.</ResponseField>
    <ResponseField name="status" type="string">`pending`, `running`, `completed` or `failed`.</ResponseField>
    <ResponseField name="progress" type="integer">Percent complete, 0 to 100.</ResponseField>
    <ResponseField name="totalItems" type="integer">Number of items the job will process.</ResponseField>
    <ResponseField name="completedItems" type="integer">Number of items processed so far.</ResponseField>
    <ResponseField name="result" type="object">Result counters once the job has produced them, otherwise `null`. A lead import returns `imported`, `restored`, `failed` and, when it started a verification run, `verificationJobId`. A verification run returns `good`, `risky`, `bad`, `errors` and `billableCount`. A bulk lead action (`lead_bulk`) returns `deleted` or `updated`. A lead export (`lead_export`) returns `rows`, `downloadUrl` and `expiresInSeconds`. Raw rows and failed-row details are never returned.</ResponseField>
    <ResponseField name="error" type="string">Error summary when the job failed, otherwise `null`.</ResponseField>
    <ResponseField name="startedAt" type="string">ISO 8601 timestamp, or `null`.</ResponseField>
    <ResponseField name="completedAt" type="string">ISO 8601 timestamp, or `null`.</ResponseField>
    <ResponseField name="createdAt" type="string">ISO 8601 timestamp.</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
```bash cURL
curl -X GET "https://api.foxreach.io/api/v1/jobs/cmjob123" \
  -H "X-API-Key: otr_your_key"
```

```python Python SDK (beta)
from foxreach import FoxReach

client = FoxReach(api_key="otr_your_key")
job = client.jobs.get("cmjob123")
```

```typescript TypeScript SDK (beta)
import { FoxReach } from "foxreach";

const client = new FoxReach({ apiKey: "otr_your_key" });
const job = await client.jobs.get("cmjob123");
```
</RequestExample>

<ResponseExample>
```json
{
  "data": {
      "id": "cmjob123",
      "type": "lead_import",
      "status": "completed",
      "progress": 100,
      "totalItems": 250,
      "completedItems": 250,
      "result": { "imported": 240, "restored": 4, "failed": 6, "verificationJobId": "cmjob124" },
      "error": null,
      "startedAt": "2026-11-04T09:00:02",
      "completedAt": "2026-11-04T09:00:41",
      "createdAt": "2026-11-04T09:00:00"
    }
}
```
</ResponseExample>

## Errors

| Status | Description |
|--------|-------------|
| `401` | Missing, invalid, revoked or expired API key |
| `403` | API key does not have the required scope: `read` |
| `404` | Job not found in this workspace |

## Rate Limit

- **600 requests per minute, shared by every `poll` call in your workspace.** Fixed 60-second window.
- Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` (unix epoch seconds) and `X-RateLimit-Bucket` (`poll`).
- A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns (`Retry-After`, exponential backoff, monitoring `X-RateLimit-Remaining`), see [Rate Limiting](/rate-limiting).
