Datasets
Delete context-scoped dataset file
Delete a dataset file scoped to a context value. Requires User Context to be enabled.
delete/agents/{agentId}/datasets/context/{contextKey}/{contextValue}/{filename}
Path parameters
agentIdstring required
The unique identifier of the agent
contextKeystring required
The context key (e.g., "orgId", "teamId")
contextValuestring required
The context value
filenamestring required
The filename to delete
Response
File deleted successfully