1.5 KiB
1.5 KiB
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
-
- prefix optional even-length Filter evaluations based on an identifier prefix.
- Blocking Queries
- [Supported](/docs/http/index.html#blocking-queries)
- 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 }, ... ] ```