Skip to content

Get Ab Deal Outcomes

GET
/api/superadmin/prompts/ab/deal-outcomes
curl --request GET \
--url 'https://example.com/api/superadmin/prompts/ab/deal-outcomes?days=30' \
--header 'Authorization: Bearer <token>'

Opp 3: per-channel deal-level outcome aggregates.

Joins llm_cost_events.prompt_channel to deal_finalizations.quality_score so the dashboard can answer “did challenger deals end up with higher quality?” before any promotion decision.

days
Days
integer
default: 30 >= 1 <= 365

Successful Response

Media type application/json
Response Get Ab Deal Outcomes Api Superadmin Prompts Ab Deal Outcomes Get
object
key
additional properties
any
Example generated
{}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}