naftiko: 1.0.0-alpha2 info: label: Postman Collection Runs API — Collection Runs description: 'Postman Collection Runs API — Collection Runs. 2 operations. Lead operation: Postman Get collection runs. Self-contained Naftiko capability covering one Postman business surface.' tags: - Postman - Collection Runs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: POSTMAN_API_KEY: POSTMAN_API_KEY capability: consumes: - type: http namespace: collection-runs-collection-runs baseUri: https://api.getpostman.com description: Postman Collection Runs API — Collection Runs business capability. Self-contained, no shared references. resources: - name: collections-collectionId-runs path: /collections/{collectionId}/runs operations: - name: getcollectionruns method: GET description: Postman Get collection runs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: cursor in: query type: string description: Pagination cursor for the next page of results. - name: limit in: query type: integer description: Maximum number of results to return. - name: status in: query type: string description: Filter by run status. - name: source in: query type: string description: Filter by run source. - name: collections-collectionId-runs-runId path: /collections/{collectionId}/runs/{runId} operations: - name: getcollectionrun method: GET description: Postman Get a collection run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: runId in: path type: string description: The run's unique ID. required: true authentication: type: apikey key: x-api-key value: '{{env.POSTMAN_API_KEY}}' placement: header exposes: - type: rest namespace: collection-runs-collection-runs-rest port: 8080 description: REST adapter for Postman Collection Runs API — Collection Runs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/collections/{collectionid}/runs name: collections-collectionid-runs description: REST surface for collections-collectionId-runs. operations: - method: GET name: getcollectionruns description: Postman Get collection runs call: collection-runs-collection-runs.getcollectionruns with: cursor: rest.cursor limit: rest.limit status: rest.status source: rest.source outputParameters: - type: object mapping: $. - path: /v1/collections/{collectionid}/runs/{runid} name: collections-collectionid-runs-runid description: REST surface for collections-collectionId-runs-runId. operations: - method: GET name: getcollectionrun description: Postman Get a collection run call: collection-runs-collection-runs.getcollectionrun with: runId: rest.runId outputParameters: - type: object mapping: $. - type: mcp namespace: collection-runs-collection-runs-mcp port: 9090 transport: http description: MCP adapter for Postman Collection Runs API — Collection Runs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: postman-get-collection-runs description: Postman Get collection runs hints: readOnly: true destructive: false idempotent: true call: collection-runs-collection-runs.getcollectionruns with: cursor: tools.cursor limit: tools.limit status: tools.status source: tools.source outputParameters: - type: object mapping: $. - name: postman-get-collection-run description: Postman Get a collection run hints: readOnly: true destructive: false idempotent: true call: collection-runs-collection-runs.getcollectionrun with: runId: tools.runId outputParameters: - type: object mapping: $.