Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

Get service

GET/v1/services/{serviceId}Get service

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

Returns a service by ID, including its region and active promoted deployment reference.

Parameters

serviceIdstringpathrequired

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

Responses

200Service retrieved.application/json
object
dataobjectrequired
Show child attributes
appEndpointDomainstringrequired
branchIdnull | stringrequired
createdAtstring · date-timerequired
idstringrequired
latestDeploymentIdnull | stringrequired
logicalIdnull | stringrequired
namestringrequired
projectIdstringrequired
regionobjectrequired
Show child attributes
idstringrequired
namestringrequired
typestringrequired

const "app"

urlstring · urirequired
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"
  }
}
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"
  }
}
404Service 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