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