Report an agent's gap summary
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; 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).
agent_id?stringAgent id
The agent's gap summary
curl -X GET 'http://localhost:7091/api/drafter/agent_gaps'Updates the name of a conversation POST
Updates the name of a conversation. [Personal access token](/API/personal-access-tokens) scope: `conversations:write`.
Report whether the drafter is on for the caller, and its model GET
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](/API/personal-access-tokens); call it from a signed-in session.