Skip to main content

Upsert Data Sink

PUT 

/api/v1/data-sinks

Upserts a data sink. Updates if a data sink with the same name and project_id already exists. Otherwise, creates a new data sink.

Request

Query Parameters

    project_id any
    organization_id any

Cookie Parameters

    session any

Body

required

    name Name (string)required

    The name of the data sink.

    sink_type ConfigurableDataSinkNames (string)required

    Possible values: [PINECONE, POSTGRES, QDRANT, AZUREAI_SEARCH, MONGODB_ATLAS, MILVUS]

    component

    object

    required

    anyOf

    supports_nested_metadata_filters Supports Nested Metadata Filters (boolean)

    Possible values: [true]

    Default value: true

    api_key passwordrequired

    The API key for authenticating with Pinecone

    index_name Index Name (string)required

    namespace

    object

    anyOf

    string

    insert_kwargs

    object

    anyOf

    class_name Class Name (string)

    Default value: CloudPineconeVectorStore

Responses

Successful Response

Schema

    id uuidrequired

    Unique identifier

    created_at

    object

    Creation datetime

    anyOf

    string

    updated_at

    object

    Update datetime

    anyOf

    string

    name Name (string)required

    The name of the data sink.

    sink_type ConfigurableDataSinkNames (string)required

    Possible values: [PINECONE, POSTGRES, QDRANT, AZUREAI_SEARCH, MONGODB_ATLAS, MILVUS]

    component

    object

    required

    anyOf

    supports_nested_metadata_filters Supports Nested Metadata Filters (boolean)

    Possible values: [true]

    Default value: true

    index_name Index Name (string)required

    namespace

    object

    anyOf

    string

    insert_kwargs

    object

    anyOf

    class_name Class Name (string)

    Default value: CloudPineconeVectorStore

    project_id uuidrequired
Loading...