Skip to main content
GET
/
api
/
v2
/
insights
/
workspace-baseline
Workspace Baseline
curl --request GET \
  --url https://app.octavehq.com/api/v2/insights/workspace-baseline \
  --header 'api_key: <api-key>'
{
  "data": {
    "anchorAt": "<string>",
    "week": {
      "oId": "<string>",
      "periodStart": "<string>",
      "periodEnd": "<string>",
      "totalClosedDeals": 123,
      "totalWonDeals": 123,
      "totalLostDeals": 123,
      "totalOpenDealCount": 123,
      "totalWonDealAmount": "<string>",
      "totalLostDealAmount": "<string>",
      "totalOpenDealAmount": "<string>",
      "baselineWinRate": 123,
      "avgDealSize": "<string>",
      "avgDealCycleDays": 123,
      "totalFindingsInPeriod": 123,
      "lastComputedAt": "<string>"
    },
    "month": {
      "oId": "<string>",
      "periodStart": "<string>",
      "periodEnd": "<string>",
      "totalClosedDeals": 123,
      "totalWonDeals": 123,
      "totalLostDeals": 123,
      "totalOpenDealCount": 123,
      "totalWonDealAmount": "<string>",
      "totalLostDealAmount": "<string>",
      "totalOpenDealAmount": "<string>",
      "baselineWinRate": 123,
      "avgDealSize": "<string>",
      "avgDealCycleDays": 123,
      "totalFindingsInPeriod": 123,
      "lastComputedAt": "<string>"
    },
    "quarter": {
      "oId": "<string>",
      "periodStart": "<string>",
      "periodEnd": "<string>",
      "totalClosedDeals": 123,
      "totalWonDeals": 123,
      "totalLostDeals": 123,
      "totalOpenDealCount": 123,
      "totalWonDealAmount": "<string>",
      "totalLostDealAmount": "<string>",
      "totalOpenDealAmount": "<string>",
      "baselineWinRate": 123,
      "avgDealSize": "<string>",
      "avgDealCycleDays": 123,
      "totalFindingsInPeriod": 123,
      "lastComputedAt": "<string>"
    }
  }
}

Documentation Index

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

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

Authorizations

api_key
string
header
required

Query Parameters

anchorAt
string<date-time>

Anchor ISO datetime. Defaults to now.

Response

200 - application/json

Workspace outcome baseline for the current period windows

data
object
required