Skip to main content
GET
/
branches
/
{branchId}
/
storage
List storage files
curl --request GET \
  --url https://api.specular.dev/branches/{branchId}/storage \
  --header 'Authorization: Bearer <token>'
{
  "files": [
    {
      "key": "<string>",
      "size": 123,
      "lastModified": "2023-11-07T05:31:56Z"
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication with API key (format: Bearer sk_xxx)

Path Parameters

branchId
string
required

Query Parameters

cursor
string

Pagination cursor

limit
integer
default:100

Maximum number of files to return

Required range: 1 <= x <= 1000

Response

List of storage files

List of storage files

files
object[]
nextCursor
string