Grade Reply Draft
POST /inbox/drafts/grade
POST
/inbox/drafts/grade
Grade an UNSENT email reply against its thread: a label, a 0-100 score, reasons and up to two suggestions.
Never charged and sends nothing. 404 when grading is off, or the thread is missing or its mailbox is not visible to the key; 422 for fewer than 3 words; 503 when grading failed.
Authorizations
Parameters
Header Parameters
Request Body required
Grade an unsent reply against its thread.
object
draft_text
required
Plain-text reply draft.
string
thread_id
required
Email thread id (the id from GET /inbox).
string
Responses
200
Successful Response
object
data
required
An open envelope for a comment, an assignment or a workspace.
Open because a comment carries attachment refs and mention metadata that grow, and because an assignment result reports per-assignee outcomes.
object
key
additional properties
any
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string