API
DeploymentDashboardNomad
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
GET |
/api/v1/hosting/apps/{app_id}/deployment_dashboard/nomad/allocation |
load |
Live Nomad allocation details |
Fields
| Field | Type | Required | Description |
|---|
load
GET /api/v1/hosting/apps/{app_id}/deployment_dashboard/nomad/allocation
Operation ID: nomad_allocation_api_v1_app_deployment_dashboard.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
app_id |
path |
string |
Yes | |
service |
query |
string |
No | Service id |
environment |
query |
string |
No | Environment id |
location |
query |
string |
No | Location code or name. |
Responses
200: Live Nomad allocation details
application/json
| Property | Type | Required | Description |
|---|---|---|---|
allocation_id |
string |
Yes | |
client_status |
string |
Yes | |
create_time |
string |
Yes | |
datacenter |
string |
Yes | |
desired_description |
string |
Yes | |
desired_status |
string |
Yes | |
fetched_at |
string (date-time) |
Yes | |
job_id |
string |
Yes | |
modify_time |
string |
Yes | |
name |
string |
Yes | |
namespace |
string |
Yes | |
node_id |
string |
Yes | |
node_name |
string |
Yes | |
resources |
object |
Yes | |
task_group |
string |
Yes | |
task_states |
array of object |
Yes | |
task_states[].events |
array of object |
Yes | |
task_states[].events[].display_message |
string |
Yes | |
task_states[].events[].exit_code |
integer |
Yes | |
task_states[].events[].fails_task |
boolean |
Yes | |
task_states[].events[].message |
string |
Yes | |
task_states[].events[].restart_reason |
string |
Yes | |
task_states[].events[].time |
string |
Yes | |
task_states[].events[].type |
string |
Yes | |
task_states[].failed |
boolean |
Yes | |
task_states[].finished_at |
string |
Yes | |
task_states[].last_restart |
string |
Yes | |
task_states[].name |
string |
Yes | |
task_states[].restarts |
integer |
Yes | |
task_states[].started_at |
string |
Yes | |
task_states[].state |
string |
Yes | |
verify_runner_images |
array of object |
No | Public Verify image pins from tasks in this allocation's attached job group, not current app settings. Empty when attached job metadata is unavailable. Other environment values are never returned; malformed pins are named in invalid_keys without their values. References and fingerprints are reported independently so callers can detect mismatches. |
verify_runner_images[].invalid_keys |
array of enum: VEX_VERIFY_RUNNER_IMAGE, VEX_VERIFY_RUNNER_IMAGE_DIGEST, VEX_VERIFY_BROWSER_SESSION_IMAGE |
Yes | |
verify_runner_images[].name |
string |
Yes | |
verify_runner_images[].values |
object |
Yes | |
verify_runner_images[].values.VEX_VERIFY_BROWSER_SESSION_IMAGE |
string |
Yes | |
verify_runner_images[].values.VEX_VERIFY_RUNNER_IMAGE |
string |
Yes | |
verify_runner_images[].values.VEX_VERIFY_RUNNER_IMAGE_DIGEST |
string |
Yes |
400: The selectors match more than one service
application/json
| Property | Type | Required | Description |
|---|---|---|---|
error |
string |
Yes |
401: Unauthorized
403: Forbidden
404: The app, allocation, or selector names nothing
application/json
| Property | Type | Required | Description |
|---|---|---|---|
error |
string |
Yes |
410: Nomad no longer holds the allocation, so its logs are gone
application/json
| Property | Type | Required | Description |
|---|---|---|---|
error |
string |
Yes |
422: Unprocessable entity
502: Nomad request failed
application/json
| Property | Type | Required | Description |
|---|---|---|---|
error |
string |
Yes |