agent_desk

Playground Suggestions

Seeded questions for the playground, derived from the desk's own knowledge.

Cached per (domain, active Knowledge Document version), so the normal case costs nothing and activating a new document invalidates by construction. The allowance figures ride along so the playground can render "N of X used" without a second call — this endpoint does NOT consume the allowance, since reading suggestions is not answering.

get/api/domains/{domain_id}/agent-desk/playground/suggestions

Request

  • Base URL
    https://api-v1.unusual.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: /auth/login

Path parameters

domain_idstring required

Query parameters

refreshboolean

Bypass the per-KD-version cache and regenerate.

Headers

x-view-asstring nullable

Response

Successful Response

questionsstring[] required
generatedboolean required
knowledge_versioninteger nullable
allowance_usedinteger required
allowance_limitinteger required
allowance_measuredboolean

Changes

No recorded changes to this operation across all 1 revision of this API.