Skip to main content
GET
/
workstreams
/
{id}
Load a workstream's header and trend
curl --request GET \
  --url https://openlens.com/api/workstreams/{id} \
  --header 'Authorization: Bearer <token>'
{
  "header": {
    "workstream": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "topicIds": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ],
      "attributes": [
        "<string>"
      ],
      "archivedAt": "2023-11-07T05:31:56Z",
      "currentGoal": {
        "effectiveFrom": "2023-11-07T05:31:56Z",
        "goalText": "<string>",
        "targetVisibility": 50,
        "targetDeadline": "2023-12-25"
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    },
    "currentVisibility": 123,
    "deltaPts": 123,
    "windowDays": 123,
    "sparkline": [
      {
        "date": "2023-12-25",
        "visibility": 123
      }
    ],
    "progressPct": 123,
    "daysToDeadline": 123
  },
  "trend": {
    "series": [
      {
        "date": "2023-12-25",
        "visibility": 123
      }
    ],
    "contentUpdates": [
      {}
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.openlens.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Clerk API key. Create one from your account settings under API Keys.

Path Parameters

id
string<uuid>
required

Response

Successful response

header
object
required
trend
object
required