Trim dataset

post
/v1/datasets/{id}/trim

Path Parameters

ParamTypeDescription

id

string

required

Body Parameters

ParamTypeDescription

maxDuration

string

required

Responses

200
TrimResult, an object with the following properties:
PropertyTypeDescription

numDeleted

integer

numDeleted has been deprecated on 2022-09-14. There is currently no way to tell how much was trimmed via the trim result. If you need to check how much was deleted you can either query the removed time range, or poll the dataset info endpoint.

401
Forbidden, an object with the following properties:
PropertyTypeDescription

code

string

message

string

Was this page helpful?