List apps
Retrieve a paginated list of apps within a project.
Use this to enumerate every app in a project. Results are ordered by app id and paginated; when hasMore is true, pass the returned cursor to fetch the next page.
Required Permissions
Your root key must have the following permission:
- app.*.read_app (to read apps in any project)
Request body
Example request
{
"project": "proj_1234abcd",
"cursor": "app_1234abcd",
"search": "checkout"
}Response
Successfully retrieved a paginated list of apps. Use the pagination cursor for additional results when hasMore: true.
Example response
{
"meta": {
"requestId": "req_123"
},
"data": [
{
"id": "app_1234abcd",
"name": "Payments API",
"slug": "payments-api",
"git": {
"repository": "unkeyed/unkey",
"defaultBranch": "main"
},
"currentDeploymentId": "d_1234abcd",
"createdAt": 1704067200000,
"updatedAt": 1704153600000
}
],
"pagination": {
"cursor": "eyJrZXkiOiJrZXlfMTIzNCIsInRzIjoxNjk5Mzc4ODAwfQ==",
"hasMore": true
}
}Changes
Changed in 6 of the 90 revisions of this API.26
- ▲
removed the required property
data/items/defaultBranchfrom the response with the200statusresponse-required-property-removed
- ○
added the optional property
data/items/gitto the response with the200statusresponse-optional-property-added
- ▲
- ○
the endpoint scheme security
bearerwas added to the APIapi-security-added
- ○
the endpoint scheme security
rootKeywas removed from the APIapi-security-removed
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
the response property
paginationbecame required for the status200response-property-became-required
- ○
- ○
added the new optional request property
searchnew-optional-request-property
- ○
- ▲
removed the required property
data/items/projectIdfrom the response with the200statusresponse-required-property-removed
- ▲
- ○
endpoint added
endpoint-added
- ○