Choreo · Capability

Choreo API Management API — Deployments

Choreo API Management API — Deployments. 2 operations. Lead operation: Choreo List deployments. Self-contained Naftiko capability covering one Choreo business surface.

Run with Naftiko ChoreoDeployments

What You Can Do

GET
Listdeployments — Choreo List deployments
/v1/organizations/{orgid}/projects/{projectid}/components/{componentid}/deployments
POST
Createdeployment — Choreo Promote a build to an environment
/v1/organizations/{orgid}/projects/{projectid}/components/{componentid}/deployments

MCP Tools

choreo-list-deployments

Choreo List deployments

read-only idempotent
choreo-promote-build-environment

Choreo Promote a build to an environment

Capability Spec

api-management-deployments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Choreo API Management API — Deployments
  description: 'Choreo API Management API — Deployments. 2 operations. Lead operation: Choreo List deployments. Self-contained
    Naftiko capability covering one Choreo business surface.'
  tags:
  - Choreo
  - Deployments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CHOREO_API_KEY: CHOREO_API_KEY
capability:
  consumes:
  - type: http
    namespace: api-management-deployments
    baseUri: https://console.choreo.dev/api/v1
    description: Choreo API Management API — Deployments business capability. Self-contained, no shared references.
    resources:
    - name: organizations-orgId-projects-projectId-components-componentId-deployments
      path: /organizations/{orgId}/projects/{projectId}/components/{componentId}/deployments
      operations:
      - name: listdeployments
        method: GET
        description: Choreo List deployments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: projectId
          in: path
          type: string
          required: true
        - name: componentId
          in: path
          type: string
          required: true
      - name: createdeployment
        method: POST
        description: Choreo Promote a build to an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          required: true
        - name: projectId
          in: path
          type: string
          required: true
        - name: componentId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.CHOREO_API_KEY}}'
  exposes:
  - type: rest
    namespace: api-management-deployments-rest
    port: 8080
    description: REST adapter for Choreo API Management API — Deployments. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organizations/{orgid}/projects/{projectid}/components/{componentid}/deployments
      name: organizations-orgid-projects-projectid-components-componentid-deployments
      description: REST surface for organizations-orgId-projects-projectId-components-componentId-deployments.
      operations:
      - method: GET
        name: listdeployments
        description: Choreo List deployments
        call: api-management-deployments.listdeployments
        with:
          orgId: rest.orgId
          projectId: rest.projectId
          componentId: rest.componentId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdeployment
        description: Choreo Promote a build to an environment
        call: api-management-deployments.createdeployment
        with:
          orgId: rest.orgId
          projectId: rest.projectId
          componentId: rest.componentId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: api-management-deployments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Choreo API Management API — Deployments. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: choreo-list-deployments
      description: Choreo List deployments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-management-deployments.listdeployments
      with:
        orgId: tools.orgId
        projectId: tools.projectId
        componentId: tools.componentId
      outputParameters:
      - type: object
        mapping: $.
    - name: choreo-promote-build-environment
      description: Choreo Promote a build to an environment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: api-management-deployments.createdeployment
      with:
        orgId: tools.orgId
        projectId: tools.projectId
        componentId: tools.componentId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.