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

    Component that implements the data sink

    anyOf

    object

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

    Component that implements the data sink

    anyOf

    object

    project_id uuidrequired