openapi: 3.0.3 info: title: Buildkite Agent Access Token Rules API version: v3 description: 'Public subset of the Buildkite Agent API consumed by the open-source agent (Go) to register, accept, and finish jobs. Most endpoints are reserved for internal use; only the documented public endpoints are stable. Authenticated with an Agent Token (`Authorization: Token `). ' contact: name: Buildkite Agent url: https://github.com/buildkite/agent servers: - url: https://agent.buildkite.com/v3 description: Standard Agent API - url: https://agent-edge.buildkite.com/v3 description: Edge Agent API (adds gRPC methods alongside JSON) security: - agentToken: [] tags: - name: Rules paths: /organizations/{org}/rules: get: tags: - Rules summary: List Organization Rules operationId: listRules parameters: - $ref: '#/components/parameters/Org' responses: '200': description: A list of rules components: parameters: Org: name: org in: path required: true schema: type: string description: Organization slug securitySchemes: agentToken: type: http scheme: bearer bearerFormat: Agent Token (sent as `Token `)