Menu
List namespaces
List namespaces
GET
/namespacesUse it in a workflow
- Add a step and choose the Pinecone connector.
- Pick the List namespaces action (under Data).
- Fill in the fields below, then reference the result from later steps as
{{listNamespaces.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{listNamespaces.response.data.<field>}}.
{
"namespaces": [
{
"name": "example-namespace",
"record_count": "20000",
"schema": {
"fields": {
"description": {
"filterable": true
},
"genre": {
"filterable": true
},
"year": {
"filterable": true
}
}
},
"indexed_fields": {
"fields": [
"genre",
"year",
"author"
]
},
"size_bytes": "1048576"
}
],
"pagination": {
"next": "Tm90aGluZyB0byBzZWUgaGVyZQo="
},
"total_count": 25
}
Need more? See the Pinecone guide for connection setup and behaviour shared by every action.
Was this page helpful?