curl --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/active-horizon-agent/validate' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"brand_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"goal": "string",
"release_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"source_draft_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"source_draft_version": 1,
"recipe_key": "string",
"recipe_version": 1,
"authorization_scope": {
"engagement_id": "string",
"authorized_assets": [
"string"
],
"permitted_actions": [
"alert_enrichment"
],
"expires_at": "2026-07-24T12:00:00Z"
},
"tasks": [
{
"task_id": "string",
"description": "string",
"workflow_type": "ConnectorWorkflow",
"payload": {}
}
],
"planner": {
"step_name": "string",
"connector_type": "string",
"direction": "string",
"action": "string",
"params": {}
},
"allowed_workflow_types": [
"ConnectorWorkflow"
],
"active_window_secs": 1,
"max_turns": 1,
"max_failures": 1,
"turn_timeout_secs": 1,
"checkpoint_every_turns": 1,
"paused": true
}'
{
"valid": true,
"brand_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"brand_slug": "string",
"task_queue": "string",
"goal": "string",
"task_count": 1,
"recipe_key": "string",
"recipe_version": 1,
"authorization_scope": {},
"workflow_types": [
"string"
],
"budgets": {
"active_window_secs": 1,
"max_turns": 1,
"max_failures": 1,
"turn_timeout_secs": 1,
"checkpoint_every_turns": 1
},
"estimated_max_child_executions": 1,
"requires_operator_approval": true,
"side_effects_possible": true,
"release_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"release_status": "validated",
"plan_hash": "string",
"created_by": "string"
}
Validate active horizon agent
Success
POST
/
v1
/
workflows
/
active-horizon-agent
/
validate
curl --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/active-horizon-agent/validate' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"brand_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"goal": "string",
"release_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"source_draft_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"source_draft_version": 1,
"recipe_key": "string",
"recipe_version": 1,
"authorization_scope": {
"engagement_id": "string",
"authorized_assets": [
"string"
],
"permitted_actions": [
"alert_enrichment"
],
"expires_at": "2026-07-24T12:00:00Z"
},
"tasks": [
{
"task_id": "string",
"description": "string",
"workflow_type": "ConnectorWorkflow",
"payload": {}
}
],
"planner": {
"step_name": "string",
"connector_type": "string",
"direction": "string",
"action": "string",
"params": {}
},
"allowed_workflow_types": [
"ConnectorWorkflow"
],
"active_window_secs": 1,
"max_turns": 1,
"max_failures": 1,
"turn_timeout_secs": 1,
"checkpoint_every_turns": 1,
"paused": true
}'
{
"valid": true,
"brand_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"brand_slug": "string",
"task_queue": "string",
"goal": "string",
"task_count": 1,
"recipe_key": "string",
"recipe_version": 1,
"authorization_scope": {},
"workflow_types": [
"string"
],
"budgets": {
"active_window_secs": 1,
"max_turns": 1,
"max_failures": 1,
"turn_timeout_secs": 1,
"checkpoint_every_turns": 1
},
"estimated_max_child_executions": 1,
"requires_operator_approval": true,
"side_effects_possible": true,
"release_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"release_status": "validated",
"plan_hash": "string",
"created_by": "string"
}
Request body
ActiveHorizonAgentStartInput
string (uuid)
required
string (uuid)
required
string
required
string (uuid)
string (uuid)
integer
string
integer
CyberAuthorizationScope
LongHorizonTask[]
ConnectorStep
string[]
integer
0 selects the default; otherwise 300..86400.
integer
0 selects the default; otherwise 1..500.
integer
0 selects the default; otherwise 1..100.
integer
0 selects the default; otherwise 30..1800.
integer
0 selects the default; otherwise 1..50.
boolean
Response
ActiveHorizonPreflightResponse
boolean
required
string (uuid)
required
string
required
string
required
string
required
integer
required
string
integer
object
string[]
required
object
required
integer
required
boolean
required
boolean
required
string (uuid)
required
string
required
string
required
string
required
Status codes
| Code | Meaning |
|---|---|
200 | Success |
400 | Validation error |
401 | Unauthorized |
404 | Not found |
409 | Workflow release lifecycle or plan-hash conflict |
429 | Rate limited |
500 | Internal error |
curl --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/active-horizon-agent/validate' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"brand_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"goal": "string",
"release_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"source_draft_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"source_draft_version": 1,
"recipe_key": "string",
"recipe_version": 1,
"authorization_scope": {
"engagement_id": "string",
"authorized_assets": [
"string"
],
"permitted_actions": [
"alert_enrichment"
],
"expires_at": "2026-07-24T12:00:00Z"
},
"tasks": [
{
"task_id": "string",
"description": "string",
"workflow_type": "ConnectorWorkflow",
"payload": {}
}
],
"planner": {
"step_name": "string",
"connector_type": "string",
"direction": "string",
"action": "string",
"params": {}
},
"allowed_workflow_types": [
"ConnectorWorkflow"
],
"active_window_secs": 1,
"max_turns": 1,
"max_failures": 1,
"turn_timeout_secs": 1,
"checkpoint_every_turns": 1,
"paused": true
}'
{
"valid": true,
"brand_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"brand_slug": "string",
"task_queue": "string",
"goal": "string",
"task_count": 1,
"recipe_key": "string",
"recipe_version": 1,
"authorization_scope": {},
"workflow_types": [
"string"
],
"budgets": {
"active_window_secs": 1,
"max_turns": 1,
"max_failures": 1,
"turn_timeout_secs": 1,
"checkpoint_every_turns": 1
},
"estimated_max_child_executions": 1,
"requires_operator_approval": true,
"side_effects_possible": true,
"release_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"release_status": "validated",
"plan_hash": "string",
"created_by": "string"
}