Porter · Capability

Porter Bundle API — Runs

Porter Bundle API — Runs. 3 operations. Lead operation: Porter List runs for an installation. Self-contained Naftiko capability covering one Porter business surface.

Run with Naftiko PorterRuns

What You Can Do

GET
Listinstallationruns — Porter List runs for an installation
/v1/v1/installations/{namespace}/{name}/runs
GET
Getinstallationrun — Porter Get a specific run
/v1/v1/installations/{namespace}/{name}/runs/{run-id}
GET
Listrunoutputs — Porter List outputs for a run
/v1/v1/installations/{namespace}/{name}/runs/{run-id}/outputs

MCP Tools

porter-list-runs-installation

Porter List runs for an installation

read-only idempotent
porter-get-specific-run

Porter Get a specific run

read-only idempotent
porter-list-outputs-run

Porter List outputs for a run

read-only idempotent

Capability Spec

bundle-runs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Porter Bundle API — Runs
  description: 'Porter Bundle API — Runs. 3 operations. Lead operation: Porter List runs for an installation. Self-contained
    Naftiko capability covering one Porter business surface.'
  tags:
  - Porter
  - Runs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PORTER_API_KEY: PORTER_API_KEY
capability:
  consumes:
  - type: http
    namespace: bundle-runs
    baseUri: http://localhost:3000
    description: Porter Bundle API — Runs business capability. Self-contained, no shared references.
    resources:
    - name: v1-installations-namespace-name-runs
      path: /v1/installations/{namespace}/{name}/runs
      operations:
      - name: listinstallationruns
        method: GET
        description: Porter List runs for an installation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-installations-namespace-name-runs-run_id
      path: /v1/installations/{namespace}/{name}/runs/{run_id}
      operations:
      - name: getinstallationrun
        method: GET
        description: Porter Get a specific run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-installations-namespace-name-runs-run_id-outputs
      path: /v1/installations/{namespace}/{name}/runs/{run_id}/outputs
      operations:
      - name: listrunoutputs
        method: GET
        description: Porter List outputs for a run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.PORTER_API_KEY}}'
  exposes:
  - type: rest
    namespace: bundle-runs-rest
    port: 8080
    description: REST adapter for Porter Bundle API — Runs. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/installations/{namespace}/{name}/runs
      name: v1-installations-namespace-name-runs
      description: REST surface for v1-installations-namespace-name-runs.
      operations:
      - method: GET
        name: listinstallationruns
        description: Porter List runs for an installation
        call: bundle-runs.listinstallationruns
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/installations/{namespace}/{name}/runs/{run-id}
      name: v1-installations-namespace-name-runs-run-id
      description: REST surface for v1-installations-namespace-name-runs-run_id.
      operations:
      - method: GET
        name: getinstallationrun
        description: Porter Get a specific run
        call: bundle-runs.getinstallationrun
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/installations/{namespace}/{name}/runs/{run-id}/outputs
      name: v1-installations-namespace-name-runs-run-id-outputs
      description: REST surface for v1-installations-namespace-name-runs-run_id-outputs.
      operations:
      - method: GET
        name: listrunoutputs
        description: Porter List outputs for a run
        call: bundle-runs.listrunoutputs
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bundle-runs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Porter Bundle API — Runs. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: porter-list-runs-installation
      description: Porter List runs for an installation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bundle-runs.listinstallationruns
      outputParameters:
      - type: object
        mapping: $.
    - name: porter-get-specific-run
      description: Porter Get a specific run
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bundle-runs.getinstallationrun
      outputParameters:
      - type: object
        mapping: $.
    - name: porter-list-outputs-run
      description: Porter List outputs for a run
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bundle-runs.listrunoutputs
      outputParameters:
      - type: object
        mapping: $.