curl --request PATCH \
--url https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"schema": {},
"block": "<string>",
"value": "<unknown>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({schema: {}, block: '<string>', value: '<unknown>'})
};
fetch('https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/config"
payload = {
"schema": {},
"block": "<string>",
"value": "<unknown>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"schema": {},
"block": "<string>",
"value": "<unknown>"
}{
"error": "BadParameters",
"message": "<string>",
"details": "<unknown>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Update Workspace Config
Update a workspace’s config field. Top-level keys (schema, block, value) are merged shallowly with the current config; only the keys present in the payload are replaced.
curl --request PATCH \
--url https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"schema": {},
"block": "<string>",
"value": "<unknown>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({schema: {}, block: '<string>', value: '<unknown>'})
};
fetch('https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/config"
payload = {
"schema": {},
"block": "<string>",
"value": "<unknown>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"schema": {},
"block": "<string>",
"value": "<unknown>"
}{
"error": "BadParameters",
"message": "<string>",
"details": "<unknown>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Workspace id
Body
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{ "type": "string", "title": { "en": "User ID" }, "description": { "en": "The unique identifier of the user" } }
Response
Success Response
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{ "type": "string", "title": { "en": "User ID" }, "description": { "en": "The unique identifier of the user" } }
Was this page helpful?