Datasets

Upload context-scoped dataset file

Upload a dataset file scoped to a context value. This file will be shared with all users who have this context value. Requires User Context to be enabled and contextKey to be defined in the schema.

post/agents/{agentId}/datasets/context/{contextKey}/{contextValue}

Path parameters

agentIdstring required

The unique identifier of the agent

contextKeystring required

The context key (e.g., "orgId", "teamId")

contextValuestring required

The context value

Response

File uploaded successfully

errorstring

Changes