GET /api/v1/cloud/environments/{environment_id}/work/{work_id}
Retrieves a single work item scoped to a self_hosted Environment.
Path parameters
| Parameter | Type | Description |
|---|---|---|
environment_id | string | Environment ID with the env_ prefix |
work_id | string | Work item ID with the work_ prefix |
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer $QODER_PAT |
Example request
Example response
HTTP 200 OKResponse fields
Returns a Work item object.Errors
| HTTP | Type | Trigger |
|---|---|---|
| 400 | invalid_request_error | The Environment is not self_hosted |
| 401 | authentication_error | PAT invalid or expired |
| 403 | permission_error | Not authorized for this operation |
| 404 | not_found_error | Environment or work item not found |
Related
Cloud environment setup
Choose the container, network, and dependencies your agent runs in.