Pinecone · Capability

Pinecone Data Plane API — Namespace Operations

Pinecone Data Plane API — Namespace Operations. 4 operations. Lead operation: List namespaces. Self-contained Naftiko capability covering one Pinecone business surface.

Run with Naftiko PineconeNamespace Operations

What You Can Do

GET
Listnamespacesoperation — List namespaces
/v1/namespaces
POST
Createnamespace — Create a namespace
/v1/namespaces
GET
Describenamespace — Describe a namespace
/v1/namespaces/{namespace}
DELETE
Deletenamespace — Delete a namespace
/v1/namespaces/{namespace}

MCP Tools

list-namespaces

List namespaces

read-only idempotent
create-namespace

Create a namespace

describe-namespace

Describe a namespace

read-only idempotent
delete-namespace

Delete a namespace

idempotent

Capability Spec

db-data-namespace-operations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Pinecone Data Plane API — Namespace Operations
  description: 'Pinecone Data Plane API — Namespace Operations. 4 operations. Lead operation: List namespaces. Self-contained
    Naftiko capability covering one Pinecone business surface.'
  tags:
  - Pinecone
  - Namespace Operations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PINECONE_API_KEY: PINECONE_API_KEY
capability:
  consumes:
  - type: http
    namespace: db-data-namespace-operations
    baseUri: https://{index_host}
    description: Pinecone Data Plane API — Namespace Operations business capability. Self-contained, no shared references.
    resources:
    - name: namespaces
      path: /namespaces
      operations:
      - name: listnamespacesoperation
        method: GET
        description: List namespaces
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-Pinecone-Api-Version
          in: header
          type: string
          description: Required date-based version header
          required: true
        - name: limit
          in: query
          type: integer
          description: Max number namespaces to return per page.
        - name: paginationToken
          in: query
          type: string
          description: Pagination token to continue a previous listing operation.
        - name: prefix
          in: query
          type: string
          description: Prefix of the namespaces to list. Acts as a filter to return only namespaces that start with this prefix.
      - name: createnamespace
        method: POST
        description: Create a namespace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-Pinecone-Api-Version
          in: header
          type: string
          description: Required date-based version header
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: namespaces-namespace
      path: /namespaces/{namespace}
      operations:
      - name: describenamespace
        method: GET
        description: Describe a namespace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-Pinecone-Api-Version
          in: header
          type: string
          description: Required date-based version header
          required: true
        - name: namespace
          in: path
          type: string
          description: The namespace to describe.
          required: true
      - name: deletenamespace
        method: DELETE
        description: Delete a namespace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-Pinecone-Api-Version
          in: header
          type: string
          description: Required date-based version header
          required: true
        - name: namespace
          in: path
          type: string
          description: The namespace to delete.
          required: true
    authentication:
      type: apikey
      key: Api-Key
      value: '{{env.PINECONE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: db-data-namespace-operations-rest
    port: 8080
    description: REST adapter for Pinecone Data Plane API — Namespace Operations. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/namespaces
      name: namespaces
      description: REST surface for namespaces.
      operations:
      - method: GET
        name: listnamespacesoperation
        description: List namespaces
        call: db-data-namespace-operations.listnamespacesoperation
        with:
          X-Pinecone-Api-Version: rest.X-Pinecone-Api-Version
          limit: rest.limit
          paginationToken: rest.paginationToken
          prefix: rest.prefix
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createnamespace
        description: Create a namespace
        call: db-data-namespace-operations.createnamespace
        with:
          X-Pinecone-Api-Version: rest.X-Pinecone-Api-Version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/namespaces/{namespace}
      name: namespaces-namespace
      description: REST surface for namespaces-namespace.
      operations:
      - method: GET
        name: describenamespace
        description: Describe a namespace
        call: db-data-namespace-operations.describenamespace
        with:
          X-Pinecone-Api-Version: rest.X-Pinecone-Api-Version
          namespace: rest.namespace
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletenamespace
        description: Delete a namespace
        call: db-data-namespace-operations.deletenamespace
        with:
          X-Pinecone-Api-Version: rest.X-Pinecone-Api-Version
          namespace: rest.namespace
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: db-data-namespace-operations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Pinecone Data Plane API — Namespace Operations. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-namespaces
      description: List namespaces
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: db-data-namespace-operations.listnamespacesoperation
      with:
        X-Pinecone-Api-Version: tools.X-Pinecone-Api-Version
        limit: tools.limit
        paginationToken: tools.paginationToken
        prefix: tools.prefix
      outputParameters:
      - type: object
        mapping: $.
    - name: create-namespace
      description: Create a namespace
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: db-data-namespace-operations.createnamespace
      with:
        X-Pinecone-Api-Version: tools.X-Pinecone-Api-Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: describe-namespace
      description: Describe a namespace
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: db-data-namespace-operations.describenamespace
      with:
        X-Pinecone-Api-Version: tools.X-Pinecone-Api-Version
        namespace: tools.namespace
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-namespace
      description: Delete a namespace
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: db-data-namespace-operations.deletenamespace
      with:
        X-Pinecone-Api-Version: tools.X-Pinecone-Api-Version
        namespace: tools.namespace
      outputParameters:
      - type: object
        mapping: $.