Dokploy · Capability

Dokploy API — environment

Dokploy API — environment. 7 operations. Lead operation: environment.create. Self-contained Naftiko capability covering one Dokploy business surface.

Dokploy API — environment is a Naftiko capability published by Dokploy, one of 48 capabilities the APIs.io network indexes for this provider. It bundles 7 operations across the POST and GET methods.

The capability includes 3 read-only operations and 4 state-changing operations. Lead operation: environment-create. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Dokploy and environment.

Run with Naftiko Dokployenvironment

What You Can Do

POST
Environment create — environment-create
/v1/environment.create
GET
Environment one — environment-one
/v1/environment.one
GET
Environment byprojectid — environment-byProjectId
/v1/environment.byProjectId
POST
Environment remove — environment-remove
/v1/environment.remove
POST
Environment update — environment-update
/v1/environment.update
POST
Environment duplicate — environment-duplicate
/v1/environment.duplicate
GET
Environment search — environment-search
/v1/environment.search

MCP Tools

environment-create

environment-create

environment-one

environment-one

read-only idempotent
environment-byProjectId

environment-byProjectId

read-only idempotent
environment-remove

environment-remove

environment-update

environment-update

environment-duplicate

environment-duplicate

environment-search

environment-search

read-only idempotent

Capability Spec

dokploy-environment.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Dokploy API — environment
  description: 'Dokploy API — environment. 7 operations. Lead operation: environment.create. Self-contained Naftiko capability covering one Dokploy
    business surface.'
  tags:
  - Dokploy
  - environment
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    DOKPLOY_API_KEY: DOKPLOY_API_KEY
    DOKPLOY_URL: DOKPLOY_URL
capability:
  consumes:
  - type: http
    namespace: dokploy-environment
    baseUri: ${DOKPLOY_URL}/api
    description: Dokploy API — environment business capability. Self-contained, no shared references.
    resources:
    - name: create
      path: /environment.create
      operations:
      - name: environment-create
        method: POST
        description: environment-create
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body
          required: true
    - name: one
      path: /environment.one
      operations:
      - name: environment-one
        method: GET
        description: environment-one
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: byProjectId
      path: /environment.byProjectId
      operations:
      - name: environment-byProjectId
        method: GET
        description: environment-byProjectId
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: remove
      path: /environment.remove
      operations:
      - name: environment-remove
        method: POST
        description: environment-remove
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body
          required: true
    - name: update
      path: /environment.update
      operations:
      - name: environment-update
        method: POST
        description: environment-update
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body
          required: true
    - name: duplicate
      path: /environment.duplicate
      operations:
      - name: environment-duplicate
        method: POST
        description: environment-duplicate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body
          required: true
    - name: search
      path: /environment.search
      operations:
      - name: environment-search
        method: GET
        description: environment-search
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: dokploy-environment-rest
    port: 8080
    description: REST adapter for Dokploy API — environment. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/environment.create
      name: create
      description: REST surface for create.
      operations:
      - method: POST
        name: environment-create
        description: environment-create
        call: dokploy-environment.environment-create
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environment.one
      name: one
      description: REST surface for one.
      operations:
      - method: GET
        name: environment-one
        description: environment-one
        call: dokploy-environment.environment-one
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environment.byProjectId
      name: byProjectId
      description: REST surface for byProjectId.
      operations:
      - method: GET
        name: environment-byProjectId
        description: environment-byProjectId
        call: dokploy-environment.environment-byProjectId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environment.remove
      name: remove
      description: REST surface for remove.
      operations:
      - method: POST
        name: environment-remove
        description: environment-remove
        call: dokploy-environment.environment-remove
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environment.update
      name: update
      description: REST surface for update.
      operations:
      - method: POST
        name: environment-update
        description: environment-update
        call: dokploy-environment.environment-update
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environment.duplicate
      name: duplicate
      description: REST surface for duplicate.
      operations:
      - method: POST
        name: environment-duplicate
        description: environment-duplicate
        call: dokploy-environment.environment-duplicate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environment.search
      name: search
      description: REST surface for search.
      operations:
      - method: GET
        name: environment-search
        description: environment-search
        call: dokploy-environment.environment-search
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: dokploy-environment-mcp
    port: 9090
    transport: http
    description: MCP adapter for Dokploy API — environment. One tool per consumed operation, routed inline through this capability’s consumes
      block.
    tools:
    - name: environment-create
      description: environment-create
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dokploy-environment.environment-create
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: environment-one
      description: environment-one
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dokploy-environment.environment-one
      outputParameters:
      - type: object
        mapping: $.
    - name: environment-byProjectId
      description: environment-byProjectId
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dokploy-environment.environment-byProjectId
      outputParameters:
      - type: object
        mapping: $.
    - name: environment-remove
      description: environment-remove
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dokploy-environment.environment-remove
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: environment-update
      description: environment-update
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dokploy-environment.environment-update
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: environment-duplicate
      description: environment-duplicate
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dokploy-environment.environment-duplicate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: environment-search
      description: environment-search
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dokploy-environment.environment-search
      outputParameters:
      - type: object
        mapping: $.