---
title: "Dismiss a hint"
method: POST
path: "/api/agent-hints/{sid}/dismiss"
tags: ["agent_hints"]
---

# Dismiss a hint

`POST /api/agent-hints/{sid}/dismiss`

## Request

- Base URL: `https://beta.getsales.io/unibox/v1`
- URL: `https://beta.getsales.io/unibox/v1/api/agent-hints/{sid}/dismiss`
- Auth: HTTP bearer and API key in header `Team-SID`

Dismiss an open hint: it leaves the open list and opens again when new replies hit it, the dismissal kept in its history. One that is not open is 409 hint_not_open.

Contract:
- MCP tool `dismiss_agent_hint`, registry package `mcp.unibox/agent_hints`, mount `unibox.agent-memory`.
- Operation `action`, response envelope `action`.
- Flags: none.

## Path parameters

- `sid` string, required: Hint sid (ub_hn_…).

## Response `200`

`action` success envelope.

- DismissAgentHintResponse
  - `success` true, required
  - `operation` 'action', required
  - `action` string, required: kebab-case verb; matches the route segment.
  - `item` object, nullable, required
    - `sid` string, required: Hint sid (ub_hn_…).
    - `team_sid` string, required: Owning team (ts_tm_…, external - gs.service.id).
    - `agent_sid` string, required: The team's agent (ub_ag_…).
    - `kind` 'missing_answer' | 'no_example', required: missing_answer: the lead asked something nothing in Knowledge answers above the floor; no_example: no dialogue of the Golden set was close enough for the scenario and the lead's move.
    - `subject` string, required: What was missing, as leads put it: the question (missing_answer), or the lead's message (no_example); up to 500 chars. The same subject in other words is one hint.
    - `goes_to` 'knowledge' | 'golden_set', required: Where the fix lands: knowledge (add an answer: create_agent_source) or golden_set (keep a dialogue: create_agent_example).
    - `scenario_key` string, nullable, required: The scenario of the reply that opened it (objection, info_request, ...); for a no_example, the situation's scenario.
    - `count` integer, required: The real replies that hit it.
    - `first_seen` string, nullable, required: ISO 8601 UTC of the first reply that hit it.
    - `last_seen` string, nullable, required: ISO 8601 UTC of the newest.
    - `samples` object[], required: The newest five replies that hit it, newest first: the run, the thread, the lead's message.
      - `run_sid` string, required: The run that hit the hint (ub_rn_…), a row of search_agent_runs.
      - `conversation_sid` string, required: Its thread (ub_cv_…).
      - `message_sid` string, nullable, required: The lead's message the run answered (ub_ms_…); null when the run carried none.
      - `at` string, nullable, required: ISO 8601 UTC, when the reply hit it.
    - `status` 'open' | 'resolved' | 'dismissed', required: open; resolved (what was missing appeared, or a person said so); dismissed (by a person; opens again when new replies hit it).
    - `status_by` object, nullable, required: Who resolved or dismissed it; the system when the engine resolved it; null while open from birth.
      - `actor_type` 'user' | 'support' | 'api_key' | 'system' | 'agent', required
      - `actor_sid` string, nullable, required
      - `team_sid` string, required
      - `actor_name` string, nullable: The OAuth client that acted ("Claude", "n8n"); null for a user, an API key or a system job.
      - `oauth_client_sid` string, nullable: The acting OAuth client (id_oc_*); null off the OAuth path.
      - `reason` string, nullable: Why a system actor wrote the row (snapshot_capture_job, ...); null otherwise.
      - `permissions` object, required: Internal audit context: the grant set the actor held at write time. Not a contract.
      - `cluster_id` integer, nullable: Internal audit context: the cluster that served the write.
      - `trace_id` string, nullable: Internal audit context: the trace id of the request that wrote the row.
    - `status_at` string, nullable, required: ISO 8601 UTC of the last status move; null while open from birth.
    - `resolved_by_sid` string, nullable, required: What resolved it: a Knowledge answer (ub_an_…), a document (ub_as_…), a dialogue of the Golden set (ub_eg_…), or what a person named; null unless resolved.
    - `history` object[], required: Every status move, oldest first, a dismissal kept when the hint opened again.
      - `status` 'open' | 'resolved' | 'dismissed', required: The status the hint took.
      - `at` string, nullable, required: ISO 8601 UTC.
      - `by` object, nullable, required: Who moved it; the system when the engine did (a reopening, an auto-resolve).
        - `actor_type` 'user' | 'support' | 'api_key' | 'system' | 'agent', required
        - `actor_sid` string, nullable, required
        - `team_sid` string, required
        - `actor_name` string, nullable: The OAuth client that acted ("Claude", "n8n"); null for a user, an API key or a system job.
        - `oauth_client_sid` string, nullable: The acting OAuth client (id_oc_*); null off the OAuth path.
        - `reason` string, nullable: Why a system actor wrote the row (snapshot_capture_job, ...); null otherwise.
        - `permissions` object, required: Internal audit context: the grant set the actor held at write time. Not a contract.
        - `cluster_id` integer, nullable: Internal audit context: the cluster that served the write.
        - `trace_id` string, nullable: Internal audit context: the trace id of the request that wrote the row.
      - `resolved_by_sid` string, nullable, required: On a resolve: what resolved it (an answer ub_an_, a dialogue ub_eg_, or what a person named).
      - `run_sid` string, nullable, required: On a resolve by a fix applied under a reply (apply_agent_fix, block AC7 of 2026-10-27): that reply's run (ub_rn_…); null on every other move.
    - `embedding_state` 'pending' | 'ready' | 'failed', required: ready when the subject's vector is written (the merge and the auto-resolve reach it); pending when the plane did not answer at birth.
    - `embedding_model` string, nullable, required: provider/model that wrote the vector; null while pending.
    - `created_at` string, required: ISO 8601 UTC.
    - `updated_at` string, required: ISO 8601 UTC.
  - `result` object, required
  - `meta` object, required
    - `trace_id` string, required: UUID v7; same 128-bit value as the X-Trace-Id header.
    - `span_id` string, required: 16 hex chars, root span of this request.
    - `timestamp` string, required: ISO 8601 UTC (Y-m-dTH:i:sZ), response time.
    - `duration_ms` integer, required: Server-side wall clock.
    - `team_sid` string, nullable: The team this call ran in (the token team, or the team_sid override). Null when unauthenticated; absent from pre-2026-08-20 backends.
    - `actor_type` string, nullable: user | agent | api_key | system. Null when unauthenticated; absent from pre-2026-08-20 backends.

## Other responses

- `4XX`: MCP error envelope. `error.code` is one of validation_failed, nothing_to_update, not_found, relation_not_found, invalid_transition, limit_exceeded, payment_required, duplicate_rejected, conflict, delete_blocked, unauthorized, forbidden, rate_limited, not_implemented.
- `5XX`: MCP error envelope with `error.code` internal_error or service_unavailable.

---

[API](https://skmtc.dev/getsales/apis/getsales-public-contract-gs-service-unibox.md) - [All operations](https://skmtc.dev/getsales/apis/getsales-public-contract-gs-service-unibox/llms.txt) - [OpenAPI document](https://skmtc.dev/getsales/apis/getsales-public-contract-gs-service-unibox/revisions/8f1bc317897f?raw)
