naftiko: 1.0.0-alpha2 info: label: Humanitec API — WorkloadProfile description: 'Humanitec API — WorkloadProfile. 9 operations. Lead operation: Add new Workload Profile Chart Version. Self-contained Naftiko capability covering one Humanitec business surface.' tags: - Humanitec - WorkloadProfile created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HUMANITEC_API_KEY: HUMANITEC_API_KEY capability: consumes: - type: http namespace: humanitec-workloadprofile baseUri: https://api.humanitec.io description: Humanitec API — WorkloadProfile business capability. Self-contained, no shared references. resources: - name: orgs-orgId-workload-profile-chart-versions path: /orgs/{orgId}/workload-profile-chart-versions operations: - name: createworkloadprofilechartversion method: POST description: Add new Workload Profile Chart Version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listworkloadprofilechartversions method: GET description: Workload Profile Chart Versions for the given organization. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: query type: string description: Filter Chart Versions by Chart Version ID. - name: version in: query type: string description: Filter Chart Versions by Chart Version. - name: orgs-orgId-workload-profiles path: /orgs/{orgId}/workload-profiles operations: - name: listworkloadprofiles method: GET description: List workload profiles available to the organization. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createworkloadprofile method: POST description: Create new Workload Profile outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-orgId-workload-profiles-profileQid path: /orgs/{orgId}/workload-profiles/{profileQid} operations: - name: getworkloadprofile method: GET description: Get a Workload Profile outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateworkloadprofile method: PUT description: Update a Workload Profile outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteworkloadprofile method: DELETE description: Delete a Workload Profile outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-orgId-workload-profiles-profileQid-versions path: /orgs/{orgId}/workload-profiles/{profileQid}/versions operations: - name: listworkloadprofileversions method: GET description: List versions of the given workload profile. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-orgId-workload-profiles-profileQid-versions-latest path: /orgs/{orgId}/workload-profiles/{profileQid}/versions/latest operations: - name: getlatestworkloadprofileversion method: GET description: Latest version of the given workload profile with optional constraint. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: humanitec-workloadprofile-rest port: 8080 description: REST adapter for Humanitec API — WorkloadProfile. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{orgid}/workload-profile-chart-versions name: orgs-orgid-workload-profile-chart-versions description: REST surface for orgs-orgId-workload-profile-chart-versions. operations: - method: POST name: createworkloadprofilechartversion description: Add new Workload Profile Chart Version call: humanitec-workloadprofile.createworkloadprofilechartversion with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listworkloadprofilechartversions description: Workload Profile Chart Versions for the given organization. call: humanitec-workloadprofile.listworkloadprofilechartversions with: id: rest.id version: rest.version outputParameters: - type: object mapping: $. - path: /v1/orgs/{orgid}/workload-profiles name: orgs-orgid-workload-profiles description: REST surface for orgs-orgId-workload-profiles. operations: - method: GET name: listworkloadprofiles description: List workload profiles available to the organization. call: humanitec-workloadprofile.listworkloadprofiles outputParameters: - type: object mapping: $. - method: POST name: createworkloadprofile description: Create new Workload Profile call: humanitec-workloadprofile.createworkloadprofile with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{orgid}/workload-profiles/{profileqid} name: orgs-orgid-workload-profiles-profileqid description: REST surface for orgs-orgId-workload-profiles-profileQid. operations: - method: GET name: getworkloadprofile description: Get a Workload Profile call: humanitec-workloadprofile.getworkloadprofile outputParameters: - type: object mapping: $. - method: PUT name: updateworkloadprofile description: Update a Workload Profile call: humanitec-workloadprofile.updateworkloadprofile with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteworkloadprofile description: Delete a Workload Profile call: humanitec-workloadprofile.deleteworkloadprofile outputParameters: - type: object mapping: $. - path: /v1/orgs/{orgid}/workload-profiles/{profileqid}/versions name: orgs-orgid-workload-profiles-profileqid-versions description: REST surface for orgs-orgId-workload-profiles-profileQid-versions. operations: - method: GET name: listworkloadprofileversions description: List versions of the given workload profile. call: humanitec-workloadprofile.listworkloadprofileversions outputParameters: - type: object mapping: $. - path: /v1/orgs/{orgid}/workload-profiles/{profileqid}/versions/latest name: orgs-orgid-workload-profiles-profileqid-versions-latest description: REST surface for orgs-orgId-workload-profiles-profileQid-versions-latest. operations: - method: GET name: getlatestworkloadprofileversion description: Latest version of the given workload profile with optional constraint. call: humanitec-workloadprofile.getlatestworkloadprofileversion outputParameters: - type: object mapping: $. - type: mcp namespace: humanitec-workloadprofile-mcp port: 9090 transport: http description: MCP adapter for Humanitec API — WorkloadProfile. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: add-new-workload-profile-chart description: Add new Workload Profile Chart Version hints: readOnly: false destructive: false idempotent: false call: humanitec-workloadprofile.createworkloadprofilechartversion with: body: tools.body outputParameters: - type: object mapping: $. - name: workload-profile-chart-versions-given description: Workload Profile Chart Versions for the given organization. hints: readOnly: true destructive: false idempotent: true call: humanitec-workloadprofile.listworkloadprofilechartversions with: id: tools.id version: tools.version outputParameters: - type: object mapping: $. - name: list-workload-profiles-available-organization description: List workload profiles available to the organization. hints: readOnly: true destructive: false idempotent: true call: humanitec-workloadprofile.listworkloadprofiles outputParameters: - type: object mapping: $. - name: create-new-workload-profile description: Create new Workload Profile hints: readOnly: false destructive: false idempotent: false call: humanitec-workloadprofile.createworkloadprofile with: body: tools.body outputParameters: - type: object mapping: $. - name: get-workload-profile description: Get a Workload Profile hints: readOnly: true destructive: false idempotent: true call: humanitec-workloadprofile.getworkloadprofile outputParameters: - type: object mapping: $. - name: update-workload-profile description: Update a Workload Profile hints: readOnly: false destructive: false idempotent: true call: humanitec-workloadprofile.updateworkloadprofile with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-workload-profile description: Delete a Workload Profile hints: readOnly: false destructive: true idempotent: true call: humanitec-workloadprofile.deleteworkloadprofile outputParameters: - type: object mapping: $. - name: list-versions-given-workload-profile description: List versions of the given workload profile. hints: readOnly: true destructive: false idempotent: true call: humanitec-workloadprofile.listworkloadprofileversions outputParameters: - type: object mapping: $. - name: latest-version-given-workload-profile description: Latest version of the given workload profile with optional constraint. hints: readOnly: true destructive: false idempotent: true call: humanitec-workloadprofile.getlatestworkloadprofileversion outputParameters: - type: object mapping: $.