Skip to content
Last updated

Validate sync mode, cursor, and primary key compatibility before syncing.

POSThttps://api.aitronos.com/v1/organizations/{organization_id}/knowledge/connectors/connections/validate-sync-config

Validates that the sync configuration (modes, cursors, primary keys) is compatible between source and destination streams.

Path Parameters

organization_id string required

The unique identifier of the organization (format: org_*).

Request Body

connection_id string optional

Existing connection to validate.

source_id string optional

Source to validate against.

destination_id string optional

Destination to validate against.

streams array optional

Stream configurations to validate.


Returns

A validation result containing valid (boolean) and errors (array of validation issues).

cURL
curl -X POST "https://api.aitronos.com/v1/organizations/org_xyz789/knowledge/connectors/connections/validate-sync-config" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"connection_id": "conn_abc123", "streams": [{"stream_name": "users", "sync_mode": "incremental_append"}]}'