Vantage · Capability

Vantage Cost Management API — Workspaces

Vantage Cost Management API — Workspaces. 2 operations. Lead operation: Vantage Get All Workspaces. Self-contained Naftiko capability covering one Vantage business surface.

Run with Naftiko VantageWorkspaces

What You Can Do

GET
Getworkspaces — Vantage Get All Workspaces
/v1/workspaces
GET
Getworkspace — Vantage Get a Workspace
/v1/workspaces/{workspace-token}

MCP Tools

vantage-get-all-workspaces

Vantage Get All Workspaces

read-only idempotent
vantage-get-workspace

Vantage Get a Workspace

read-only idempotent

Capability Spec

cost-management-workspaces.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Vantage Cost Management API — Workspaces
  description: 'Vantage Cost Management API — Workspaces. 2 operations. Lead operation: Vantage Get All Workspaces. Self-contained
    Naftiko capability covering one Vantage business surface.'
  tags:
  - Vantage
  - Workspaces
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VANTAGE_API_KEY: VANTAGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: cost-management-workspaces
    baseUri: https://api.vantage.sh/v2
    description: Vantage Cost Management API — Workspaces business capability. Self-contained, no shared references.
    resources:
    - name: workspaces
      path: /workspaces
      operations:
      - name: getworkspaces
        method: GET
        description: Vantage Get All Workspaces
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workspaces-workspace_token
      path: /workspaces/{workspace_token}
      operations:
      - name: getworkspace
        method: GET
        description: Vantage Get a Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.VANTAGE_API_KEY}}'
  exposes:
  - type: rest
    namespace: cost-management-workspaces-rest
    port: 8080
    description: REST adapter for Vantage Cost Management API — Workspaces. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/workspaces
      name: workspaces
      description: REST surface for workspaces.
      operations:
      - method: GET
        name: getworkspaces
        description: Vantage Get All Workspaces
        call: cost-management-workspaces.getworkspaces
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/workspaces/{workspace-token}
      name: workspaces-workspace-token
      description: REST surface for workspaces-workspace_token.
      operations:
      - method: GET
        name: getworkspace
        description: Vantage Get a Workspace
        call: cost-management-workspaces.getworkspace
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cost-management-workspaces-mcp
    port: 9090
    transport: http
    description: MCP adapter for Vantage Cost Management API — Workspaces. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: vantage-get-all-workspaces
      description: Vantage Get All Workspaces
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cost-management-workspaces.getworkspaces
      outputParameters:
      - type: object
        mapping: $.
    - name: vantage-get-workspace
      description: Vantage Get a Workspace
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cost-management-workspaces.getworkspace
      outputParameters:
      - type: object
        mapping: $.