---
title: "List context-scoped dataset files"
method: GET
path: "/agents/{agentId}/datasets/context/{contextKey}/{contextValue}"
tags: ["Datasets"]
---

# List context-scoped dataset files

`GET /agents/{agentId}/datasets/context/{contextKey}/{contextValue}`

List all dataset files scoped to a context value.
These files are shared with all users who have this context value.
Requires User Context to be enabled.

## Path parameters

- `agentId` string, required
- `contextKey` string, required
- `contextValue` string, required

## Response `200`

List of dataset files

- DatasetFileList
  - `files` string[], required

---

[API](https://skmtc.net/inconvoai/apis/inconvo-conversations-api.md) · [All operations](https://skmtc.net/inconvoai/apis/inconvo-conversations-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/inconvoai/inconvo-conversations-api/revisions/2524aa5bde1f/schema)
