Humanitec · Capability

Humanitec API — Value

Humanitec API — Value. 12 operations. Lead operation: List Shared Values in an Environment. Self-contained Naftiko capability covering one Humanitec business surface.

Run with Naftiko HumanitecValue

What You Can Do

GET
Get — List Shared Values in an Environment
/v1/orgs/{orgid}/apps/{appid}/envs/{envid}/values
POST
Post — Create a Shared Value for an Environment
/v1/orgs/{orgid}/apps/{appid}/envs/{envid}/values
DELETE
Delete — Delete all Shared Value for an Environment
/v1/orgs/{orgid}/apps/{appid}/envs/{envid}/values
PUT
Put — Update Shared Value for an Environment
/v1/orgs/{orgid}/apps/{appid}/envs/{envid}/values/{key}
DELETE
Delete — Delete Shared Value for an Environment
/v1/orgs/{orgid}/apps/{appid}/envs/{envid}/values/{key}
PATCH
Patch — Update Shared Value for an Environment
/v1/orgs/{orgid}/apps/{appid}/envs/{envid}/values/{key}
GET
Get — List Shared Values in an Application
/v1/orgs/{orgid}/apps/{appid}/values
POST
Post — Create a Shared Value for an Application
/v1/orgs/{orgid}/apps/{appid}/values
DELETE
Delete — Delete all Shared Value for an App
/v1/orgs/{orgid}/apps/{appid}/values
PUT
Put — Update Shared Value for an Application
/v1/orgs/{orgid}/apps/{appid}/values/{key}
DELETE
Delete — Delete Shared Value for an Application
/v1/orgs/{orgid}/apps/{appid}/values/{key}
PATCH
Patch — Update Shared Value for an Application
/v1/orgs/{orgid}/apps/{appid}/values/{key}

MCP Tools

list-shared-values-environment

List Shared Values in an Environment

read-only idempotent
create-shared-value-environment

Create a Shared Value for an Environment

delete-all-shared-value-environment

Delete all Shared Value for an Environment

idempotent
update-shared-value-environment

Update Shared Value for an Environment

idempotent
delete-shared-value-environment

Delete Shared Value for an Environment

idempotent
update-shared-value-environment-2

Update Shared Value for an Environment

idempotent
list-shared-values-application

List Shared Values in an Application

read-only idempotent
create-shared-value-application

Create a Shared Value for an Application

delete-all-shared-value-app

Delete all Shared Value for an App

idempotent
update-shared-value-application

Update Shared Value for an Application

idempotent
delete-shared-value-application

Delete Shared Value for an Application

idempotent
update-shared-value-application-2

Update Shared Value for an Application

idempotent

Capability Spec

humanitec-value.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Humanitec API — Value
  description: 'Humanitec API — Value. 12 operations. Lead operation: List Shared Values in an Environment. Self-contained
    Naftiko capability covering one Humanitec business surface.'
  tags:
  - Humanitec
  - Value
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HUMANITEC_API_KEY: HUMANITEC_API_KEY
capability:
  consumes:
  - type: http
    namespace: humanitec-value
    baseUri: https://api.humanitec.io
    description: Humanitec API — Value business capability. Self-contained, no shared references.
    resources:
    - name: orgs-orgId-apps-appId-envs-envId-values
      path: /orgs/{orgId}/apps/{appId}/envs/{envId}/values
      operations:
      - name: get
        method: GET
        description: List Shared Values in an Environment
        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: post
        method: POST
        description: Create a Shared Value for an Environment
        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: delete
        method: DELETE
        description: Delete all Shared Value for an Environment
        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: orgs-orgId-apps-appId-envs-envId-values-key
      path: /orgs/{orgId}/apps/{appId}/envs/{envId}/values/{key}
      operations:
      - name: put
        method: PUT
        description: Update Shared Value for an Environment
        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: key
          in: path
          type: string
          description: The key to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: delete
        method: DELETE
        description: Delete Shared Value for an Environment
        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: key
          in: path
          type: string
          description: The key to update.
          required: true
      - name: patch
        method: PATCH
        description: Update Shared Value for an Environment
        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: key
          in: path
          type: string
          description: The key to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-orgId-apps-appId-values
      path: /orgs/{orgId}/apps/{appId}/values
      operations:
      - name: get
        method: GET
        description: List Shared Values in an Application
        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: post
        method: POST
        description: Create a Shared Value for an Application
        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: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: delete
        method: DELETE
        description: Delete all Shared Value for an App
        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: orgs-orgId-apps-appId-values-key
      path: /orgs/{orgId}/apps/{appId}/values/{key}
      operations:
      - name: put
        method: PUT
        description: Update Shared Value for an Application
        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: key
          in: path
          type: string
          description: The key to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: delete
        method: DELETE
        description: Delete Shared Value for an Application
        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: key
          in: path
          type: string
          description: The key to update.
          required: true
      - name: patch
        method: PATCH
        description: Update Shared Value for an Application
        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: key
          in: path
          type: string
          description: The key to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: humanitec-value-rest
    port: 8080
    description: REST adapter for Humanitec API — Value. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/orgs/{orgid}/apps/{appid}/envs/{envid}/values
      name: orgs-orgid-apps-appid-envs-envid-values
      description: REST surface for orgs-orgId-apps-appId-envs-envId-values.
      operations:
      - method: GET
        name: get
        description: List Shared Values in an Environment
        call: humanitec-value.get
        with:
          orgId: rest.orgId
          appId: rest.appId
          envId: rest.envId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Create a Shared Value for an Environment
        call: humanitec-value.post
        with:
          orgId: rest.orgId
          appId: rest.appId
          envId: rest.envId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Delete all Shared Value for an Environment
        call: humanitec-value.delete
        with:
          orgId: rest.orgId
          appId: rest.appId
          envId: rest.envId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{orgid}/apps/{appid}/envs/{envid}/values/{key}
      name: orgs-orgid-apps-appid-envs-envid-values-key
      description: REST surface for orgs-orgId-apps-appId-envs-envId-values-key.
      operations:
      - method: PUT
        name: put
        description: Update Shared Value for an Environment
        call: humanitec-value.put
        with:
          orgId: rest.orgId
          appId: rest.appId
          envId: rest.envId
          key: rest.key
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Delete Shared Value for an Environment
        call: humanitec-value.delete
        with:
          orgId: rest.orgId
          appId: rest.appId
          envId: rest.envId
          key: rest.key
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Update Shared Value for an Environment
        call: humanitec-value.patch
        with:
          orgId: rest.orgId
          appId: rest.appId
          envId: rest.envId
          key: rest.key
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{orgid}/apps/{appid}/values
      name: orgs-orgid-apps-appid-values
      description: REST surface for orgs-orgId-apps-appId-values.
      operations:
      - method: GET
        name: get
        description: List Shared Values in an Application
        call: humanitec-value.get
        with:
          orgId: rest.orgId
          appId: rest.appId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Create a Shared Value for an Application
        call: humanitec-value.post
        with:
          orgId: rest.orgId
          appId: rest.appId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Delete all Shared Value for an App
        call: humanitec-value.delete
        with:
          orgId: rest.orgId
          appId: rest.appId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{orgid}/apps/{appid}/values/{key}
      name: orgs-orgid-apps-appid-values-key
      description: REST surface for orgs-orgId-apps-appId-values-key.
      operations:
      - method: PUT
        name: put
        description: Update Shared Value for an Application
        call: humanitec-value.put
        with:
          orgId: rest.orgId
          appId: rest.appId
          key: rest.key
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Delete Shared Value for an Application
        call: humanitec-value.delete
        with:
          orgId: rest.orgId
          appId: rest.appId
          key: rest.key
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Update Shared Value for an Application
        call: humanitec-value.patch
        with:
          orgId: rest.orgId
          appId: rest.appId
          key: rest.key
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: humanitec-value-mcp
    port: 9090
    transport: http
    description: MCP adapter for Humanitec API — Value. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-shared-values-environment
      description: List Shared Values in an Environment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: humanitec-value.get
      with:
        orgId: tools.orgId
        appId: tools.appId
        envId: tools.envId
      outputParameters:
      - type: object
        mapping: $.
    - name: create-shared-value-environment
      description: Create a Shared Value for an Environment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: humanitec-value.post
      with:
        orgId: tools.orgId
        appId: tools.appId
        envId: tools.envId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-all-shared-value-environment
      description: Delete all Shared Value for an Environment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: humanitec-value.delete
      with:
        orgId: tools.orgId
        appId: tools.appId
        envId: tools.envId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-shared-value-environment
      description: Update Shared Value for an Environment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: humanitec-value.put
      with:
        orgId: tools.orgId
        appId: tools.appId
        envId: tools.envId
        key: tools.key
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-shared-value-environment
      description: Delete Shared Value for an Environment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: humanitec-value.delete
      with:
        orgId: tools.orgId
        appId: tools.appId
        envId: tools.envId
        key: tools.key
      outputParameters:
      - type: object
        mapping: $.
    - name: update-shared-value-environment-2
      description: Update Shared Value for an Environment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: humanitec-value.patch
      with:
        orgId: tools.orgId
        appId: tools.appId
        envId: tools.envId
        key: tools.key
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-shared-values-application
      description: List Shared Values in an Application
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: humanitec-value.get
      with:
        orgId: tools.orgId
        appId: tools.appId
      outputParameters:
      - type: object
        mapping: $.
    - name: create-shared-value-application
      description: Create a Shared Value for an Application
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: humanitec-value.post
      with:
        orgId: tools.orgId
        appId: tools.appId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-all-shared-value-app
      description: Delete all Shared Value for an App
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: humanitec-value.delete
      with:
        orgId: tools.orgId
        appId: tools.appId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-shared-value-application
      description: Update Shared Value for an Application
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: humanitec-value.put
      with:
        orgId: tools.orgId
        appId: tools.appId
        key: tools.key
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-shared-value-application
      description: Delete Shared Value for an Application
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: humanitec-value.delete
      with:
        orgId: tools.orgId
        appId: tools.appId
        key: tools.key
      outputParameters:
      - type: object
        mapping: $.
    - name: update-shared-value-application-2
      description: Update Shared Value for an Application
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: humanitec-value.patch
      with:
        orgId: tools.orgId
        appId: tools.appId
        key: tools.key
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.