Get deployment
GET
bearerAuthheader
AuthorizationBearer <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.
id*stringX-Orbyte-Environment?stringRequired for environment-scoped OAuth operations. API keys remain bound to their own environment.
Length
1 <= lengthDeployment snapshot
application/json- response
environmentId*stringstatus*stringValue in
"pending""in_progress""ready""failed"error?stringfeatures*Default
{}plans*Default
{}grantPolicies?id*stringcreatedAt*numbercurl -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}