curl --request POST \
--url 'https://api.workstream.stateset.com/v1/brands/{brand_id}/config/draft' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"brand_voice": "string",
"policies": "string",
"macros": "string",
"sample_tickets": "string",
"notes": "Two-person tent, green — replacement for damaged pole set.",
"base_config": {},
"provider": "string",
"model": "string"
}'
{
"reply": "string",
"changes": [
"string"
],
"changed": true,
"proposed_config": {},
"validation": {
"valid": true,
"errors": [
"string"
],
"warnings": [
"string"
]
}
}
Config draft
Proposed complete config drafted from the supplied material — same shape as the Copilot; review, evaluate, then apply.
POST
/
v1
/
brands
/
{brand_id}
/
config
/
draft
curl --request POST \
--url 'https://api.workstream.stateset.com/v1/brands/{brand_id}/config/draft' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"brand_voice": "string",
"policies": "string",
"macros": "string",
"sample_tickets": "string",
"notes": "Two-person tent, green — replacement for damaged pole set.",
"base_config": {},
"provider": "string",
"model": "string"
}'
{
"reply": "string",
"changes": [
"string"
],
"changed": true,
"proposed_config": {},
"validation": {
"valid": true,
"errors": [
"string"
],
"warnings": [
"string"
]
}
}
Path parameters
string (uuid)
required
Request body
object
string
string
string
string
string
object
string
string
Response
object
string
required
string[]
required
boolean
required
object
Status codes
| Code | Meaning |
|---|---|
200 | Proposed complete config drafted from the supplied material — same shape as the Copilot; review, evaluate, then apply. |
400 | Validation error |
401 | Unauthorized |
404 | Not found |
429 | Rate limited |
500 | Internal error |
curl --request POST \
--url 'https://api.workstream.stateset.com/v1/brands/{brand_id}/config/draft' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"brand_voice": "string",
"policies": "string",
"macros": "string",
"sample_tickets": "string",
"notes": "Two-person tent, green — replacement for damaged pole set.",
"base_config": {},
"provider": "string",
"model": "string"
}'
{
"reply": "string",
"changes": [
"string"
],
"changed": true,
"proposed_config": {},
"validation": {
"valid": true,
"errors": [
"string"
],
"warnings": [
"string"
]
}
}
Last modified on August 31, 2026