Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

List Files

For guidance and examples, see Manage files.

curl
PINECONE_API_KEY="YOUR_API_KEY"
ASSISTANT_NAME="example-assistant"

curl -X GET "https://prod-1-data.ke.pinecone.io/assistant/files/$ASSISTANT_NAME" \
  -H "Api-Key: $PINECONE_API_KEY" \
  -H "X-Pinecone-Api-Version: 2026-04"

GET /files/{assistant_name}

  • X-Pinecone-Api-Version (header, string, required) — Required date-based version header
  • assistant_name (path, string, required) — The name of the assistant to list files for.
  • filter (query, string) — Optional JSON-encoded metadata filter for files.
  • limit (query, integer) — Limit on the number of files to return.
  • pagination_token (query, string) — Pagination token to continue a previous listing operation.
  • 200 — This operation returns a list of all files that you have previously uploaded, and which are associated with the given assistant name.
  • 401 — Unauthorized. Possible causes: Invalid API key.
  • 404 — Assistant not found.
  • 500 — Internal server error.
Suggest an edit

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

Export
Documentation menu