# Contexts

First written 11 March 2026, revised 15 August 2026.

Context management, ATS synchronisation, and indexing.

7 endpoints

## Endpoints

| Method | Path | Description | Auth |

[

`/orgs/me/jobs`

Create a job requirement

| POST |  | Create a job requirement | JWT |

][

`/orgs/me/jobs`

List contexts

| GET |  | List contexts | JWT |

][

`/orgs/me/jobs/{job_id}`

Get job details

| GET |  | Get job details | JWT |

][

`/orgs/me/jobs/{job_id}`

Update job requirement

| PATCH |  | Update job requirement | JWT |

][

`/orgs/me/jobs/{job_id}`

Close a job

| DELETE |  | Close a job | JWT |

][

`/orgs/me/jobs/{job_id}/matches`

Get job matches

| GET |  | Get job matches | JWT |

][

`/orgs/me/jobs/{job_id}/recompute-matches`

Recompute matches

| POST |  | Recompute matches | JWT |

]

## Endpoint Details

POST `/orgs/me/jobs` JWT

Create a new job requirement with trait priorities, clearance level, and compensation. Validates trait codes against MVP-20 taxonomy.

#### Request Example

```
{
  "title": "Senior Platform Engineer",
  "outcome_description": "Build and scale the core identity infrastructure",
  "clearance_required": "none",
  "remote_policy": "hybrid",
  "trait_priorities": {
    "pressure_response": 0.8,
    "ambiguity_tolerance": 0.7,
    "collaborative_orientation": 0.6
  },
  "salary_min": 150000,
  "salary_max": 190000,
  "salary_currency": "AUD"
}

```
#### Response

```
{
  "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
  "external_id": "JOB-A1B2C3D4",
  "org_id": "e1f2a3b4-c5d6-7890-efab-cdef12345678",
  "title": "Senior Platform Engineer",
  "status": "active",
  "clearance_required": "none",
  "remote_policy": "hybrid",
  "trait_priorities": {
    "pressure_response": 0.8,
    "ambiguity_tolerance": 0.7,
    "collaborative_orientation": 0.6
  },
  "salary_min": 150000,
  "salary_max": 190000,
  "salary_currency": "AUD",
  "created_at": "2026-03-10T09:00:00Z"
}

```
GET `/orgs/me/jobs` JWT

List the organisation's contexts. Cursor-paginated with optional status filter.

#### Query Parameters

| Name | Type | Required | Description |
| `status` | ` string` | Optional | Filter by job status (active, closed, draft) |
| `limit` | ` integer` | Optional | Page size (max 100) |
| `cursor` | ` string` | Optional | Pagination cursor |

GET `/orgs/me/jobs/{job_id}` JWT

Returns full job requirement details.

#### Path Parameters

| Name | Type | Required | Description |
| `job_id`* | `string` | Required | Job UUID |

PATCH `/orgs/me/jobs/{job_id}` JWT

Partial update of job fields including title, status, trait priorities, and constraints.

#### Path Parameters

| Name | Type | Required | Description |
| `job_id`* | `string` | Required | Job UUID |

DELETE `/orgs/me/jobs/{job_id}` JWT

Close a job (marks as closed, does not delete). Returns 204 No Content.

#### Path Parameters

| Name | Type | Required | Description |
| `job_id`* | `string` | Required | Job UUID |

GET `/orgs/me/jobs/{job_id}/matches` JWT

List matches for a specific job. Cursor-paginated with quality and status filters.

#### Path Parameters

| Name | Type | Required | Description |
| `job_id`* | `string` | Required | Job UUID |

#### Query Parameters

| Name | Type | Required | Description |
| `quality` | ` string` | Optional | Filter by match quality tier |
| `status` | ` string` | Optional | Filter by match status |
| `limit` | ` integer` | Optional | Page size (max 100) |
| `cursor` | ` string` | Optional | Pagination cursor |

POST `/orgs/me/jobs/{job_id}/recompute-matches` JWT

Trigger asynchronous recomputation of all matches for a job. Returns 202 Accepted with task ID.

#### Path Parameters

| Name | Type | Required | Description |
| `job_id`* | `string` | Required | Job UUID |

#### Response

```
{
  "task_id": "celery-task-abc123",
  "status": "queued"
}

```

https://truealter.com/docs/rest-api/jobs
