POST /api/v1/{context_id}/facts/batch

Changed on

Bulk conversation ingest. Persists each message as a turn and routes extraction through reconcile_extraction.

Request

Path parameters

context_idstring required

Spectron context id

Request body

extract'per_message' | 'whole_conversation'

Bulk extraction strategy for /facts/batch.

infer'full' | 'triples' | 'preview' | 'none'

Inference mode for the /facts write API.

Decides which extraction path runs and which provenance kind the reconciler tags the writes with (see the per-variant docs below).

labelsLabel[]

Descriptive labels for the persisted rows (accepted + recorded; row application deferred).

session_idstring nullable

Response

sessionIdstring required
turnIdsstring[] required

Changes

    • info

      added the new optional request property //

    • info

      added the non-success response with the status

    • info

      added the required property // to the response with the status

    • warning

      removed the request property

    • info

      added the new optional request property