LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Agent
  • Middleware
  • Backends
  • Sandboxes
  • Skills
  • Subagents
  • Types
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
  • Vitest
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewAgentMiddlewareBackendsSandboxesSkillsSubagentsTypes
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
Vitest
Language
Theme
JavaScriptdeepagentsindexCompletionCallbackOptions
Interface●Since v1.9

CompletionCallbackOptions

Options for creating the completion callback middleware.

Copy
interface CompletionCallbackOptions

Properties

property
callbackGraphId: string

Callback graph or assistant identifier. Used as the assistant_id argument in runs.create().

property
headers: Record<string, string>

Additional headers to include in requests to the server (e.g. for custom auth).

property
url: string

URL of the Agent Protocol server. Defaults to the LangGraph SDK's default endpoint.

View source on GitHub