201Successful Response
Schema: SuccessEnvelope_AIDiscoverResponse_
successbooleanmessagestringcodestringdataAIDiscoverResponse
/api/v1/onboarding/ai-discoverGiven the account type and conversation so far, returns the next personalised question for the onboarding discovery flow.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: AIDiscoverRequest
account_typestringrequiredAccount type determines the discovery question path
conversationarray · objectConversation so far as [{role: 'assistant'|'user', content: '...'}]
Schema: SuccessEnvelope_AIDiscoverResponse_
successbooleanmessagestringcodestringdataAIDiscoverResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject