Classify
Classify Bulk
Classify all files in a data connector in batches with the provided tags.
Request Body
| Field | Type | Description |
|---|---|---|
datasource_id | UUID | Id of the data connector to classify. |
total_data_sets | Optional[int] | Total number of files to classify. |
tag_ids | Optional[List[str]] | Ids of the tags to classify with (if tag_datas not provided). |
tag_datas | Optional[List[Tag]] | Inline tag definitions, each naming its tag by tag_id (if tag_ids not provided). |
overwrite | bool | Whether to overwrite existing tags. Default: false |
job_id | Optional[str] | Custom job ID for tracking the classification task. |
taxonomy_id | Optional[UUID] | Id of the taxonomy to classify with (if hierarchy_data not provided). |
hierarchy_data | Optional[Dict] | Hierarchy/taxonomy data to use for classification. Default: {} |
dataslice_id | Optional[str] | ID of the dataslice to use for file filtering. |
conditions | Optional[Condition] | Conditions to use for file filtering. |
Response
- 200: Classification job started successfully
- Returns:
{ "message": str, "job_id": str }
- Returns:
- 500: Internal Server Error
Example
POST
Python
Authorizations
Body
application/json
- SparkClassifyBulkRequest
- ArgoClassifyBulkRequest
- LocalClassifyBulkRequest
