---
updatedAt: 2026-10-20T13:16:44.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/administration/llms.txt
---

# Get Workers

Returns a list of all workers.


**Security:** Requires Platform Admin privileges.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "JFrog Platform - Workers API",
    "description": "Worker service management APIs for the JFrog Platform.\n\n**Authentication:** Access Tokens as bearer token in authorization header (Authorization: Bearer `<token>`)\n\n**Security:** Unless otherwise specified, all APIs require Platform Admin privileges.\n",
    "version": "1.0.0",
    "contact": {
      "name": "JFrog Support"
    }
  },
  "servers": [
    {
      "url": "https://{jfrog_url}",
      "variables": {
        "jfrog_url": {
          "default": "myserver.jfrog.io",
          "description": "Your JFrog Platform hostname"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Workers",
      "description": "Manage worker services, actions, and executions on the JFrog Platform."
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "paths": {
    "/worker/api/v1/workers": {
      "get": {
        "tags": [
          "Workers"
        ],
        "summary": "Get Workers",
        "description": "Returns a list of all workers.\n\n\n**Security:** Requires Platform Admin privileges.\n",
        "operationId": "getWorkers",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Worker"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Bad Credentials - Invalid credentials"
          },
          "403": {
            "description": "Permission Denied - Insufficient permissions"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Access Token as bearer token"
      }
    },
    "schemas": {
      "Worker": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "Worker key"
          },
          "description": {
            "type": "string",
            "description": "Worker description"
          },
          "enabled": {
            "type": "boolean",
            "description": "Whether the worker is enabled"
          },
          "debug": {
            "type": "boolean",
            "description": "When `true`, successful Worker runs are recorded in the Troubleshooting tab. Unsuccessful runs are recorded whether this value is `true` or `false`.\n"
          },
          "sourceCode": {
            "type": "string",
            "description": "Worker source code in TypeScript or JavaScript. Send plain text, or Base64-encoded source that starts with `base64:` (`base64:<encoded-source>`). The JFrog Platform UI sends source code as Base64.\n"
          },
          "action": {
            "type": "string",
            "description": "Worker action"
          },
          "filterCriteria": {
            "type": "object",
            "description": "Filter criteria for the worker"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  }
}
```