Evaluations HTTP API
The /evaluation
endpoints are used to query for and interact with evaluations.
List Evaluations
This endpoint lists all evaluations.
Method | Path | Produces |
---|---|---|
GET | /v1/evaluations | application/json |
The table below shows this endpoint's support for blocking queries and required ACLs.
Blocking Queries | ACL Required |
---|---|
YES | namespace:read-job |
Parameters
prefix
(string: "")
- Specifies a string to filter evaluations based on an ID prefix. Because the value is decoded to bytes, the prefix must have an even number of hexadecimal characters (0-9a-f). This is specified as a query string parameter.
Sample Request
Sample Response
Read Evaluation
This endpoint reads information about a specific evaluation by ID.
Method | Path | Produces |
---|---|---|
GET | /v1/evaluation/:eval_id | application/json |
The table below shows this endpoint's support for blocking queries and required ACLs.
Blocking Queries | ACL Required |
---|---|
YES | namespace:read-job |
Parameters
:eval_id
(string: <required>)
- Specifies the UUID of the evaluation. This must be the full UUID, not the short 8-character one. This is specified as part of the path.
Sample Request
Sample Response
List Allocations for Evaluation
This endpoint lists the allocations created or modified for the given evaluation.
Method | Path | Produces |
---|---|---|
GET | /v1/evaluation/:eval_id/allocations | application/json |
The table below shows this endpoint's support for blocking queries and required ACLs.
Blocking Queries | ACL Required |
---|---|
YES | namespace:read-job |
Parameters
:eval_id
(string: <required>)
- Specifies the UUID of the evaluation. This must be the full UUID, not the short 8-character one. This is specified as part of the path.
Sample Request
Sample Response