Skip to main content
PUT
Set the verdict on a reviewed draft

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

conversation_id
string
required

The conversation's id, from GET /v1/conversations

action_id
string
required

The reviewed draft, from GET /v1/conversations/{conversation_id}/draft_reviews

Body

application/json
verdict
enum<string>
required

as_good, needed_changes, wrong or not_used

Available options:
as_good,
needed_changes,
wrong,
not_used
reason
enum<string> | null

Why it fell short: required for needed_changes and wrong, left out otherwise

Available options:
missing_knowledge,
wrong_account_fact,
wrong_product_fact,
should_have_gone_to_engineering,
needed_decision,
tone_or_length

Response

200 - application/json

Successful Response

action_id
string
required

The draft reviewed: GET /v1/workbench/actions/{action_id} reads it

ending
string
required

sent_as_written, sent_edited, answered_by_team or dismissed

set_by
string
required

rule, judge (the AI judge) or person (a person changed the verdict)

settled_at
string
required

ISO 8601 UTC: when the draft ended

title
string
required

The draft's title

verdict
string
required

as_good, needed_changes, wrong or not_used

changed_at
string | null

ISO 8601 UTC

changed_by_name
string | null

The person who changed the verdict

judge_reason
string | null
judge_verdict
string | null

The AI judge's own verdict, kept when a person changed it

note
string | null

The reviewer's note

reason
string | null

Why it fell short, for needed_changes and wrong