Skip to content

Suggest answers for unanswered org profile questions

POST
/v1/context/profile-suggestions
curl --request POST \
--url https://api.varman.io/v1/context/profile-suggestions \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "questions": [ { "id": "teamSize", "prompt": "How many employees do you have?", "type": "text", "options": [ "example" ] } ] }'

Returns suggested answers for the given profile questions, built from data the organization already has (member count, vendors, integrations, earlier answers) and, when an AI provider is configured, an AI pass for the rest. Nothing is.

Media typeapplication/json
object
questions
required

Unanswered questions to suggest answers for

Array<object>
object
id
required

Stable question id from the org profile catalogue

string

Example

teamSize
prompt
required

Question text

string

Example

How many employees do you have?
type
required
string
Allowed values: text select multi-select number

Example

number
options

Allowed options for select questions

Array<string>