openapi: 3.1.0 info: title: JFrog Access REST Access Tokens Execution API description: API for managing users, groups, permissions, projects, and access tokens across the JFrog Platform. JFrog Access handles identity management, role-based access control, federated identity, and scoped token creation for authentication and authorization across all JFrog services. version: 2.x contact: name: JFrog url: https://jfrog.com license: name: Proprietary url: https://jfrog.com/terms-of-service/ termsOfService: https://jfrog.com/terms-of-service/ servers: - url: https://{server}.jfrog.io/access description: JFrog Cloud variables: server: default: myserver description: Your JFrog server name - url: https://{host}/access description: Self-hosted JFrog instance variables: host: default: localhost:8082 description: Your self-hosted JFrog server host security: - bearerAuth: [] - basicAuth: [] tags: - name: Execution description: Worker testing and execution paths: /v1/workers/{workerKey}/test: post: operationId: testWorker summary: JFrog Test Worker description: Executes a worker with a test payload to validate its behavior. tags: - Execution parameters: - name: workerKey in: path required: true schema: type: string description: Worker key identifier requestBody: required: true content: application/json: schema: type: object properties: action: type: string description: The event action to simulate data: type: object additionalProperties: true description: Test payload data required: - action - data responses: '200': description: Test execution result content: application/json: schema: type: object properties: status: type: string enum: - STATUS_OK - STATUS_STOP - STATUS_ERROR message: type: string execution_time_ms: type: integer /v1/workers/{workerKey}/logs: get: operationId: getWorkerLogs summary: JFrog Get Worker Logs description: Returns execution logs for a worker. tags: - Execution parameters: - name: workerKey in: path required: true schema: type: string description: Worker key identifier - name: from in: query schema: type: string format: date-time description: Start time for log retrieval - name: to in: query schema: type: string format: date-time description: End time for log retrieval responses: '200': description: Worker logs retrieved content: application/json: schema: type: object properties: logs: type: array items: type: object properties: timestamp: type: string format: date-time level: type: string enum: - DEBUG - INFO - WARN - ERROR message: type: string components: securitySchemes: bearerAuth: type: http scheme: bearer description: Access token authentication basicAuth: type: http scheme: basic description: Basic username/password authentication externalDocs: description: JFrog Access REST API Documentation url: https://jfrog.com/help/r/jfrog-platform-administration-documentation/access-token-rest-api