LangGraph · Capability

LangSmith Deployment Control Plane API — Deployments (v2)

LangSmith Deployment Control Plane API — Deployments (v2). 9 operations. Lead operation: List Deployments. Self-contained Naftiko capability covering one Langgraph business surface.

Run with Naftiko LanggraphDeployments (v2)

What You Can Do

GET
Listdeploymentsv2deploymentsget — List Deployments
/v1/v2/deployments
POST
Createdeploymentv2deploymentspost — Create Deployment
/v1/v2/deployments
DELETE
Deletedeploymentsv2deploymentsdelete — Delete Deployments
/v1/v2/deployments
GET
Getdeploymentv2deploymentsdeploymentidget — Get Deployment
/v1/v2/deployments/{deployment-id}
PATCH
Patchdeploymentv2deploymentsdeploymentidpatch — Patch Deployment
/v1/v2/deployments/{deployment-id}
DELETE
Deletedeploymentv2deploymentsdeploymentiddelete — Delete Deployment
/v1/v2/deployments/{deployment-id}
GET
Listrevisionsv2deploymentsdeploymentidrevisionsget — List Revisions
/v1/v2/deployments/{deployment-id}/revisions
GET
Getrevisionv2deploymentsdeploymentidrevisionsrevisionidget — Get Revision
/v1/v2/deployments/{deployment-id}/revisions/{revision-id}
POST
Redeployrevisionv2deploymentsdeploymentidrevisionsrevisionidredeploypost — Redeploy Revision
/v1/v2/deployments/{deployment-id}/revisions/{revision-id}/redeploy

MCP Tools

list-deployments

List Deployments

read-only idempotent
create-deployment

Create Deployment

delete-deployments

Delete Deployments

idempotent
get-deployment

Get Deployment

read-only idempotent
patch-deployment

Patch Deployment

idempotent
delete-deployment

Delete Deployment

idempotent
list-revisions

List Revisions

read-only idempotent
get-revision

Get Revision

read-only idempotent
redeploy-revision

Redeploy Revision

Capability Spec

langgraph-deployments-v2.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LangSmith Deployment Control Plane API — Deployments (v2)
  description: 'LangSmith Deployment Control Plane API — Deployments (v2). 9 operations. Lead operation: List Deployments.
    Self-contained Naftiko capability covering one Langgraph business surface.'
  tags:
  - Langgraph
  - Deployments (v2)
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LANGGRAPH_API_KEY: LANGGRAPH_API_KEY
capability:
  consumes:
  - type: http
    namespace: langgraph-deployments-v2
    baseUri: ''
    description: LangSmith Deployment Control Plane API — Deployments (v2) business capability. Self-contained, no shared
      references.
    resources:
    - name: v2-deployments
      path: /v2/deployments
      operations:
      - name: listdeploymentsv2deploymentsget
        method: GET
        description: List Deployments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of resources to return.
        - name: offset
          in: query
          type: integer
          description: Pagination offset. Pass this value to subsequent requests to fetch the next page of resources.
        - name: name_contains
          in: query
          type: string
          description: Name of the deployment to filter by.
        - name: status
          in: query
          type: string
          description: '`status` of the deployment to filter by.'
        - name: remote_reconciled
          in: query
          type: string
          description: Flag to filter by remote reconciled deployments.
        - name: tag_value_ids
          in: query
          type: string
          description: Comma separated list of tag value IDs of the deployment to filter by.
        - name: image_version
          in: query
          type: string
          description: Image version to filter by.
        - name: deployment_type
          in: query
          type: string
          description: Deployment type to filter by.
        - name: deployment_ids
          in: query
          type: string
          description: Comma separated list of deployment IDs to filter by.
      - name: createdeploymentv2deploymentspost
        method: POST
        description: Create Deployment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletedeploymentsv2deploymentsdelete
        method: DELETE
        description: Delete Deployments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: deployment_ids
          in: query
          type: array
          required: true
    - name: v2-deployments-deployment_id
      path: /v2/deployments/{deployment_id}
      operations:
      - name: getdeploymentv2deploymentsdeploymentidget
        method: GET
        description: Get Deployment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: deployment_id
          in: path
          type: string
          required: true
      - name: patchdeploymentv2deploymentsdeploymentidpatch
        method: PATCH
        description: Patch Deployment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: deployment_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletedeploymentv2deploymentsdeploymentiddelete
        method: DELETE
        description: Delete Deployment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: deployment_id
          in: path
          type: string
          required: true
        - name: delete_tracing_project
          in: query
          type: boolean
          description: Optionally delete tracing project for the deployment.
    - name: v2-deployments-deployment_id-revisions
      path: /v2/deployments/{deployment_id}/revisions
      operations:
      - name: listrevisionsv2deploymentsdeploymentidrevisionsget
        method: GET
        description: List Revisions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: deployment_id
          in: path
          type: string
          required: true
        - name: limit
          in: query
          type: integer
          description: Maximum number of resources to return.
        - name: offset
          in: query
          type: integer
          description: Pagination offset. Pass this value to subsequent requests to fetch the next page of resources.
        - name: status
          in: query
          type: string
          description: Comma separated list of revision `status` (CREATING, QUEUED, AWAITING_BUILD, BUILDING, AWAITING_DEPLOY,
            DEPLOYING, CREATE_FAILED, BUILD_FAILED, DEPLOY_FAILED, D
        - name: remote_reconciled
          in: query
          type: string
          description: Flag to filter by remote reconciled revisions.
    - name: v2-deployments-deployment_id-revisions-revision_id
      path: /v2/deployments/{deployment_id}/revisions/{revision_id}
      operations:
      - name: getrevisionv2deploymentsdeploymentidrevisionsrevisionidget
        method: GET
        description: Get Revision
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: deployment_id
          in: path
          type: string
          required: true
        - name: revision_id
          in: path
          type: string
          required: true
    - name: v2-deployments-deployment_id-revisions-revision_id-redeploy
      path: /v2/deployments/{deployment_id}/revisions/{revision_id}/redeploy
      operations:
      - name: redeployrevisionv2deploymentsdeploymentidrevisionsrevisionidredeploypost
        method: POST
        description: Redeploy Revision
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: deployment_id
          in: path
          type: string
          required: true
        - name: revision_id
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: X-Api-Key
      value: '{{env.LANGGRAPH_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: langgraph-deployments-v2-rest
    port: 8080
    description: REST adapter for LangSmith Deployment Control Plane API — Deployments (v2). One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/v2/deployments
      name: v2-deployments
      description: REST surface for v2-deployments.
      operations:
      - method: GET
        name: listdeploymentsv2deploymentsget
        description: List Deployments
        call: langgraph-deployments-v2.listdeploymentsv2deploymentsget
        with:
          limit: rest.limit
          offset: rest.offset
          name_contains: rest.name_contains
          status: rest.status
          remote_reconciled: rest.remote_reconciled
          tag_value_ids: rest.tag_value_ids
          image_version: rest.image_version
          deployment_type: rest.deployment_type
          deployment_ids: rest.deployment_ids
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdeploymentv2deploymentspost
        description: Create Deployment
        call: langgraph-deployments-v2.createdeploymentv2deploymentspost
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletedeploymentsv2deploymentsdelete
        description: Delete Deployments
        call: langgraph-deployments-v2.deletedeploymentsv2deploymentsdelete
        with:
          deployment_ids: rest.deployment_ids
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/deployments/{deployment-id}
      name: v2-deployments-deployment-id
      description: REST surface for v2-deployments-deployment_id.
      operations:
      - method: GET
        name: getdeploymentv2deploymentsdeploymentidget
        description: Get Deployment
        call: langgraph-deployments-v2.getdeploymentv2deploymentsdeploymentidget
        with:
          deployment_id: rest.deployment_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchdeploymentv2deploymentsdeploymentidpatch
        description: Patch Deployment
        call: langgraph-deployments-v2.patchdeploymentv2deploymentsdeploymentidpatch
        with:
          deployment_id: rest.deployment_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletedeploymentv2deploymentsdeploymentiddelete
        description: Delete Deployment
        call: langgraph-deployments-v2.deletedeploymentv2deploymentsdeploymentiddelete
        with:
          deployment_id: rest.deployment_id
          delete_tracing_project: rest.delete_tracing_project
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/deployments/{deployment-id}/revisions
      name: v2-deployments-deployment-id-revisions
      description: REST surface for v2-deployments-deployment_id-revisions.
      operations:
      - method: GET
        name: listrevisionsv2deploymentsdeploymentidrevisionsget
        description: List Revisions
        call: langgraph-deployments-v2.listrevisionsv2deploymentsdeploymentidrevisionsget
        with:
          deployment_id: rest.deployment_id
          limit: rest.limit
          offset: rest.offset
          status: rest.status
          remote_reconciled: rest.remote_reconciled
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/deployments/{deployment-id}/revisions/{revision-id}
      name: v2-deployments-deployment-id-revisions-revision-id
      description: REST surface for v2-deployments-deployment_id-revisions-revision_id.
      operations:
      - method: GET
        name: getrevisionv2deploymentsdeploymentidrevisionsrevisionidget
        description: Get Revision
        call: langgraph-deployments-v2.getrevisionv2deploymentsdeploymentidrevisionsrevisionidget
        with:
          deployment_id: rest.deployment_id
          revision_id: rest.revision_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/deployments/{deployment-id}/revisions/{revision-id}/redeploy
      name: v2-deployments-deployment-id-revisions-revision-id-redeploy
      description: REST surface for v2-deployments-deployment_id-revisions-revision_id-redeploy.
      operations:
      - method: POST
        name: redeployrevisionv2deploymentsdeploymentidrevisionsrevisionidredeploypost
        description: Redeploy Revision
        call: langgraph-deployments-v2.redeployrevisionv2deploymentsdeploymentidrevisionsrevisionidredeploypost
        with:
          deployment_id: rest.deployment_id
          revision_id: rest.revision_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: langgraph-deployments-v2-mcp
    port: 9090
    transport: http
    description: MCP adapter for LangSmith Deployment Control Plane API — Deployments (v2). One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: list-deployments
      description: List Deployments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: langgraph-deployments-v2.listdeploymentsv2deploymentsget
      with:
        limit: tools.limit
        offset: tools.offset
        name_contains: tools.name_contains
        status: tools.status
        remote_reconciled: tools.remote_reconciled
        tag_value_ids: tools.tag_value_ids
        image_version: tools.image_version
        deployment_type: tools.deployment_type
        deployment_ids: tools.deployment_ids
      outputParameters:
      - type: object
        mapping: $.
    - name: create-deployment
      description: Create Deployment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: langgraph-deployments-v2.createdeploymentv2deploymentspost
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-deployments
      description: Delete Deployments
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: langgraph-deployments-v2.deletedeploymentsv2deploymentsdelete
      with:
        deployment_ids: tools.deployment_ids
      outputParameters:
      - type: object
        mapping: $.
    - name: get-deployment
      description: Get Deployment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: langgraph-deployments-v2.getdeploymentv2deploymentsdeploymentidget
      with:
        deployment_id: tools.deployment_id
      outputParameters:
      - type: object
        mapping: $.
    - name: patch-deployment
      description: Patch Deployment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: langgraph-deployments-v2.patchdeploymentv2deploymentsdeploymentidpatch
      with:
        deployment_id: tools.deployment_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-deployment
      description: Delete Deployment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: langgraph-deployments-v2.deletedeploymentv2deploymentsdeploymentiddelete
      with:
        deployment_id: tools.deployment_id
        delete_tracing_project: tools.delete_tracing_project
      outputParameters:
      - type: object
        mapping: $.
    - name: list-revisions
      description: List Revisions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: langgraph-deployments-v2.listrevisionsv2deploymentsdeploymentidrevisionsget
      with:
        deployment_id: tools.deployment_id
        limit: tools.limit
        offset: tools.offset
        status: tools.status
        remote_reconciled: tools.remote_reconciled
      outputParameters:
      - type: object
        mapping: $.
    - name: get-revision
      description: Get Revision
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: langgraph-deployments-v2.getrevisionv2deploymentsdeploymentidrevisionsrevisionidget
      with:
        deployment_id: tools.deployment_id
        revision_id: tools.revision_id
      outputParameters:
      - type: object
        mapping: $.
    - name: redeploy-revision
      description: Redeploy Revision
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: langgraph-deployments-v2.redeployrevisionv2deploymentsdeploymentidrevisionsrevisionidredeploypost
      with:
        deployment_id: tools.deployment_id
        revision_id: tools.revision_id
      outputParameters:
      - type: object
        mapping: $.