naftiko: 1.0.0-alpha2 info: label: Arcade Engine — Gateways description: 'Gateways surface — 7 operations. Lead operation: List Gateways. Self-contained Naftiko capability covering one Arcade business surface.' tags: - Arcade - Engine - Gateways created: '2026-05-22' modified: '2026-05-22' binds: - namespace: env keys: ARCADE_API_KEY: ARCADE_API_KEY capability: consumes: - type: http namespace: engine-gateways baseUri: https://api.arcade.dev description: Arcade Engine — Gateways business capability. Self-contained, no shared references. authentication: type: bearer token: '{{env.ARCADE_API_KEY}}' resources: - name: v1-orgs-org-id-projects-project-id-gateways path: /v1/orgs/{org_id}/projects/{project_id}/gateways operations: - name: project-gateways-list method: GET description: List Gateways outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string required: true description: Organization ID - name: project_id in: path type: string required: true description: Project ID - name: limit in: query type: integer required: false description: 'Number of items to return (default: 25, max: 100)' - name: offset in: query type: integer required: false description: 'Offset from the start of the list (default: 0)' - name: project-gateways-create method: POST description: Create a Gateway outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string required: true description: Organization ID - name: project_id in: path type: string required: true description: Project ID - name: body in: body type: object required: true description: Request body. - name: v1-orgs-org-id-projects-project-id-gateways-slug path: /v1/orgs/{org_id}/projects/{project_id}/gateways/slug operations: - name: project-gateways-slug-info method: POST description: Check Gateway Slug Availability outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string required: true description: Organization ID - name: project_id in: path type: string required: true description: Project ID - name: body in: body type: object required: true description: Request body. - name: v1-orgs-org-id-projects-project-id-gateways-gateway-id path: /v1/orgs/{org_id}/projects/{project_id}/gateways/{gateway_id} operations: - name: project-gateways-get method: GET description: Get a Gateway outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string required: true description: Organization ID - name: project_id in: path type: string required: true description: Project ID - name: gateway_id in: path type: string required: true description: Gateway ID - name: project-gateways-update method: PUT description: Update a Gateway outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string required: true description: Organization ID - name: project_id in: path type: string required: true description: Project ID - name: gateway_id in: path type: string required: true description: Gateway ID - name: body in: body type: object required: true description: Request body. - name: project-gateways-delete method: DELETE description: Delete a Gateway outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string required: true description: Organization ID - name: project_id in: path type: string required: true description: Project ID - name: gateway_id in: path type: string required: true description: Gateway ID - name: project-gateways-patch method: PATCH description: Patch a Gateway outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org_id in: path type: string required: true description: Organization ID - name: project_id in: path type: string required: true description: Project ID - name: gateway_id in: path type: string required: true description: Gateway ID - name: body in: body type: object required: true description: Request body. exposes: - type: rest namespace: engine-gateways-rest port: 8080 description: REST adapter for Arcade Engine — Gateways. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{org-id}/projects/{project-id}/gateways name: v1-orgs-org-id-projects-project-id-gateways description: REST surface for /v1/orgs/{org-id}/projects/{project-id}/gateways. operations: - method: GET name: project-gateways-list description: List Gateways call: engine-gateways.project-gateways-list with: org_id: rest.org_id project_id: rest.project_id limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: project-gateways-create description: Create a Gateway call: engine-gateways.project-gateways-create with: org_id: rest.org_id project_id: rest.project_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{org-id}/projects/{project-id}/gateways/slug name: v1-orgs-org-id-projects-project-id-gateways-slug description: REST surface for /v1/orgs/{org-id}/projects/{project-id}/gateways/slug. operations: - method: POST name: project-gateways-slug-info description: Check Gateway Slug Availability call: engine-gateways.project-gateways-slug-info with: org_id: rest.org_id project_id: rest.project_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{org-id}/projects/{project-id}/gateways/{gateway-id} name: v1-orgs-org-id-projects-project-id-gateways-gateway-id description: REST surface for /v1/orgs/{org-id}/projects/{project-id}/gateways/{gateway-id}. operations: - method: GET name: project-gateways-get description: Get a Gateway call: engine-gateways.project-gateways-get with: org_id: rest.org_id project_id: rest.project_id gateway_id: rest.gateway_id outputParameters: - type: object mapping: $. - method: PUT name: project-gateways-update description: Update a Gateway call: engine-gateways.project-gateways-update with: org_id: rest.org_id project_id: rest.project_id gateway_id: rest.gateway_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: project-gateways-delete description: Delete a Gateway call: engine-gateways.project-gateways-delete with: org_id: rest.org_id project_id: rest.project_id gateway_id: rest.gateway_id outputParameters: - type: object mapping: $. - method: PATCH name: project-gateways-patch description: Patch a Gateway call: engine-gateways.project-gateways-patch with: org_id: rest.org_id project_id: rest.project_id gateway_id: rest.gateway_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: engine-gateways-mcp port: 9090 transport: http description: MCP adapter for Arcade Engine — Gateways. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-gateways description: List Gateways hints: readOnly: true destructive: false idempotent: true call: engine-gateways.project-gateways-list with: org_id: tools.org_id project_id: tools.project_id limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: create-gateway description: Create a Gateway hints: readOnly: false destructive: false idempotent: false call: engine-gateways.project-gateways-create with: org_id: tools.org_id project_id: tools.project_id body: tools.body outputParameters: - type: object mapping: $. - name: check-gateway-slug-availability description: Check Gateway Slug Availability hints: readOnly: true destructive: false idempotent: false call: engine-gateways.project-gateways-slug-info with: org_id: tools.org_id project_id: tools.project_id body: tools.body outputParameters: - type: object mapping: $. - name: get-gateway description: Get a Gateway hints: readOnly: true destructive: false idempotent: true call: engine-gateways.project-gateways-get with: org_id: tools.org_id project_id: tools.project_id gateway_id: tools.gateway_id outputParameters: - type: object mapping: $. - name: update-gateway description: Update a Gateway hints: readOnly: false destructive: false idempotent: true call: engine-gateways.project-gateways-update with: org_id: tools.org_id project_id: tools.project_id gateway_id: tools.gateway_id body: tools.body outputParameters: - type: object mapping: $. - name: delete-gateway description: Delete a Gateway hints: readOnly: false destructive: true idempotent: true call: engine-gateways.project-gateways-delete with: org_id: tools.org_id project_id: tools.project_id gateway_id: tools.gateway_id outputParameters: - type: object mapping: $. - name: patch-gateway description: Patch a Gateway hints: readOnly: false destructive: false idempotent: true call: engine-gateways.project-gateways-patch with: org_id: tools.org_id project_id: tools.project_id gateway_id: tools.gateway_id body: tools.body outputParameters: - type: object mapping: $.