Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

List deployments

GET/v1/apps/{appId}/deploymentsList deployments

⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️

Deprecated: use GET /v1/services/{serviceId}/deployments instead.

Returns all deployments belonging to an app, ordered by creation time (newest first). Supports cursor-based pagination.

Parameters

appIdstringpathrequired

pattern ^(cps_)?([cC][^\s-]{8,}|[a-z0-9]+)$

cursornull | stringquery

Cursor for pagination

limitnumberquery

Limit for pagination

default 100

Responses

200Returns the list of deployments.application/json
object
dataarray of objectrequired
Show child attributes
Show array items
createdAtstring · date-timerequired
foundryVersionIdstringrequired
idstringrequired
serviceIdstringrequired
typestringrequired

const "deployment"

urlstring · urirequired
paginationobjectrequired
Show child attributes
hasMorebooleanrequired

Whether there are more items to paginate

nextCursornull | stringrequired

Next cursor to continue pagination

Example response
{
  "data": [
    {
      "createdAt": "2026-06-09T00:00:00Z",
      "foundryVersionId": "string",
      "id": "string",
      "serviceId": "string",
      "type": "deployment",
      "url": "https://example.com"
    }
  ],
  "pagination": {
    "hasMore": true,
    "nextCursor": "string"
  }
}
401Missing or invalid authorization token.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
403Insufficient permissions to access this resource.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
404App not found.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
429Rate limit exceeded.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
Documentation menu