read
cs

Fetch the full body of a customer-service thread: subject, all messages (direction, sender, body text, sentiment, urgenc

Changed on

Fetch the full body of a customer-service thread: subject, all messages (direction, sender, body text, sentiment, urgency), AI summary, matched customer + product, and attention metadata. Use when a specific thread is referenced by id; never for browsing (use get_cs_attention for that).

post/api/v1/tools/get_cs_thread

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopescs:read

Request body

object required
thread_id, string uuid required

UUID of the cs_threads row.

include, string[]

Answer from the inbox thread pane instead: the thread's inbox state (status, priority, tags, assignee, starred, follow-up, CSAT, what the AI does next) and its messages, plus each part named — drafts (the pending agent draft with the judge's verdict, scores and rationale), notes, events (History), attachments, orders, returns, actions (the agent's pending and parked proposals), economics, portal (the ticket link's state, never its token). all = every part.

message_id, string uuid

Read one message of this thread as the raw mail view shows it: headers (from, to, cc, Message-ID, In-Reply-To, References), plain and sanitised HTML body, send status, classification.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision