div strong 🔨 In Development — This section is still being developed and may change. 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) ## Request Body **`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. ```bash 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"] }' ``` ```python Python import os import requests api_key = os.environ["PIPELINE_API_KEY"] response = requests.post( "https://api.aitronos.com/v1/pipeline/check-exists", headers={"X-API-Key": api_key}, json={ "organization_id": "org_abc123", "vector_store_id": "vs_xyz789", "namespace": "clickup_tasks", "ids": ["task_123", "task_456", "task_789"] } ) result = response.json() ``` ```javascript JavaScript const apiKey = process.env.PIPELINE_API_KEY; const response = await fetch( 'https://api.aitronos.com/v1/pipeline/check-exists', { method: 'POST', headers: { 'X-API-Key': apiKey, 'Content-Type': 'application/json' }, body: JSON.stringify({ organization_id: 'org_abc123', vector_store_id: 'vs_xyz789', namespace: 'clickup_tasks', ids: ['task_123', 'task_456', 'task_789'] }) } ); const result = await response.json(); ``` ## Response ```json { "existing_ids": ["task_123", "task_456"], "new_ids": ["task_789"], "total_checked": 3 } ```