Atune Docs
API reference

Ask a grounded question

Answers a question about an account, user, feature, or portfolio from the workspace's existing signals. The endpoint returns `knows: false` instead of guessing when the bundle does not support an answer.

Ask understand()
curl -X POST https://staging.useatune.com/api/v1/understand \  -H "Authorization: Bearer <YOUR_API_KEY>" \  -H "Content-Type: application/json" \  -d '{    "entity": "account:acme",    "question": "Why did this account go quiet?"  }'

Sign in to find your API key in Settings.

POST
/api/v1/understand

Answers a question about an account, user, feature, or portfolio from the workspace's existing signals. The endpoint returns knows: false instead of guessing when the bundle does not support an answer.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Workspace API key from Atune settings or onboarding.

Request Body

application/json
  1. body
entity*string

account:<externalId>, user:<accountExternalId>/<userExternalId>, feature:<key>, or portfolio.

question*string

Plain-language question for the grounded answer composer.

Length1 <= length

Response Body

Grounded answer or explicit unknown result.

application/json
  1. response
knows*boolean

False when Atune does not have enough grounded support.

answer*string
confidence*number
Range0 <= value <= 1
citations*array<>
recommendedNext*string|null
signals*

Structured grounding bundle used for the answer.

Example Request
curl -X POST 'https://useatune.com/api/v1/understand' \  -H 'Content-Type: application/json' \  -d '{  "entity": "account:acme",  "question": "Why did this account go quiet?"}'
Example Response
{  "knows": true,  "answer": "Acme's weekly active users fell from 8 to 2 after onboarding stalled.",  "confidence": 0.72,  "citations": [    {      "signal": "account.health.trend",      "value": "weekly active users fell from 8 to 2",      "when": "2026-07-24T12:00:00.000Z"    }  ],  "recommendedNext": "Ask Acme what blocked onboarding after the first report.",  "signals": {    "entity": "account:acme",    "support": {      "knows": true,      "confidence": 0.72    }  }}