AI
AI Plan Suggestions
GET
AI Plan Suggestions
Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
AI Plan Suggestions
Returns AI-generated suggestions for which membership plans are most suitable based on a natural language prompt. The response includes an explanation and a list of preferred plan IDs that you can use to filter or preselect plans in the UI. Terminology- We refer to locations (backend term: businesses) as locations in this documentation.
- We refer to customers (backend term: coworkers) as customers in this documentation.
Authentication
Requires an authenticated customer session.Query Parameters
The user’s natural language question or preference description. Example: “Which plan is best if I work 3 days a week and need meeting room access?”
Response
AI result wrapper.
Human-readable explanation answering the prompt.
List of plan IDs recommended by the assistant.
Example Response
Usage in Portal
- Checkout – Plan selection step
src/views/checkout/steps/TariffSignupStep.tsx(filters visible plans by AI)src/views/checkout/steps/components/TariffAiPrompt.tsx
Related Endpoints
GET /api/public/ai/products– Product suggestions by promptGET /api/public/ai/bookings– Booking intent parsing and suggestionsGET /api/public/ai/chats/{sessionId}– General-purpose assistant chat
Error Responses
The user is not authenticated.
Missing or invalid prompt.
AI Plan Suggestions