Valyourise Logo

ValYouRise

DevelopmentApi

Create workspace report

Creates a new workspace report request and returns the persisted report row.

POST
/api/workspaces/{workspaceId}/reports

Creates a new workspace report request and returns the persisted report row.

PAT<token>

Personal Access Token

In: header

Path Parameters

workspaceId*string

Request Body

application/json

type?string
Value in"okr_summary"
[key: string]?never

Response Body

application/json

curl -X POST "https://loading/api/workspaces/string/reports" \  -H "Content-Type: application/json" \  -d '{}'
{
  "$id": "string",
  "organizationId": "string",
  "workspaceId": "string",
  "requestedByUserId": "string",
  "type": "okr_summary",
  "status": "pending",
  "inputSnapshotJson": "string",
  "outputMarkdown": "string",
  "outputJson": "string",
  "errorMessage": "string",
  "parsedOutput": {
    "totals": {
      "objectives": 9007199254740991,
      "keyResults": 9007199254740991,
      "actions": 9007199254740991
    },
    "avgProgress": 100,
    "totalStoryPoints": 0,
    "doneStoryPoints": 0,
    "actionsByStatus": {
      "pending": 9007199254740991,
      "work_in_progress": 9007199254740991,
      "done": 9007199254740991
    }
  }
}
Empty
Empty