datasets
Update Dataset Schema
Store or update the graph schema and custom prompt for a dataset.
Path Parameters
- dataset_id (UUID): UUID of the dataset (from GET /api/v1/datasets).
Request Parameters
- customPrompt (Optional[str]): Custom extraction prompt to store for the dataset; omitting it leaves any existing prompt unchanged.
- graphSchema (Optional[Dict[str, Any]]): JSON graph schema to store for the dataset; omitting it leaves any existing schema unchanged.
PUT
Update Dataset Schema
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response
The response is of type Response Update Dataset Schema Api V1 Datasets Dataset Id Schema Put · object.