naftiko: 1.0.0-alpha2 info: label: Render Public API — Environment Groups description: 'Render Public API — Environment Groups. 13 operations. Lead operation: List environment groups. Self-contained Naftiko capability covering one Render business surface.' tags: - Render - Environment Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RENDER_API_KEY: RENDER_API_KEY capability: consumes: - type: http namespace: render-environment-groups baseUri: https://api.render.com/v1 description: Render Public API — Environment Groups business capability. Self-contained, no shared references. resources: - name: env-groups path: /env-groups operations: - name: listenvgroups method: GET description: List environment groups outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createenvgroup method: POST description: Create environment group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: env-groups-envGroupId path: /env-groups/{envGroupId} operations: - name: retrieveenvgroup method: GET description: Retrieve environment group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateenvgroup method: PATCH description: Update environment group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: envGroupId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteenvgroup method: DELETE description: Delete environment group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: envGroupId in: path type: string required: true - name: env-groups-envGroupId-env-vars-envVarKey path: /env-groups/{envGroupId}/env-vars/{envVarKey} operations: - name: retrieveenvgroupenvvar method: GET description: Retrieve environment variable outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateenvgroupenvvar method: PUT description: Add or update environment variable outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteenvgroupenvvar method: DELETE description: Remove environment variable outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: envGroupId in: path type: string required: true - name: env-groups-envGroupId-secret-files-secretFileName path: /env-groups/{envGroupId}/secret-files/{secretFileName} operations: - name: retrieveenvgroupsecretfile method: GET description: Retrieve secret file outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateenvgroupsecretfile method: PUT description: Add or update secret file outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: envGroupId in: path type: string required: true - name: secretFileName in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteenvgroupsecretfile method: DELETE description: Remove secret file outputRawFormat: json outputParameters: - name: result type: object value: $. - name: env-groups-envGroupId-services-serviceId path: /env-groups/{envGroupId}/services/{serviceId} operations: - name: linkservicetoenvgroup method: POST description: Link service outputRawFormat: json outputParameters: - name: result type: object value: $. - name: unlinkservicefromenvgroup method: DELETE description: Unlink service outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: envGroupId in: path type: string required: true - name: serviceId in: path type: string required: true authentication: type: bearer token: '{{env.RENDER_API_KEY}}' exposes: - type: rest namespace: render-environment-groups-rest port: 8080 description: REST adapter for Render Public API — Environment Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/env-groups name: env-groups description: REST surface for env-groups. operations: - method: GET name: listenvgroups description: List environment groups call: render-environment-groups.listenvgroups outputParameters: - type: object mapping: $. - method: POST name: createenvgroup description: Create environment group call: render-environment-groups.createenvgroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/env-groups/{envgroupid} name: env-groups-envgroupid description: REST surface for env-groups-envGroupId. operations: - method: GET name: retrieveenvgroup description: Retrieve environment group call: render-environment-groups.retrieveenvgroup outputParameters: - type: object mapping: $. - method: PATCH name: updateenvgroup description: Update environment group call: render-environment-groups.updateenvgroup with: envGroupId: rest.envGroupId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteenvgroup description: Delete environment group call: render-environment-groups.deleteenvgroup with: envGroupId: rest.envGroupId outputParameters: - type: object mapping: $. - path: /v1/env-groups/{envgroupid}/env-vars/{envvarkey} name: env-groups-envgroupid-env-vars-envvarkey description: REST surface for env-groups-envGroupId-env-vars-envVarKey. operations: - method: GET name: retrieveenvgroupenvvar description: Retrieve environment variable call: render-environment-groups.retrieveenvgroupenvvar outputParameters: - type: object mapping: $. - method: PUT name: updateenvgroupenvvar description: Add or update environment variable call: render-environment-groups.updateenvgroupenvvar with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteenvgroupenvvar description: Remove environment variable call: render-environment-groups.deleteenvgroupenvvar with: envGroupId: rest.envGroupId outputParameters: - type: object mapping: $. - path: /v1/env-groups/{envgroupid}/secret-files/{secretfilename} name: env-groups-envgroupid-secret-files-secretfilename description: REST surface for env-groups-envGroupId-secret-files-secretFileName. operations: - method: GET name: retrieveenvgroupsecretfile description: Retrieve secret file call: render-environment-groups.retrieveenvgroupsecretfile outputParameters: - type: object mapping: $. - method: PUT name: updateenvgroupsecretfile description: Add or update secret file call: render-environment-groups.updateenvgroupsecretfile with: envGroupId: rest.envGroupId secretFileName: rest.secretFileName body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteenvgroupsecretfile description: Remove secret file call: render-environment-groups.deleteenvgroupsecretfile outputParameters: - type: object mapping: $. - path: /v1/env-groups/{envgroupid}/services/{serviceid} name: env-groups-envgroupid-services-serviceid description: REST surface for env-groups-envGroupId-services-serviceId. operations: - method: POST name: linkservicetoenvgroup description: Link service call: render-environment-groups.linkservicetoenvgroup outputParameters: - type: object mapping: $. - method: DELETE name: unlinkservicefromenvgroup description: Unlink service call: render-environment-groups.unlinkservicefromenvgroup with: envGroupId: rest.envGroupId serviceId: rest.serviceId outputParameters: - type: object mapping: $. - type: mcp namespace: render-environment-groups-mcp port: 9090 transport: http description: MCP adapter for Render Public API — Environment Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-environment-groups description: List environment groups hints: readOnly: true destructive: false idempotent: true call: render-environment-groups.listenvgroups outputParameters: - type: object mapping: $. - name: create-environment-group description: Create environment group hints: readOnly: false destructive: false idempotent: false call: render-environment-groups.createenvgroup with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-environment-group description: Retrieve environment group hints: readOnly: true destructive: false idempotent: true call: render-environment-groups.retrieveenvgroup outputParameters: - type: object mapping: $. - name: update-environment-group description: Update environment group hints: readOnly: false destructive: false idempotent: true call: render-environment-groups.updateenvgroup with: envGroupId: tools.envGroupId body: tools.body outputParameters: - type: object mapping: $. - name: delete-environment-group description: Delete environment group hints: readOnly: false destructive: true idempotent: true call: render-environment-groups.deleteenvgroup with: envGroupId: tools.envGroupId outputParameters: - type: object mapping: $. - name: retrieve-environment-variable description: Retrieve environment variable hints: readOnly: true destructive: false idempotent: true call: render-environment-groups.retrieveenvgroupenvvar outputParameters: - type: object mapping: $. - name: add-update-environment-variable description: Add or update environment variable hints: readOnly: false destructive: false idempotent: true call: render-environment-groups.updateenvgroupenvvar with: body: tools.body outputParameters: - type: object mapping: $. - name: remove-environment-variable description: Remove environment variable hints: readOnly: false destructive: true idempotent: true call: render-environment-groups.deleteenvgroupenvvar with: envGroupId: tools.envGroupId outputParameters: - type: object mapping: $. - name: retrieve-secret-file description: Retrieve secret file hints: readOnly: true destructive: false idempotent: true call: render-environment-groups.retrieveenvgroupsecretfile outputParameters: - type: object mapping: $. - name: add-update-secret-file description: Add or update secret file hints: readOnly: false destructive: false idempotent: true call: render-environment-groups.updateenvgroupsecretfile with: envGroupId: tools.envGroupId secretFileName: tools.secretFileName body: tools.body outputParameters: - type: object mapping: $. - name: remove-secret-file description: Remove secret file hints: readOnly: false destructive: true idempotent: true call: render-environment-groups.deleteenvgroupsecretfile outputParameters: - type: object mapping: $. - name: link-service description: Link service hints: readOnly: false destructive: false idempotent: false call: render-environment-groups.linkservicetoenvgroup outputParameters: - type: object mapping: $. - name: unlink-service description: Unlink service hints: readOnly: false destructive: true idempotent: true call: render-environment-groups.unlinkservicefromenvgroup with: envGroupId: tools.envGroupId serviceId: tools.serviceId outputParameters: - type: object mapping: $.