naftiko: 1.0.0-alpha2 info: label: Humanitec API — ResourceProvision description: 'Humanitec API — ResourceProvision. 3 operations. Lead operation: Lists the resource objects that hold the information needed to provision the resources specified in the request and the resources they depend on.. Self-contained Naftiko capability covering one Humanitec business surface.' tags: - Humanitec - ResourceProvision created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HUMANITEC_API_KEY: HUMANITEC_API_KEY capability: consumes: - type: http namespace: humanitec-resourceprovision baseUri: https://api.humanitec.io description: Humanitec API — ResourceProvision business capability. Self-contained, no shared references. resources: - name: orgs-orgId-apps-appId-envs-envId-resources-graph path: /orgs/{orgId}/apps/{appId}/envs/{envId}/resources/graph operations: - name: queryresourcegraph method: POST description: Lists the resource objects that hold the information needed to provision the resources specified in the request and the resources they depend on. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: The Organization ID. required: true - name: appId in: path type: string description: The Application ID. required: true - name: envId in: path type: string description: The Environment ID. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-orgId-apps-appId-envs-envId-resources-graphs path: /orgs/{orgId}/apps/{appId}/envs/{envId}/resources/graphs operations: - name: createdependencygraph method: POST description: Create a Dependency Graph which is composed by the resource objects that hold the information needed to provision the resources specified in the request and the resources they depend on. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-orgId-apps-appId-envs-envId-resources-graphs-graphId path: /orgs/{orgId}/apps/{appId}/envs/{envId}/resources/graphs/{graphId} operations: - name: getdependencygraph method: GET description: Retrieve a Dependency Graph by its ID. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: humanitec-resourceprovision-rest port: 8080 description: REST adapter for Humanitec API — ResourceProvision. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{orgid}/apps/{appid}/envs/{envid}/resources/graph name: orgs-orgid-apps-appid-envs-envid-resources-graph description: REST surface for orgs-orgId-apps-appId-envs-envId-resources-graph. operations: - method: POST name: queryresourcegraph description: Lists the resource objects that hold the information needed to provision the resources specified in the request and the resources they depend on. call: humanitec-resourceprovision.queryresourcegraph with: orgId: rest.orgId appId: rest.appId envId: rest.envId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{orgid}/apps/{appid}/envs/{envid}/resources/graphs name: orgs-orgid-apps-appid-envs-envid-resources-graphs description: REST surface for orgs-orgId-apps-appId-envs-envId-resources-graphs. operations: - method: POST name: createdependencygraph description: Create a Dependency Graph which is composed by the resource objects that hold the information needed to provision the resources specified in the request and the resources they depend on. call: humanitec-resourceprovision.createdependencygraph with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{orgid}/apps/{appid}/envs/{envid}/resources/graphs/{graphid} name: orgs-orgid-apps-appid-envs-envid-resources-graphs-graphid description: REST surface for orgs-orgId-apps-appId-envs-envId-resources-graphs-graphId. operations: - method: GET name: getdependencygraph description: Retrieve a Dependency Graph by its ID. call: humanitec-resourceprovision.getdependencygraph outputParameters: - type: object mapping: $. - type: mcp namespace: humanitec-resourceprovision-mcp port: 9090 transport: http description: MCP adapter for Humanitec API — ResourceProvision. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: lists-resource-objects-that-hold description: Lists the resource objects that hold the information needed to provision the resources specified in the request and the resources they depend on. hints: readOnly: false destructive: false idempotent: false call: humanitec-resourceprovision.queryresourcegraph with: orgId: tools.orgId appId: tools.appId envId: tools.envId body: tools.body outputParameters: - type: object mapping: $. - name: create-dependency-graph-which-is description: Create a Dependency Graph which is composed by the resource objects that hold the information needed to provision the resources specified in the request and the resources they depend on. hints: readOnly: false destructive: false idempotent: false call: humanitec-resourceprovision.createdependencygraph with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-dependency-graph-its-id description: Retrieve a Dependency Graph by its ID. hints: readOnly: true destructive: false idempotent: true call: humanitec-resourceprovision.getdependencygraph outputParameters: - type: object mapping: $.