Skip to content
Last updated
🔨 In Development — This section is still being developed and may change.
POST/v1/pipeline/check-exists

Check which records already exist to avoid duplicate processing.

Returns lists of existing and new IDs for efficient deduplication.

Authentication: Dedicated Pipeline Connector API Key required (X-API-Key header)

organization_id string required

The organization ID to check records for.

vector_store_id string required

The vector store ID to check records in.

namespace string required

The namespace to check records in.

ids array of strings required

Array of record IDs to check.

Returns

Returns lists of existing IDs, new IDs, and total count checked.

cURL
curl -X POST https://api.aitronos.com/v1/pipeline/check-exists \
  -H "X-API-Key: $PIPELINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "organization_id": "org_abc123",
    "vector_store_id": "vs_xyz789",
    "namespace": "clickup_tasks",
    "ids": ["task_123", "task_456", "task_789"]
  }'

Response

{
  "existing_ids": ["task_123", "task_456"],
  "new_ids": ["task_789"],
  "total_checked": 3
}