LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-clihost_backendHostBackendClientcreate_deployment
    Method●Since v0.4

    create_deployment

    Copy
    create_deployment(
      self,
      name: str,
      deployment_type: str,
      source: str,
      config_path:
    View source on GitHub
    str
    |
    None
    =
    None
    ,
    secrets
    :
    list
    [
    dict
    [
    str
    ,
    str
    ]
    ]
    |
    None
    =
    None
    )
    ->
    dict
    [
    str
    ,
    Any
    ]

    Create a deployment.