LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Agent
  • Middleware
  • Backends
  • Sandboxes
  • Skills
  • Subagents
  • Configuration
  • 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

OverviewAgentMiddlewareBackendsSandboxesSkillsSubagentsConfigurationTypes
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
Vitest
Language
Theme
JavaScriptdeepagentsmiddlewareCompletionCallbackOptions
Interface●Since v1.8

CompletionCallbackOptions

Copy
interface CompletionCallbackOptions

Properties

View source on GitHub
property
callbackGraphId: string
property
headers: Record<string, string>
property
url: string

Options for creating the completion callback middleware.

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

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

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