Skip to content

Natural language analytics query

Request

Converts a free-text question into structured analytics filters, classifies the domain, and returns results.

Security
authJWT
Bodyapplication/jsonrequired
questionstringrequired
Example:"Show me failed transactions last month"
curl -i -X POST \
  https://docs.pers.ninja/_mock/swagger/analytics/nl-query \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "question": "Show me failed transactions last month"
  }'

Responses

Analytics results for the natural language query

Response
No content