cURL
curl --request POST \ --url https://api.example.com/api/v1/internal/intent/score \ --header 'Content-Type: application/json' \ --data ' { "proxy_id": "<string>", "org_id": "<string>", "defined_intent": "<string>", "messages": [ {} ], "system_prompt": "<string>", "tools": [] } '
{ "score": 123, "action": "<string>", "reason": "<string>" }
Score how well the current request matches the proxy’s defined intent.
Uses keyword overlap as a lightweight default. Replace with an embedding model or LLM call for production-grade scoring.
Successful Response