Audits

Estimate an audit

Returns the number of answers an audit would ask for and its maximum attempt count, without creating anything. Pass the maximum as max_attempts when launching to cap the cost. It needs only the read scope.

POST/v1/projects/{project_id}/audits/estimate

Needs the read scope

Returns the number of answers an audit would ask for and its maximum attempt count, without creating anything. Pass the maximum as max_attempts when launching to cap the cost. It needs only the read scope.

Path parameters

Path parameters
Parameter
project_idstring (uuid)pathrequired

Request body

Request body
ParameterDescription
prompt_set_idstring (uuid) | nullbody
prompt_idsstring (uuid)[]body
Default[]
enginesLogicalEngine[]bodyrequired
repetitionsinteger | nullbody
market_idsstring (uuid) | null[]body
Default[null]

Response 200: AuditEstimate