Skip to content
Last updated

title: Check if pipeline records exist keywords:

  • check if pipeline records exist
  • post
  • check
  • pipeline
  • records
  • exist

Check which records already exist to avoid duplicate processing.

POSThttps://api.aitronos.com/v1/connectors/pipeline/check-exists

Request Body

organization_id string required

Organization ID (org_ prefixed)

vector_store_id string required

Vector store ID (vs_ prefixed) - each connector is tied to a specific vector store

ids array of string required

Source system IDs to check

namespace string required

Namespace to check within


Returns

existing_ids array of string

IDs that already exist in the system

new_ids array of string

IDs that are new and don't exist yet

total_checked integer

Total number of IDs checked

cURL
curl -X POST "https://api.aitronos.com/v1/connectors/pipeline/check-exists" \
  -H "X-API-Key: $FREDDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "organization_id": "org_abc123",
  "vector_store_id": "your_vector_store_id",
  "ids": [],
  "namespace": "your_namespace"
}'

Response:

200 OK
{
  "existing_ids": [
    "example_existing_ids"
  ],
  "new_ids": [
    "example_new_ids"
  ],
  "total_checked": 42
}