Description: Returns a list of all stages with optional filtering.
Since: 7.125.4
Note
When no project_key is defined, this endpoint returns all global stages and is available to platform administrators only.
When a specific project_key is defined, this endpoint returns both global stages and the relevant project stages, and is available to project administrators for that project.
Usage: GET https://{{artifactory-host}}/access/api/v2/stages/
Query Parameters (optional):
Parameter | Type | Description |
|---|---|---|
| string | Filters the list of stages defined for a specific project. |
| string | Filters the list by stage scope: |
| string | Filters the list by stage category: |
Response Body:
Property | Type | Description |
|---|---|---|
| string | The stage name (must be unique within its |
| string | The scope of the stage ( |
| string | The project key (relevant when the |
| string | The stage category ( |
| array:string | The list of repository keys assigned to this stage (scoped to the given project key when relevant). |
| array:string | The list of project keys where the stage is being used in its lifecycle (scoped to the given project key when relevant). |
| string | The user who created the stage. |
| string | The date and time when the stage was created (ISO 8601 format). |
| string | The date and time when the stage was last modified (ISO 8601 format). |
Sample Request:
GET 'https://{host}.jfrog.io/access/api/v2/stages/production-us-east?project_key=mobile-app'
Authorization: ••••••
Sample Response:
[
{
"name": "staging-us-east",
"scope": "project",
"project_key": "mobile-app",
"category": "promote",
"repositories": ["docker-staging-us-east-local"],
"used_in_lifecycle": ["mobile-app"],
"created_by": "admin",
"created_at": "2025-05-27T11:00:00Z",
"modified_at": "2025-05-27T11:00:00Z"
},
{
"name": "PROD",
"scope": "global",
"project_key": "mobile-app",
"category": "promote",
"repositories": ["docker-staging-us-east-local"],
"used_in_lifecycle": ["mobile-app"],
"created_by": "system",
"created_at": "2023-05-27T11:00:00Z",
"modified_at": "2023-05-27T11:00:00Z"
},
{
"name": "qa-us-east",
"scope": "project",
"project_key": "mobile-app",
"category": "promote",
"repositories": [
"docker-prod-us-east-local",
"generic-prod-us-east-local"
],
"used_in_lifecycle": ["mobile-app"],
"created_by": "pm_user",
"created_at": "2025-05-28T17:51:25Z",
"modified_at": "2025-05-28T17:51:25Z"
}
]
Status Codes:
Code | Description |
|---|---|
200 | Success |
401 | Bad Credentials |
403 | Permission Denied |