Agave · Capability

Agave Unified Construction API — Budgets

Agave Unified Construction API — Budgets. 1 operations. Lead operation: Agave List Budgets. Self-contained Naftiko capability covering one Agave business surface.

Run with Naftiko AgaveBudgets

What You Can Do

GET
Listbudgets — Agave List Budgets
/v1/budgets

MCP Tools

agave-list-budgets

Agave List Budgets

read-only idempotent

Capability Spec

unified-budgets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Agave Unified Construction API — Budgets
  description: 'Agave Unified Construction API — Budgets. 1 operations. Lead operation: Agave List Budgets. Self-contained
    Naftiko capability covering one Agave business surface.'
  tags:
  - Agave
  - Budgets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AGAVE_API_KEY: AGAVE_API_KEY
capability:
  consumes:
  - type: http
    namespace: unified-budgets
    baseUri: https://api.agaveapi.com/v1
    description: Agave Unified Construction API — Budgets business capability. Self-contained, no shared references.
    resources:
    - name: budgets
      path: /budgets
      operations:
      - name: listbudgets
        method: GET
        description: Agave List Budgets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: source_system_id
          in: header
          type: string
          description: The linked account source system identifier.
          required: true
        - name: project_id
          in: query
          type: string
          description: Filter budgets by project ID.
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return.
    authentication:
      type: apikey
      key: API-Key
      value: '{{env.AGAVE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: unified-budgets-rest
    port: 8080
    description: REST adapter for Agave Unified Construction API — Budgets. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/budgets
      name: budgets
      description: REST surface for budgets.
      operations:
      - method: GET
        name: listbudgets
        description: Agave List Budgets
        call: unified-budgets.listbudgets
        with:
          source_system_id: rest.source_system_id
          project_id: rest.project_id
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: unified-budgets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Agave Unified Construction API — Budgets. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: agave-list-budgets
      description: Agave List Budgets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: unified-budgets.listbudgets
      with:
        source_system_id: tools.source_system_id
        project_id: tools.project_id
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.