v30

latestOpenAPI 3.0.3raw.githubusercontent.com2026-02-16162228.3 KB
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

filestring required
successboolean required
errorstring