v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBDetect Intent
Detect user intent from natural language request.
This endpoint analyzes a user's request to determine whether they want to:
- Execute queries on existing data (execution mode)
- Create new resources/infrastructure (setup mode)
- Or if the request is ambiguous and needs clarification
It performs keyword analysis and checks existing collections to provide intelligent classification and recommendations.
Args: request: FastAPI request with tenant context payload: Intent detection request with user's input
Returns: IntentClassification with detected intent and recommendations
Example: bash curl -X POST http://localhost:8000/v1/agents/intent/detect \ -H "Authorization: Bearer {api_key}" \ -H "X-Namespace: {namespace_id}" \ -H "Content-Type: application/json" \ -d '{ "user_request": "I want to search videos by faces", "include_collection_analysis": true }'
Request body
Response
Successful Response