Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

List a task's working-directory files

The root of the task's working directory.

GET /tasks/{id}/files/list

  • id (path, string, required) — Task id.
  • offset (query, integer) — Where the page starts. Source and knowledge listings echo it rather than applying it, since they return the whole directory in one page.
  • limit (query, integer) — Maximum entries in the page. Source and knowledge listings echo it rather than applying it, since they return the whole directory in one page.
  • X-Pinecone-Api-Version (header, string) — Date-based contract version, echoed back on the same header. Omit for the default (2026-07); send unstable for the in-development surface. An unrecognized value is rejected with 400 unsupported_api_version.
  • 200 — Directory listing
  • 404 — Not found
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu