Re-initialize all non-departed services
const url = 'https://staging-pie.streamline.enterprises/v2/clients/client-1/domains/south_australia/services/init';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://staging-pie.streamline.enterprises/v2/clients/client-1/domains/south_australia/services/init \ --header 'Authorization: Bearer <token>'Triggers re-initialization for all non-departed services in the domain. Each service is re-resolved against current feature definitions and inference is re-triggered on the domain model.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Example
client-1Example
south_australiaResponses
Section titled “ Responses ”Batch re-initialization started
object
Service IDs that are being re-initialized
Example generated
{ "reinitializing_services": [ "example" ]}Validation error — malformed input, invalid path parameters, or request that fails syntactic validation.
object
Human-readable error message
Example
{ "success": false}Missing or invalid Authorization bearer token, expired token, or token rejected by the
authorization layer (e.g. API Gateway JWT authorizer or application validation).
object
Human-readable error message
Example
{ "success": false}Authenticated caller lacks the permission required for this operation.
object
Human-readable error message
Example
{ "success": false}Requested resource was not found.
object
Human-readable error message
Example
{ "success": false}Semantically invalid request — e.g. domain not active, no model assigned, feature contract mismatch, or invalid feature definitions.
object
Human-readable error message
Example
{ "success": false}