naftiko: 1.0.0-alpha2 info: label: Gravitee.io - Access Management API — flow description: 'Gravitee.io - Access Management API — flow. 4 operations. Lead operation: List registered flows for a security domain. Self-contained Naftiko capability covering one Gravitee business surface.' tags: - Gravitee - flow created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GRAVITEE_API_KEY: GRAVITEE_API_KEY capability: consumes: - type: http namespace: am-flow baseUri: '' description: Gravitee.io - Access Management API — flow business capability. Self-contained, no shared references. resources: - name: organizations-organizationId-environments-environmentId-domains-domain-flows path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/flows operations: - name: listdomainflows method: GET description: List registered flows for a security domain outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organizationId in: path type: string required: true - name: environmentId in: path type: string required: true - name: domain in: path type: string required: true - name: definedomainflows method: PUT description: Create or update list of flows outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organizationId in: path type: string required: true - name: environmentId in: path type: string required: true - name: domain in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: organizations-organizationId-environments-environmentId-domains-domain-flows-flo path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/flows/{flow} operations: - name: getdomainflow method: GET description: Get a flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organizationId in: path type: string required: true - name: environmentId in: path type: string required: true - name: domain in: path type: string required: true - name: flow in: path type: string required: true - name: updatedomainflow method: PUT description: Update a flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organizationId in: path type: string required: true - name: environmentId in: path type: string required: true - name: domain in: path type: string required: true - name: flow in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.GRAVITEE_API_KEY}}' exposes: - type: rest namespace: am-flow-rest port: 8080 description: REST adapter for Gravitee.io - Access Management API — flow. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/flows name: organizations-organizationid-environments-environmentid-domains-domain-flows description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-flows. operations: - method: GET name: listdomainflows description: List registered flows for a security domain call: am-flow.listdomainflows with: organizationId: rest.organizationId environmentId: rest.environmentId domain: rest.domain outputParameters: - type: object mapping: $. - method: PUT name: definedomainflows description: Create or update list of flows call: am-flow.definedomainflows with: organizationId: rest.organizationId environmentId: rest.environmentId domain: rest.domain body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/flows/{flow} name: organizations-organizationid-environments-environmentid-domains-domain-flows-flo description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-flows-flo. operations: - method: GET name: getdomainflow description: Get a flow call: am-flow.getdomainflow with: organizationId: rest.organizationId environmentId: rest.environmentId domain: rest.domain flow: rest.flow outputParameters: - type: object mapping: $. - method: PUT name: updatedomainflow description: Update a flow call: am-flow.updatedomainflow with: organizationId: rest.organizationId environmentId: rest.environmentId domain: rest.domain flow: rest.flow body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: am-flow-mcp port: 9090 transport: http description: MCP adapter for Gravitee.io - Access Management API — flow. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-registered-flows-security-domain description: List registered flows for a security domain hints: readOnly: true destructive: false idempotent: true call: am-flow.listdomainflows with: organizationId: tools.organizationId environmentId: tools.environmentId domain: tools.domain outputParameters: - type: object mapping: $. - name: create-update-list-flows description: Create or update list of flows hints: readOnly: false destructive: false idempotent: true call: am-flow.definedomainflows with: organizationId: tools.organizationId environmentId: tools.environmentId domain: tools.domain body: tools.body outputParameters: - type: object mapping: $. - name: get-flow description: Get a flow hints: readOnly: true destructive: false idempotent: true call: am-flow.getdomainflow with: organizationId: tools.organizationId environmentId: tools.environmentId domain: tools.domain flow: tools.flow outputParameters: - type: object mapping: $. - name: update-flow description: Update a flow hints: readOnly: false destructive: false idempotent: true call: am-flow.updatedomainflow with: organizationId: tools.organizationId environmentId: tools.environmentId domain: tools.domain flow: tools.flow body: tools.body outputParameters: - type: object mapping: $.