Skip to content

Value Streams

Manage value streams for organizing projects by business capability. Value streams represent high-level product or business areas (e.g. "Customer Growth", "Platform Reliability") that group related projects for portfolio-level reporting.

Value Stream Object

FieldTypeDescription
idstringUnique identifier (CUID format). System-generated. Read-only.
namestringValue stream name (e.g. "Customer Growth").
descriptionstring | nullDescription of the business capability this stream covers.
isActivebooleanWhether this value stream is active.
sortOrderintegerDisplay ordering weight. Lower values appear first.
createdAtdatetime (ISO 8601)When the record was created. Read-only.
updatedAtdatetime (ISO 8601)When the record was last modified. Read-only.

Endpoints

MethodPathDescription
GET/org/:orgId/value-streamsList value streams
GET/org/:orgId/value-streams/:idGet value stream
POST/org/:orgId/value-streamsCreate value stream
PATCH/org/:orgId/value-streams/:idUpdate value stream
DELETE/org/:orgId/value-streams/:idDelete value stream

List Value Streams

GET /org/:orgId/value-streams

Query Parameters

ParameterTypeDefaultDescription
pageinteger1Page number (1-based).
limitinteger20Records per page. Min 1, max 100.
searchstring--Free-text search by name.
sortBystringnameField to sort by: name, sortOrder, createdAt.
sortDirstringascasc or desc.

Example Request

bash
curl -X GET "https://{tenant}.flowstate.inc/api/v1/org/{orgId}/value-streams?sortBy=name" \
  -H "Authorization: Bearer private_..."

Example Response

json
{
  "data": [
    {
      "id": "clx6t7u8v9w0x1y2z3a4",
      "name": "Customer Growth",
      "description": "Initiatives focused on customer acquisition and retention",
      "isActive": true,
      "sortOrder": 0,
      "createdAt": "2024-01-10T08:00:00Z",
      "updatedAt": "2025-11-20T14:00:00Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 20,
    "total": 4,
    "hasNextPage": false
  }
}

Create Value Stream

POST /org/:orgId/value-streams

Create Request Body

FieldTypeRequiredDescription
namestringYesValue stream name.
descriptionstring | nullNoDescription.
isActivebooleanNoDefault: true.
sortOrderintegerNoDisplay ordering. Default: 0.

Update Request Body

All fields from Create are accepted, all optional.

Example Request

bash
curl -X POST "https://{tenant}.flowstate.inc/api/v1/org/{orgId}/value-streams" \
  -H "Authorization: Bearer private_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Customer Growth",
    "description": "Initiatives focused on customer acquisition and retention"
  }'

Status: 201 Created


Error Responses

Validation Error (400)

json
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Request validation failed.",
    "details": [{ "field": "name", "message": "name is required" }],
    "errorId": "err_clx9a8b7c6d5e4f3"
  }
}

Not Found (404)

json
{
  "error": {
    "code": "NOT_FOUND",
    "message": "Value stream not found.",
    "errorId": "err_clx9a8b7c6d5e4f3"
  }
}

  • Projects -- Projects can belong to a value stream via valueStreamId.

Flowstate Documentation