Menu
List documents
List documents
POST
/namespaces/{namespace}/documents/listUse it in a workflow
- Add a step and choose the Pinecone connector.
- Pick the List documents action (under Data).
- Fill in the fields below, then reference the result from later steps as
{{listDocuments.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"prefix": "string",
"limit": 100,
"pagination_token": "string"
}
Response
Returns 200 with an object. Read it in later steps with {{listDocuments.response.data.<field>}}.
{
"documents": [
{
"_id": "doc-1"
}
],
"namespace": "my-namespace",
"usage": {
"egress_bytes": 1024,
"read_units": 1
},
"pagination": {
"next": "Tm90aGluZyB0byBzZWUgaGVyZQo="
}
}
Need more? See the Pinecone guide for connection setup and behaviour shared by every action.
Was this page helpful?