Skip to content

Re-initialize all non-departed services

POST
/v2/clients/{client_id}/domains/{domain_id}/services/init
curl --request POST \
--url https://test-pie.streamline.enterprises/v2/clients/client-1/domains/south_australia/services/init \
--header 'Authorization: Bearer <token>'

Re-initialize all non-departed services in the domain and re-trigger domain inference.

client_id
required
string
Example
client-1
domain_id
required
string
Example
south_australia

Batch re-initialization started

Media type application/json

Outcome of the batch dispatch. Each non-departed service receives a fresh inference job through the active default assignment, using the service’s stored resolved_features. Stored provided_features and resolved_features are not mutated by this route.

object
dispatched_services
required

Service IDs for which a fresh assignment-linked inference job was dispatched.

Array<string>
Example generated
{
"dispatched_services": [
"example"
]
}

Validation error — malformed input, invalid path parameters, or request that fails syntactic validation.

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
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).

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
Example
{
"success": false
}

Authenticated caller lacks the permission required for this operation.

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
Example
{
"success": false
}

Requested resource was not found.

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
Example
{
"success": false
}

Semantically invalid request — e.g. domain not active, no model assigned, feature contract mismatch, or invalid feature definitions.

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
Example
{
"success": false
}