Report whether the drafter is on for the caller, and its model
Whether Draft with DocsGPT is offered to the caller, and the model it runs on (the task model). Returns {"enabled", "model": {"id", "display_name"} | null, "reason": "disabled" | "no_model" | null}.
Not available to personal access tokens; call it from a signed-in session.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
The drafter's config
curl -X GET 'http://localhost:7091/api/drafter/config'Report an agent's gap summary GET
An agent's gap summary from Insights for Draft with DocsGPT's improve screen: expected gaps per topic and gap type over the last 30 days, the most first, read from the decision model's labels (no model call). Returns {"available", "reason", "conversations", "needed", "days", "rows": [{"topic", "gap_type", "expected", "turns", "previous"}]}: at most 10 rows, each with at least half an expected gap, counts rounded as Insights shows them; topic is null for an agent without a topic question, previous null until the period before has labelled answers. reason is disabled (the drafter is off), off_on_this_instance, agent_off (Insights is off for the agent) or not_enough (fewer than needed analysed conversations; conversations counts them), else null. Needs edit access to the agent. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.
Report whether topic suggestions are available for an agent GET
Whether Draft with DocsGPT suggests Insights topics for an agent from its conversations: Insights sorts them (on this server and for the agent) and it had enough in the last 30 days. Returns {"available", "conversations", "needed", "reason"}; reason is disabled (the drafter is off), off_on_this_instance or turned_off_for_this_agent (Insights is off), with conversations 0 and uncounted, else null. Needs edit access to the agent: the suggestions read its users' questions. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.