Skip to content

List caches

GET
/repositories/{workspace}/{repo_slug}/pipelines-config/caches

Retrieve the repository pipelines caches.

workspace
required
string

The account.

repo_slug
required
string

The repository.

The list of caches for the given repository.

Media type application/json
Paginated Pipeline Cache

A paged list of pipeline caches

object
page

Page number of the current results. This is an optional element that is not provided in all responses.

integer
values

The values of the current page.

Array
0
object
type
required
string
uuid

The UUID identifying the pipeline cache.

string
pipeline_uuid

The UUID of the pipeline that created the cache.

string
step_uuid

The uuid of the step that created the cache.

string
name

The name of the cache.

string
key_hash

The key hash of the cache version.

string
path

The path where the cache contents were retrieved from.

string
file_size_bytes

The size of the file containing the archive of the cache.

integer
created_on

The timestamp when the cache was created.

string format: date-time
size

Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.

integer
pagelen

Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.

integer
next

Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.

string format: uri
previous

Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.

string format: uri
Example generated
{
"page": 1,
"values": [
{
"type": "example",
"uuid": "example",
"pipeline_uuid": "example",
"step_uuid": "example",
"name": "example",
"key_hash": "example",
"path": "example",
"file_size_bytes": 1,
"created_on": "2026-04-15T12:00:00Z"
}
],
"size": 1,
"pagelen": 1,
"next": "https://example.com",
"previous": "https://example.com"
}

The account or repository was not found.

Media type application/json
Error

Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.

object
type
required
string
error
object
message
required
string
detail
string
data

Optional structured data that is endpoint-specific.

object
key
additional properties
any
key
additional properties
any
Example generated
{
"type": "example",
"error": {
"message": "example",
"detail": "example",
"data": {}
}
}