Skip to Content
Orbyte Labs

Get deployment

GET
/v1/deployments/{id}

Authorization

bearerAuth
headerAuthorizationBearer <token>

Environment API key or OAuth access token. OAuth requests select context with X-Orbyte-Environment or X-Orbyte-Organization when required by the operation.

Path Parameters

id*string

Header Parameters

X-Orbyte-Environment?string

Required for environment-scoped OAuth operations. API keys remain bound to their own environment.

Length1 <= length

Response Body

Deployment snapshot

application/json
  1. response
environmentId*string
status*string
Value in"pending""in_progress""ready""failed"
error?string
features*
Default{}
plans*
Default{}
grantPolicies?
id*string
createdAt*number
Example Request
curl -X GET 'https://api.orbytelabs.com/v1/deployments/string'
Example Response
{  "environmentId": "string",  "status": "pending",  "error": "string",  "features": {},  "plans": {},  "grantPolicies": {    "property1": {      "on": "customer.created",      "credits": "string",      "expiresAfterDays": 1,      "featureKeys": [        "string"      ]    },    "property2": {      "on": "customer.created",      "credits": "string",      "expiresAfterDays": 1,      "featureKeys": [        "string"      ]    }  },  "id": "string",  "createdAt": 0}