Archrock · Capability

Archrock Investor Relations API — Fleet

Archrock Investor Relations API — Fleet. 2 operations. Lead operation: List compression equipment. Self-contained Naftiko capability covering one Archrock business surface.

Run with Naftiko ArchrockFleet

What You Can Do

GET
Listequipment — List compression equipment
/v1/fleet/equipment
GET
Getfleetstatistics — Get compression fleet statistics
/v1/fleet/statistics

MCP Tools

list-compression-equipment

List compression equipment

read-only idempotent
get-compression-fleet-statistics

Get compression fleet statistics

read-only idempotent

Capability Spec

investor-relations-fleet.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Archrock Investor Relations API — Fleet
  description: 'Archrock Investor Relations API — Fleet. 2 operations. Lead operation: List compression equipment. Self-contained
    Naftiko capability covering one Archrock business surface.'
  tags:
  - Archrock
  - Fleet
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ARCHROCK_API_KEY: ARCHROCK_API_KEY
capability:
  consumes:
  - type: http
    namespace: investor-relations-fleet
    baseUri: https://api.archrock.com/v1
    description: Archrock Investor Relations API — Fleet business capability. Self-contained, no shared references.
    resources:
    - name: fleet-equipment
      path: /fleet/equipment
      operations:
      - name: listequipment
        method: GET
        description: List compression equipment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
        - name: limit
          in: query
          type: integer
        - name: offset
          in: query
          type: integer
    - name: fleet-statistics
      path: /fleet/statistics
      operations:
      - name: getfleetstatistics
        method: GET
        description: Get compression fleet statistics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: year
          in: query
          type: integer
        - name: quarter
          in: query
          type: integer
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.ARCHROCK_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: investor-relations-fleet-rest
    port: 8080
    description: REST adapter for Archrock Investor Relations API — Fleet. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/fleet/equipment
      name: fleet-equipment
      description: REST surface for fleet-equipment.
      operations:
      - method: GET
        name: listequipment
        description: List compression equipment
        call: investor-relations-fleet.listequipment
        with:
          status: rest.status
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/fleet/statistics
      name: fleet-statistics
      description: REST surface for fleet-statistics.
      operations:
      - method: GET
        name: getfleetstatistics
        description: Get compression fleet statistics
        call: investor-relations-fleet.getfleetstatistics
        with:
          year: rest.year
          quarter: rest.quarter
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: investor-relations-fleet-mcp
    port: 9090
    transport: http
    description: MCP adapter for Archrock Investor Relations API — Fleet. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-compression-equipment
      description: List compression equipment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: investor-relations-fleet.listequipment
      with:
        status: tools.status
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: get-compression-fleet-statistics
      description: Get compression fleet statistics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: investor-relations-fleet.getfleetstatistics
      with:
        year: tools.year
        quarter: tools.quarter
      outputParameters:
      - type: object
        mapping: $.