Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

List services

GET/v1/servicesList services

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

Returns all services the token has access to, ordered by creation time (oldest first). Optionally filter by project ID. Supports cursor-based pagination.

Parameters

cursornull | stringquery

Cursor for pagination

limitnumberquery

Limit for pagination

default 100

projectIdstringquery

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

logicalIdstringquery

Declared identity of the resource, unique within its branch. Set by the tool that declares the resource.

maxLength 255 · pattern ^[A-Za-z0-9][A-Za-z0-9._-]*$

branchIdvaluequery
anyOf · 2 options
Option 1string

const "unassigned"

Option 2string

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

branchGitNamestringquery

minLength 1

Responses

200Returns the list of services.application/json
object
dataarray of objectrequired
Show child attributes
Show array items
appEndpointDomainstringrequired
branchIdnull | stringrequired
createdAtstring · date-timerequired
idstringrequired
latestDeploymentIdnull | stringrequired
logicalIdnull | stringrequired
namestringrequired
projectIdstringrequired
regionobjectrequired
Show child attributes
idstringrequired
namestringrequired
typestringrequired

const "app"

urlstring · urirequired
paginationobjectrequired
Show child attributes
hasMorebooleanrequired

Whether there are more items to paginate

nextCursornull | stringrequired

Next cursor to continue pagination

Example response
{
  "data": [
    {
      "appEndpointDomain": "string",
      "branchId": "string",
      "createdAt": "2026-06-09T00:00:00Z",
      "id": "string",
      "latestDeploymentId": "string",
      "logicalId": "string",
      "name": "string",
      "projectId": "string",
      "region": {
        "id": "string",
        "name": "string"
      },
      "type": "app",
      "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"
  }
}
422Validation failed (e.g. malformed projectId filter).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