Skip to main content
POST
/
connector
/
set_active_profile
Python
import os
from unstructured import UnstructuredClient

client = UnstructuredClient(
    username=os.environ.get("UNSTRUCTURED_USERNAME"),  # This is the default and can be omitted
    password=os.environ.get("UNSTRUCTURED_PASSWORD"),  # This is the default and can be omitted
)
connector_response = client.data_source.set_active_profile(
    connector_name="connector_name",
    connector_type="vdb",
)
print(connector_response.profile_id)
{
  "profile_id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.deasylabs.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
connector_name
string
required
connector_type
enum<string>
required
Available options:
vdb,
llm

Response

Successful Response

profile_id
string
required