Files
nomad/website/source/docs/http/evals.html.md
2015-09-20 18:05:42 -07:00

1.1 KiB

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
http HTTP API: /v1/evaluations docs-http-evals The '/1/evaluations' endpoint is used to list the evaluations.

/v1/evaluations

The evaluations endpoint is used to query the status of evaluations. By default, the agent's local region is used; another region can be specified using the ?region= query parameter.

GET

Description
Lists all the evaluations.
Method
GET
URL
`/v1/evaluations`
Parameters
None
Returns
```javascript
[
{
    "ID": "151accaa-1ac6-90fe-d427-313e70ccbb88",
    "Priority": 50,
    "Type": "service",
    "TriggeredBy": "job-register",
    "JobID": "binstore-storagelocker",
    "JobModifyIndex": 14,
    "NodeID": "",
    "NodeModifyIndex": 0,
    "Status": "complete",
    "StatusDescription": "",
    "Wait": 0,
    "NextEval": "",
    "PreviousEval": "",
    "CreateIndex": 15,
    "ModifyIndex": 17
},
...
]
```