---
title: "On-demand audit endpoint. - Neither opportunityId nor tacticId → runs Portfolio for all client opportunities - opportunityId only → runs Relevance → Resolution → Portfolio for that opportunity - tacticId only → runs Performance → Resolution for that tactic"
method: POST
path: "/api/v1/Ai/audit"
tags: ["Ai"]
---

# On-demand audit endpoint. - Neither opportunityId nor tacticId → runs Portfolio for all client opportunities - opportunityId only → runs Relevance → Resolution → Portfolio for that opportunity - tacticId only → runs Performance → Resolution for that tactic

`POST /api/v1/Ai/audit`

## Request

- Base URL: `https://api.gameball.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gameball.co/api/v1/Ai/audit`
- Auth: none declared. Required headers: `APIKey`

## Headers

- `Authorization` string
- `lang` string
- `APIKey` string, required
- `SecretKey` string

## Request body

- GameBallAPIControllersV1AuditRequest
  - `opportunityId` integer, nullable
  - `tacticId` integer, nullable

## Response `200`

OK

---

[API](https://skmtc.dev/gameballers/apis/gameball-api-2.md) - [All operations](https://skmtc.dev/gameballers/apis/gameball-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/gameballers/apis/gameball-api-2/revisions/91732ad54d20?raw)
