201 Successful Response
Schema: CfoPortalAskResponse
-
answerstring required -
sourcesarray · string
/api/v1/businesses/{business_id}/cfo-portal/ask
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
business_id
string
required
Schema: CfoPortalAskRequest
question
string
required context_section
string
Slug of the CFO portal section the user is currently viewing (e.g. 'weekly-pulse', 'ap-aging'). Used to pick the data slice that grounds the answer.
Schema: CfoPortalAskResponse
answer
string
required sources
array · string
Schema: HTTPValidationError
detail
array · ValidationError
ValidationError loc
array · string | integer
required msg
string
required type
string
required input
object
ctx
object