Get a domain model assignment
const url = 'https://test-pie.streamline.enterprises/v2/clients/client-1/domains/south_australia/assignments/default';const options = {method: 'GET', 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 GET \ --url https://test-pie.streamline.enterprises/v2/clients/client-1/domains/south_australia/assignments/default \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Example
client-1Example
south_australiaExample
defaultResponses
Section titled “ Responses ”Domain model assignment
object
Unique revision identifier for this assignment row.
Domain identifier within a client.
Stable capability key within the domain or service scope. Updating the same key archives the previous active assignment and creates a new active revision.
Model registry identifier.
Model version string within the registry.
Active assignments are runnable. Archived assignments are retained as historical revisions for jobs that used them.
object
object
Example
{ "status": "active"}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}