Manage Slices
Create
Create a new data slice based on specified conditions.
Request Body
| Field | Type | Description |
|---|---|---|
dataslice_name | str | The name to assign to the newly created data slice. |
condition | Optional[List[Dict]] | (Legacy) List of file qualifying conditions. |
condition_new | Optional[Any] | New format: advanced file qualifying conditions. |
description | Optional[str] | Description of the data slice. |
status | str | The status of the data slice (e.g., active). |
data_points | Optional[int] | Number of data points in the data slice. |
latest_taxonomy | Optional[Dict] | Most recent taxonomy reference/metadata. |
taxonomy_id | Optional[str] | ID of the related taxonomy, if applicable. |
data_connector_name | str | Name of the data connector (vector database profile). |
parent_dataslice_id | Optional[str] | (Optional) Parent data slice ID, for lineage. |
Response
- 201: Data slice created successfully
- Returns:
{ "dataslice_id": "<uuid>" }
- Returns:
- 500: Internal Server Error.
Example
POST
Python
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
Response
Successful Response
