Pure Storage · Capability

FlashArray REST API — Hosts

FlashArray REST API — Hosts. 18 operations. Lead operation: Pure Storage List Hosts. Self-contained Naftiko capability covering one Pure Storage business surface.

Run with Naftiko Pure StorageHosts

What You Can Do

GET
Get — Pure Storage List Hosts
/v1/api/2-52/hosts
POST
Post — Pure Storage Create a Host and Upsert Tags
/v1/api/2-52/hosts
DELETE
Delete — Pure Storage Delete a Host
/v1/api/2-52/hosts
PATCH
Patch — Pure Storage Modify a Host
/v1/api/2-52/hosts
GET
Get — Pure Storage List Hosts That Are Associated with Host Groups
/v1/api/2-52/hosts/host-groups
POST
Post — Pure Storage Create a Membership to a Host Group
/v1/api/2-52/hosts/host-groups
DELETE
Delete — Pure Storage Delete a Membership from a Host Group
/v1/api/2-52/hosts/host-groups
GET
Get — Pure Storage List Host Performance Data
/v1/api/2-52/hosts/performance
GET
Get — Pure Storage List Host Performance Balance
/v1/api/2-52/hosts/performance/balance
GET
Get — Pure Storage List Host Performance Data by Array
/v1/api/2-52/hosts/performance/by-array
GET
Get — Pure Storage List Hosts That Are Members of Protection Groups
/v1/api/2-52/hosts/protection-groups
POST
Post — Pure Storage Create a Host
/v1/api/2-52/hosts/protection-groups
DELETE
Delete — Pure Storage Delete a Host from a Protection Group
/v1/api/2-52/hosts/protection-groups
GET
Get — Pure Storage List Host QoS Config
/v1/api/2-52/hosts/qos
GET
Get — Pure Storage List Host Space Information
/v1/api/2-52/hosts/space
GET
Get — Pure Storage List Tags
/v1/api/2-52/hosts/tags
DELETE
Delete — Pure Storage Delete Tags
/v1/api/2-52/hosts/tags
PUT
Put — Pure Storage Update Tags
/v1/api/2-52/hosts/tags/batch

MCP Tools

pure-storage-list-hosts

Pure Storage List Hosts

read-only idempotent
pure-storage-create-host-and

Pure Storage Create a Host and Upsert Tags

pure-storage-delete-host

Pure Storage Delete a Host

idempotent
pure-storage-modify-host

Pure Storage Modify a Host

idempotent
pure-storage-list-hosts-that

Pure Storage List Hosts That Are Associated with Host Groups

read-only idempotent
pure-storage-create-membership-host

Pure Storage Create a Membership to a Host Group

pure-storage-delete-membership-host

Pure Storage Delete a Membership from a Host Group

idempotent
pure-storage-list-host-performance

Pure Storage List Host Performance Data

read-only idempotent
pure-storage-list-host-performance-2

Pure Storage List Host Performance Balance

read-only idempotent
pure-storage-list-host-performance-3

Pure Storage List Host Performance Data by Array

read-only idempotent
pure-storage-list-hosts-that-2

Pure Storage List Hosts That Are Members of Protection Groups

read-only idempotent
pure-storage-create-host

Pure Storage Create a Host

pure-storage-delete-host-protection

Pure Storage Delete a Host from a Protection Group

idempotent
pure-storage-list-host-qos

Pure Storage List Host QoS Config

read-only idempotent
pure-storage-list-host-space

Pure Storage List Host Space Information

read-only idempotent
pure-storage-list-tags

Pure Storage List Tags

read-only idempotent
pure-storage-delete-tags

Pure Storage Delete Tags

idempotent
pure-storage-update-tags

Pure Storage Update Tags

idempotent

Capability Spec

flasharray-rest-hosts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FlashArray REST API — Hosts
  description: 'FlashArray REST API — Hosts. 18 operations. Lead operation: Pure Storage List Hosts. Self-contained Naftiko
    capability covering one Pure Storage business surface.'
  tags:
  - Pure Storage
  - Hosts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PURE_STORAGE_API_KEY: PURE_STORAGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: flasharray-rest-hosts
    baseUri: ''
    description: FlashArray REST API — Hosts business capability. Self-contained, no shared references.
    resources:
    - name: api-2.52-hosts
      path: /api/2.52/hosts
      operations:
      - name: get
        method: GET
        description: Pure Storage List Hosts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Create a Host and Upsert Tags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: delete
        method: DELETE
        description: Pure Storage Delete a Host
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Pure Storage Modify a Host
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-2.52-hosts-host-groups
      path: /api/2.52/hosts/host-groups
      operations:
      - name: get
        method: GET
        description: Pure Storage List Hosts That Are Associated with Host Groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Create a Membership to a Host Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: Pure Storage Delete a Membership from a Host Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-hosts-performance
      path: /api/2.52/hosts/performance
      operations:
      - name: get
        method: GET
        description: Pure Storage List Host Performance Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-hosts-performance-balance
      path: /api/2.52/hosts/performance/balance
      operations:
      - name: get
        method: GET
        description: Pure Storage List Host Performance Balance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-hosts-performance-by-array
      path: /api/2.52/hosts/performance/by-array
      operations:
      - name: get
        method: GET
        description: Pure Storage List Host Performance Data by Array
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-hosts-protection-groups
      path: /api/2.52/hosts/protection-groups
      operations:
      - name: get
        method: GET
        description: Pure Storage List Hosts That Are Members of Protection Groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Pure Storage Create a Host
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: Pure Storage Delete a Host from a Protection Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-hosts-qos
      path: /api/2.52/hosts/qos
      operations:
      - name: get
        method: GET
        description: Pure Storage List Host QoS Config
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-hosts-space
      path: /api/2.52/hosts/space
      operations:
      - name: get
        method: GET
        description: Pure Storage List Host Space Information
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-hosts-tags
      path: /api/2.52/hosts/tags
      operations:
      - name: get
        method: GET
        description: Pure Storage List Tags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: Pure Storage Delete Tags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-2.52-hosts-tags-batch
      path: /api/2.52/hosts/tags/batch
      operations:
      - name: put
        method: PUT
        description: Pure Storage Update Tags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: flasharray-rest-hosts-rest
    port: 8080
    description: REST adapter for FlashArray REST API — Hosts. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/2-52/hosts
      name: api-2-52-hosts
      description: REST surface for api-2.52-hosts.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Hosts
        call: flasharray-rest-hosts.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Create a Host and Upsert Tags
        call: flasharray-rest-hosts.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete a Host
        call: flasharray-rest-hosts.delete
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Pure Storage Modify a Host
        call: flasharray-rest-hosts.patch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/hosts/host-groups
      name: api-2-52-hosts-host-groups
      description: REST surface for api-2.52-hosts-host-groups.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Hosts That Are Associated with Host Groups
        call: flasharray-rest-hosts.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Create a Membership to a Host Group
        call: flasharray-rest-hosts.post
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete a Membership from a Host Group
        call: flasharray-rest-hosts.delete
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/hosts/performance
      name: api-2-52-hosts-performance
      description: REST surface for api-2.52-hosts-performance.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Host Performance Data
        call: flasharray-rest-hosts.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/hosts/performance/balance
      name: api-2-52-hosts-performance-balance
      description: REST surface for api-2.52-hosts-performance-balance.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Host Performance Balance
        call: flasharray-rest-hosts.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/hosts/performance/by-array
      name: api-2-52-hosts-performance-by-array
      description: REST surface for api-2.52-hosts-performance-by-array.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Host Performance Data by Array
        call: flasharray-rest-hosts.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/hosts/protection-groups
      name: api-2-52-hosts-protection-groups
      description: REST surface for api-2.52-hosts-protection-groups.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Hosts That Are Members of Protection Groups
        call: flasharray-rest-hosts.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Pure Storage Create a Host
        call: flasharray-rest-hosts.post
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete a Host from a Protection Group
        call: flasharray-rest-hosts.delete
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/hosts/qos
      name: api-2-52-hosts-qos
      description: REST surface for api-2.52-hosts-qos.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Host QoS Config
        call: flasharray-rest-hosts.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/hosts/space
      name: api-2-52-hosts-space
      description: REST surface for api-2.52-hosts-space.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Host Space Information
        call: flasharray-rest-hosts.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/hosts/tags
      name: api-2-52-hosts-tags
      description: REST surface for api-2.52-hosts-tags.
      operations:
      - method: GET
        name: get
        description: Pure Storage List Tags
        call: flasharray-rest-hosts.get
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Pure Storage Delete Tags
        call: flasharray-rest-hosts.delete
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/2-52/hosts/tags/batch
      name: api-2-52-hosts-tags-batch
      description: REST surface for api-2.52-hosts-tags-batch.
      operations:
      - method: PUT
        name: put
        description: Pure Storage Update Tags
        call: flasharray-rest-hosts.put
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: flasharray-rest-hosts-mcp
    port: 9090
    transport: http
    description: MCP adapter for FlashArray REST API — Hosts. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: pure-storage-list-hosts
      description: Pure Storage List Hosts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-hosts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-create-host-and
      description: Pure Storage Create a Host and Upsert Tags
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flasharray-rest-hosts.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-host
      description: Pure Storage Delete a Host
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-hosts.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-modify-host
      description: Pure Storage Modify a Host
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: flasharray-rest-hosts.patch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-hosts-that
      description: Pure Storage List Hosts That Are Associated with Host Groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-hosts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-create-membership-host
      description: Pure Storage Create a Membership to a Host Group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flasharray-rest-hosts.post
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-membership-host
      description: Pure Storage Delete a Membership from a Host Group
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-hosts.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-host-performance
      description: Pure Storage List Host Performance Data
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-hosts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-host-performance-2
      description: Pure Storage List Host Performance Balance
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-hosts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-host-performance-3
      description: Pure Storage List Host Performance Data by Array
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-hosts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-hosts-that-2
      description: Pure Storage List Hosts That Are Members of Protection Groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-hosts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-create-host
      description: Pure Storage Create a Host
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flasharray-rest-hosts.post
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-host-protection
      description: Pure Storage Delete a Host from a Protection Group
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-hosts.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-host-qos
      description: Pure Storage List Host QoS Config
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-hosts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-host-space
      description: Pure Storage List Host Space Information
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-hosts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-list-tags
      description: Pure Storage List Tags
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flasharray-rest-hosts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-delete-tags
      description: Pure Storage Delete Tags
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: flasharray-rest-hosts.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: pure-storage-update-tags
      description: Pure Storage Update Tags
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: flasharray-rest-hosts.put
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.