List all files in an artifacts archive
GET
/api/v4/projects/{id}/jobs/{job_id}/artifacts/tree
Lists all files in a specified artifacts archive without extracting them.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”path
string
Path to browse in the artifacts archive. Defaults to root directory.
Example
coverage/reportsrecursive
boolean
If true, return all entries recursively.
Example
falsejob_token
string
CI/CD job token for multi-project pipelines. Premium and Ultimate only.
page
integer
Current page number
Example
1per_page
integer
Number of items per page
Example
20Responses
Section titled “Responses”OK
Media typeapplication/json
object
name
string
path
string
type
string
size
integer
mode
string
Example
{ "name": "index.html", "path": "coverage/index.html", "type": "file", "size": 12345, "mode": "100644"}Bad Request
Unauthorized
Forbidden
Not found