Cases

Write the case's title and narrative

Changed on

Return the case's title and a few plain sentences on what it is about, written only from its documents, relations and quoted evidence, in lang (default en). The text is stored: an unchanged case returns the stored text, and a new one is written only after the case changed. Unavailable while the workspace restricts per-person field access (404). Requires the cases:write scope.

post/v1/relation-claims/cases/{caseKey}/narrate

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

caseKey, string uuid required

Headers

Idempotency-Key, string

Unique key for idempotent requests, at most 64 characters (a longer key is refused with 400 invalid_idempotency_key before any work). A retry with the same key, request and API key within 24 hours returns the first response with Idempotent-Replayed: true; the same key on a different request or from another API key answers 422 idempotency_key_reused. On POST /v1/extract the key caches the extraction result for the workspace instead: any key of the workspace sending it gets that result with cached: true.

Request body

object required
lang, string

Example request

{
  "lang": "de"
}

Response

Title and narrative.

object required

Changes