cURL
curl --request PATCH \ --url https://api.starleads.co/Dataset/{datasetId} \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data ' { "name": "Updated Name", "parserConfig": { "chunkTokenNum": 512 } } '
{ "id": "<string>", "name": "<string>", "description": "<string>", "chunkMethod": "<string>", "parserConfig": { "chunkTokenNum": 123, "layoutRecognize": true, "delimiter": "<string>", "taskPageSize": 123 }, "createdAt": "2023-11-07T05:31:56Z" }
Partially updates a dataset. Only the provided fields are updated; omitted fields remain unchanged.
Api key to pass as a X-Api-Key request header.
X-Api-Key
ID of the dataset.
Partial update for a dataset. Only provided fields will be updated
Dataset name (if provided: 1-255 chars)
Dataset description
Chunking method identifier
Configuration options for dataset document parsing
Show child attributes
Dataset updated successfully
Public representation of a dataset
Dataset identifier
Dataset name
Creation timestamp