Qovery · Capability

Qovery API — Environment Variable

Qovery API — Environment Variable. 6 operations. Lead operation: List environment variables. Self-contained Naftiko capability covering one Qovery business surface.

Run with Naftiko QoveryEnvironment Variable

What You Can Do

GET
Listenvironmentenvironmentvariable — List environment variables
/v1/environment/{environmentid}/environmentvariable
POST
Createenvironmentenvironmentvariable — Add an environment variable to the environment
/v1/environment/{environmentid}/environmentvariable
DELETE
Deleteenvironmentenvironmentvariable — Delete an environment variable from an environment
/v1/environment/{environmentid}/environmentvariable/{environmentvariableid}
PUT
Editenvironmentenvironmentvariable — Edit an environment variable belonging to the environment
/v1/environment/{environmentid}/environmentvariable/{environmentvariableid}
POST
Createenvironmentenvironmentvariablealias — Create an environment variable alias at the environment level
/v1/environment/{environmentid}/environmentvariable/{environmentvariableid}/alias
POST
Createenvironmentenvironmentvariableoverride — Create an environment variable override at the environment level
/v1/environment/{environmentid}/environmentvariable/{environmentvariableid}/override

MCP Tools

list-environment-variables

List environment variables

read-only idempotent
add-environment-variable-environment

Add an environment variable to the environment

delete-environment-variable-environment

Delete an environment variable from an environment

idempotent
edit-environment-variable-belonging-environment

Edit an environment variable belonging to the environment

idempotent
create-environment-variable-alias-environment

Create an environment variable alias at the environment level

create-environment-variable-override-environment

Create an environment variable override at the environment level

Capability Spec

qovery-environment-variable.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Qovery API — Environment Variable
  description: 'Qovery API — Environment Variable. 6 operations. Lead operation: List environment variables. Self-contained
    Naftiko capability covering one Qovery business surface.'
  tags:
  - Qovery
  - Environment Variable
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    QOVERY_API_KEY: QOVERY_API_KEY
capability:
  consumes:
  - type: http
    namespace: qovery-environment-variable
    baseUri: https://api.qovery.com
    description: Qovery API — Environment Variable business capability. Self-contained, no shared references.
    resources:
    - name: environment-environmentId-environmentVariable
      path: /environment/{environmentId}/environmentVariable
      operations:
      - name: listenvironmentenvironmentvariable
        method: GET
        description: List environment variables
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createenvironmentenvironmentvariable
        method: POST
        description: Add an environment variable to the environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: environment-environmentId-environmentVariable-environmentVariableId
      path: /environment/{environmentId}/environmentVariable/{environmentVariableId}
      operations:
      - name: deleteenvironmentenvironmentvariable
        method: DELETE
        description: Delete an environment variable from an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: editenvironmentenvironmentvariable
        method: PUT
        description: Edit an environment variable belonging to the environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: environment-environmentId-environmentVariable-environmentVariableId-alias
      path: /environment/{environmentId}/environmentVariable/{environmentVariableId}/alias
      operations:
      - name: createenvironmentenvironmentvariablealias
        method: POST
        description: Create an environment variable alias at the environment level
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: environment-environmentId-environmentVariable-environmentVariableId-override
      path: /environment/{environmentId}/environmentVariable/{environmentVariableId}/override
      operations:
      - name: createenvironmentenvironmentvariableoverride
        method: POST
        description: Create an environment variable override at the environment level
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.QOVERY_API_KEY}}'
  exposes:
  - type: rest
    namespace: qovery-environment-variable-rest
    port: 8080
    description: REST adapter for Qovery API — Environment Variable. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/environment/{environmentid}/environmentvariable
      name: environment-environmentid-environmentvariable
      description: REST surface for environment-environmentId-environmentVariable.
      operations:
      - method: GET
        name: listenvironmentenvironmentvariable
        description: List environment variables
        call: qovery-environment-variable.listenvironmentenvironmentvariable
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createenvironmentenvironmentvariable
        description: Add an environment variable to the environment
        call: qovery-environment-variable.createenvironmentenvironmentvariable
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environment/{environmentid}/environmentvariable/{environmentvariableid}
      name: environment-environmentid-environmentvariable-environmentvariableid
      description: REST surface for environment-environmentId-environmentVariable-environmentVariableId.
      operations:
      - method: DELETE
        name: deleteenvironmentenvironmentvariable
        description: Delete an environment variable from an environment
        call: qovery-environment-variable.deleteenvironmentenvironmentvariable
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: editenvironmentenvironmentvariable
        description: Edit an environment variable belonging to the environment
        call: qovery-environment-variable.editenvironmentenvironmentvariable
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environment/{environmentid}/environmentvariable/{environmentvariableid}/alias
      name: environment-environmentid-environmentvariable-environmentvariableid-alias
      description: REST surface for environment-environmentId-environmentVariable-environmentVariableId-alias.
      operations:
      - method: POST
        name: createenvironmentenvironmentvariablealias
        description: Create an environment variable alias at the environment level
        call: qovery-environment-variable.createenvironmentenvironmentvariablealias
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environment/{environmentid}/environmentvariable/{environmentvariableid}/override
      name: environment-environmentid-environmentvariable-environmentvariableid-override
      description: REST surface for environment-environmentId-environmentVariable-environmentVariableId-override.
      operations:
      - method: POST
        name: createenvironmentenvironmentvariableoverride
        description: Create an environment variable override at the environment level
        call: qovery-environment-variable.createenvironmentenvironmentvariableoverride
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: qovery-environment-variable-mcp
    port: 9090
    transport: http
    description: MCP adapter for Qovery API — Environment Variable. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-environment-variables
      description: List environment variables
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-environment-variable.listenvironmentenvironmentvariable
      outputParameters:
      - type: object
        mapping: $.
    - name: add-environment-variable-environment
      description: Add an environment variable to the environment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: qovery-environment-variable.createenvironmentenvironmentvariable
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-environment-variable-environment
      description: Delete an environment variable from an environment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: qovery-environment-variable.deleteenvironmentenvironmentvariable
      outputParameters:
      - type: object
        mapping: $.
    - name: edit-environment-variable-belonging-environment
      description: Edit an environment variable belonging to the environment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: qovery-environment-variable.editenvironmentenvironmentvariable
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: create-environment-variable-alias-environment
      description: Create an environment variable alias at the environment level
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: qovery-environment-variable.createenvironmentenvironmentvariablealias
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: create-environment-variable-override-environment
      description: Create an environment variable override at the environment level
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: qovery-environment-variable.createenvironmentenvironmentvariableoverride
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.