agent_desk

Create Correction

Correct one answer: the owner door. See create_correction_impl.

get_user is required rather than incidental: this spends model tokens, and an unattributed spend on an authenticated surface is not something to leave possible. Ownership of the TARGET is proved separately, by corrections.resolve_targets — get_domain authorises the domain and says nothing about the ids in the body.

post/api/domains/{domain_id}/agent-desk/corrections

Request

  • Base URL
    https://api-v1.unusual.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: /auth/login

Path parameters

domain_idstring required

Headers

x-view-asstring nullable

Request body

message_idstring nullable
answer_page_idstring nullable
commentstring nullable

Response

Successful Response

diffobject nullable
learningobject nullable
spamboolean
incorporatedboolean
draftingboolean
strategyobject nullable
appliedobject nullable
applied_versionsobject[]
heldobject[]
undo_available_untilstring nullable
undoneboolean
enqueuedboolean required
statusstring required
detailstring required

Changes

No recorded changes to this operation across all 1 revision of this API.