openapi: 3.1.0 info: title: HashiCorp Nomad HTTP ACL API description: The Nomad HTTP API provides full programmatic access to a Nomad cluster. All routes use the /v1/ prefix. Endpoints support managing jobs, nodes, allocations, deployments, and evaluations across on-premises and cloud environments. Authentication uses an ACL token via the X-Nomad-Token header or Bearer authorization. version: '1.8' contact: name: HashiCorp url: https://www.nomadproject.io/ license: name: Business Source License 1.1 url: https://github.com/hashicorp/nomad/blob/main/LICENSE servers: - url: http://127.0.0.1:4646/v1 description: Local Nomad agent - url: https://{nomad_host}:{port}/v1 description: Custom Nomad cluster variables: nomad_host: default: 127.0.0.1 port: default: '4646' security: - NomadToken: [] - BearerAuth: [] tags: - name: ACL description: Manage access control tokens and policies. paths: /acl/tokens: get: tags: - ACL summary: List ACL tokens responses: '200': description: ACL tokens. /acl/policies: get: tags: - ACL summary: List ACL policies responses: '200': description: ACL policies. components: securitySchemes: NomadToken: type: apiKey in: header name: X-Nomad-Token BearerAuth: type: http scheme: bearer