Cases

Split a case

Split a case into two separate cases by partitioning its documents into two groups.

post/v1/cases/{key}/split

Request

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

Path parameters

key, string uuid required

Case UUID (the stable resource id).

Request body

object required
partition_b, string[] required

Document IDs that move out into the newly-created case (non-empty strict subset). Everything not listed stays on the existing case.

partition_a, string[]

Informational only — the kept documents are derived as the complement of partition_b.

Example request

{
  "partition_b": [
    "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  ],
  "partition_a": [
    "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  ]
}

Response

Case split.

object required
source_id, string uuid required

UUID of the existing case (retains the documents not listed in partition_b).

new_case_id, string uuid required

UUID of the newly created case holding the partition_b documents.

moved, integer required

Count of documents moved into the new case.

Changes

No recorded changes to this operation across all 32 revisions of this API.