{ "opencollection": "1.0.0", "info": { "name": "HashiCorp Nomad HTTP ACL Evaluations API", "version": "1.9.0" }, "request": { "auth": { "type": "apikey", "key": "X-Nomad-Token", "value": "{{X-Nomad-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Evaluations", "type": "folder" }, "items": [ { "info": { "name": "List evaluations", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:4646/v1/evaluations", "params": [ { "name": "prefix", "value": "", "type": "query", "description": "Specifies a string to filter results based on an ID prefix." }, { "name": "namespace", "value": "", "type": "query", "description": "The target namespace. Defaults to the default namespace." }, { "name": "next_token", "value": "", "type": "query", "description": "Indicates where to start paging for queries that support pagination." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of results to return per page." }, { "name": "filter", "value": "", "type": "query", "description": "Specifies the expression used to filter the results." }, { "name": "status", "value": "", "type": "query", "description": "Filter evaluations by status." }, { "name": "job", "value": "", "type": "query", "description": "Filter evaluations by job ID." } ] }, "docs": "Lists all evaluations in the system. Supports filtering by job ID and evaluation status (blocked, pending, complete, failed, or canceled)." }, { "info": { "name": "Count evaluations", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:4646/v1/evaluations/count", "params": [ { "name": "status", "value": "", "type": "query", "description": "Filter the count by evaluation status." } ] }, "docs": "Returns a count of evaluations in the system, optionally filtered by status." }, { "info": { "name": "Read an evaluation", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:4646/v1/evaluation/:evalID", "params": [ { "name": "evalID", "value": "", "type": "path", "description": "The ID of the evaluation." } ] }, "docs": "Returns the full details of the specified evaluation." }, { "info": { "name": "List allocations for an evaluation", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:4646/v1/evaluation/:evalID/allocations", "params": [ { "name": "evalID", "value": "", "type": "path", "description": "The ID of the evaluation." } ] }, "docs": "Returns a list of allocations created or modified by the specified evaluation." } ] } ], "bundled": true }