Record a correction; bearer requests are attributed to agent

post/api/v1/cases

Request

  • Base URL: https://human4ai.ai
  • URL: https://human4ai.ai/api/v1/cases
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-h4a

Headers

Idempotency-Keystring

Use for safe retries of identical creates. Changed content gives 409.

Request body

titlestring required
contextstring required
originalstring required
correctedstring required
reasonstring required
categorystring required

Response

Successful operation; single resource or {items,nextCursor} for lists.

titlestring required
contextstring required
originalstring required
correctedstring required
reasonstring required
categorystring required
idstring required
createdAtinteger required

Unix timestamp in milliseconds

actor'human' | 'agent' required

Changes

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