Skip to main content
GET
List a repository's pipeline caches

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

repository_id
string<uuid>
required

Query Parameters

cursor
string

The next_cursor of the previous page.

limit
integer
default:50
Required range: 1 <= x <= 100

Response

One page of caches.

caches
object[]
required
retention_days
integer
required

The organisation's cache retention in days (ci_cache_retention_days), the number every expires_at on the page was derived from.

Required range: 1 <= x <= 365
next_cursor
string | null
required

Pass as cursor to read the next page; null on the last page.