Skip to main content
GET
/
agency
/
{agencyId}
/
runner-stats
Get runner outcome stats for an agency
curl --request GET \
  --url https://ai.wisepilot.app/api/v1/agency/{agencyId}/runner-stats \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "rollups": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "agencyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "runnerName": "<string>",
        "skillId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "skillVersion": 123,
        "modelId": "<string>",
        "websiteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "period": "30d",
        "proposalsCreated": 123,
        "proposalsDeployed": 123,
        "proposalsMeasured": 123,
        "wins": 123,
        "losses": 123,
        "inconclusive": 123,
        "winRate": 123,
        "deployRate": 123,
        "avgLift": 123,
        "avgEvalScore": 123,
        "dismissRate": 123,
        "computedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "perWebsite": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "agencyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "runnerName": "<string>",
        "skillId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "skillVersion": 123,
        "modelId": "<string>",
        "websiteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "period": "30d",
        "proposalsCreated": 123,
        "proposalsDeployed": 123,
        "proposalsMeasured": 123,
        "wins": 123,
        "losses": 123,
        "inconclusive": 123,
        "winRate": 123,
        "deployRate": 123,
        "avgLift": 123,
        "avgEvalScore": 123,
        "dismissRate": 123,
        "computedAt": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key prefixed with cr_ (e.g. cr_a1b2c3...)

Path Parameters

agencyId
string<uuid>
required

Query Parameters

period
enum<string>
default:30d
Available options:
30d,
90d
runner_name
string

Filter to a specific runner by name

Response

Runner outcome stats

success
boolean
required
data
object