Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude

Create Blueprint Api V1 Workstreams Blueprints Post

post/api/v1/workstreams/blueprintsdeprecated

Create blueprint from template (deprecated)

Deprecated alias for the matching `/workplans` operation. **Deprecated:** renamed to the `/api/v1/workstreams/workplans/...` surface. This `/blueprints/...` path still works but will be removed in a future release. Update integrations to use `workplans`.

Request bodyapplication/json

FieldTypeDescription
template_idrequiredstring (uuid)Source template UUID (workstream_id)
namerequiredstringWorkplan name
client_idstring (uuid) | nullClient UUID (optional; references platform.clients)
config_overridesobjectConfiguration overrides
show nested
Empty object.
schedulestring | nullCron schedule expression (folded into configuration; null = unscheduled)
schedule_timezonestring | nullIANA timezone for the schedule (folded into configuration)
max_duration_minutesinteger | nullPer-instance duration guardrail in minutes (folded into configuration)
human_checkpointsany[] | nullSign-off gate checkpoints (folded into configuration); [] clears the gate
run_modestring | nullRun posture: propose|auto_run (folded into configuration)

Responses

201Successful Response
FieldTypeDescription
idrequiredstring (uuid)Workplan UUID
template_idrequiredstring (uuid)Source template UUID (workstream_id in DB)
namerequiredstringWorkplan name
client_idstring (uuid) | nullClient UUID (optional)
client_namestring | nullClient name
run_modeWorkplanRunModeThe WorkPlan's effective run posture (S2-READ §1a). ``effective`` resolves: plan-level ``configuration.run_mode`` → the workstream default → ``propose``. ``source`` tells the FE whether the value was set on this plan or inherited. ``locked`` is the firm-lock governance flag — always ``False`` in S2.
show nested
cohortWorkplanCohortStructural facts about the WorkPlan's bound client set (S2-READ §1b). Live exception/ready counts live on the roster's ``summary`` (one authoritative source); this object carries only the cohort's size + shape. With no multi-client cohort writer yet, ``total_clients`` resolves to 0/1 and ``selector_kind`` to ``single`` — the shape is frozen, the populating data is S2-write BE work behind it.
show nested
config_overridesobjectConfiguration (from DB)
show nested
Empty object.
effective_configobjectMerged effective config
show nested
Empty object.
schedulestring | nullCron schedule expression (from configuration; null = unscheduled)
schedule_timezonestringIANA timezone for the schedule (from configuration; defaults UTC)
max_duration_minutesinteger | nullPer-instance duration guardrail in minutes (from configuration; null = unset)
human_checkpointsany[]Sign-off gate checkpoints (from configuration). Non-empty means a partner sign-off gate is on.
statusrequired"draft" | "active" | "paused" | "archived"Status for workstream entities.
draftactivepausedarchived
last_run_atstring (date-time) | nullMost recent cycle start for this WorkPlan (null if never run)
next_run_atstring (date-time) | nullNext scheduled execution — computed; see GET /workplans/{id}/next-run (P1)
created_bystring (uuid) | nullCreator user ID (owner_id in DB)
created_atrequiredstring (date-time)Creation timestamp
updated_atrequiredstring (date-time)Last update timestamp
422Validation Error
FieldTypeDescription
detailValidationError[]—
item shape
curl https://api.dev.arch.ie/api/v1/workstreams/blueprints \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "client_id": "660e8400-e29b-41d4-a716-446655440001",
       "config_overrides": {
         "currency": "USD",
         "threshold": 1000
       },
       "name": "Acme Corp Monthly Close",
       "schedule": "0 9 1 * *",
       "template_id": "550e8400-e29b-41d4-a716-446655440000"
     }'
API Reference · Archie for developers