Rensei docs
API ReferencePerformance

Seat scorecard for one project and window.

One call returns the seat scorecard for any window (default: the last 30 days): per project and seat (card revision at dispatch time × model × harness) the seat count, completed/failed/other, the completed seats that delivered over budget (a stored runner budget breach - apart from failures), the review seats' typed verdict mix, the GitHub review mix, dollars per seat, total dollars, tokens per seat, and p50/p90 minutes. Review accuracy is not reported until the outcome writer lands; `unavailableDimensions` names the issue for each metric that has no source yet. The project is an id or slug within the calling credential organization; the credential project fence applies.

GET
/api/cli/performance/scorecard

Authorization

headerAuthorizationBearer <rsk_live_*>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

Query Parameters

project*string
Length1 <= length <= 256
since?string
until?string
limit?integer
Range0 < value <= 50000

Response Body

Seat scorecard buckets with counts behind each rate.

application/json
  1. response
filter*
buckets*array<>
totals*
sources*
truncated*boolean
unavailable*
unavailableDimensions*
computedAt*string
Example Request
curl -X GET 'https://app.rensei.ai/api/cli/performance/scorecard?project=string'
Example Response
{  "filter": {    "workspaceId": "string",    "projectId": "string",    "dispatchedAfter": "string",    "dispatchedBefore": "string",    "limit": 0  },  "buckets": [    {      "project": "string",      "dispatchKind": "string",      "model": "string",      "harness": "string",      "card": "string",      "cardRevision": "string",      "profile": "string",      "effort": "string",      "dispatched": 0,      "seats": 0,      "merged": 0,      "abandoned": 0,      "pending": 0,      "completed": 0,      "failed": 0,      "other": 0,      "deliveredOverBudget": 0,      "verdictApprove": 0,      "verdictRequestChanges": 0,      "verdictMissing": 0,      "githubApprovals": 0,      "githubChangesRequested": 0,      "githubOtherReviews": 0,      "notDelivered": 0,      "costUsd": 0,      "costPerSeat": 0,      "listCostUsd": 0,      "listCostPerSeat": 0,      "unpricedRows": 0,      "tokens": 0,      "tokensPerSeat": 0,      "durationP50Minutes": 0,      "durationP90Minutes": 0,      "evals": 0,      "evalsPassed": 0,      "evalPassRate": 0,      "firstPassSuccess": 0,      "firstPassSuccessRate": 0,      "reviews": 0,      "reviewsApproved": 0,      "reviewPassRate": 0,      "reworkRoundsTotal": 0,      "mergedIssues": 0,      "meanReworkRounds": 0    }  ],  "totals": {    "dispatched": 0,    "seats": 0,    "merged": 0,    "abandoned": 0,    "pending": 0,    "completed": 0,    "failed": 0,    "other": 0,    "deliveredOverBudget": 0,    "notDelivered": 0,    "costUsd": 0,    "listCostUsd": 0,    "unpricedRows": 0,    "tokens": 0  },  "sources": {    "dispatches": {      "table": "string",      "latestAt": "string",      "status": "fresh"    },    "cost": {      "table": "string",      "latestAt": "string",      "status": "fresh"    },    "prs": {      "table": "string",      "latestAt": "string",      "status": "fresh"    },    "reviews": {      "table": "string",      "latestAt": "string",      "status": "fresh"    },    "rework": {      "table": "string",      "latestAt": "string",      "status": "fresh"    },    "evals": {      "table": "string",      "latestAt": "string",      "status": "fresh"    },    "delivery": {      "table": "string",      "latestAt": "string",      "status": "fresh"    }  },  "truncated": true,  "unavailable": {    "property1": "string",    "property2": "string"  },  "unavailableDimensions": {    "property1": "string",    "property2": "string"  },  "computedAt": "string"}