Skip to main content
POST
CreateWorkstreamAPI mirrors erdo_create_workstream.

Authorizations

Authorization
string
header
required

An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

Body

application/json
description
string
phases
object[]
project_slug
string
slug
string
title
string
token_budget_millicents
integer<int64>

workstream armed with a loop starts spending on its first pass, and until this field existed the only way to set an envelope through the API was to create the workstream and then PATCH it.

Response

Success response

assignments
AssignmentSummary is one bounded responsibility as a coordinator reads it: · object[]

coordinator and Studio. It carries responsibility, execution, submission, and adoption as separate facts; callers must not infer work state from an agent transcript or collapse a proposed result into an accepted one.

current_decisions
DecisionSummary is the compact projection of one decision that both a · object[]

agent receives, on the same read: standing commitments and in-flight authorizations, then the history around them. The operator returning to a workstream and the agent continuing it are answering the same question — what are we operating under? — and a detail page that had to derive its own answer would be a second copy free to disagree with the one steering the work.

events
WorkstreamEvent is one entry in a workstream's append-only, chronological log · object[]

(newest first), embedded so cards/agents see activity without a second call.

following
boolean

detail page can render its follow toggle without a second call (Wave E).

phases
WorkstreamPhase is an ordered step within a workstream. · object[]
recent_decisions
DecisionSummary is the compact projection of one decision that both a · object[]
resources
WorkstreamResource is a typed link from a workstream to another domain object. · object[]
workstream
Workstream represents a piece of business work in motion. · object

Operational state machine for multi-step work (campaign launches, reports, monitors).