LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph SDK
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Server
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
LangGraph Checkpoint Redis
  • Shallow
  • Store
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
  • Cli
LangGraph API
LangGraph CLI
LangGraph CUA
  • Utils
LangGraph Supervisor
LangGraph Swarm
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangGraph SDK
ClientAuthReactLoggingReact UiServer
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
LangGraph Checkpoint Redis
ShallowStore
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
Cli
LangGraph API
LangGraph CLI
LangGraph CUA
Utils
LangGraph Supervisor
LangGraph Swarm
Language
Theme
JavaScript@langchain/langgraph-sdkclientCronsClient
Class●Since v0.0

CronsClient

Copy
class CronsClient

Bases

BaseClient

Constructors

constructor
constructor→ CronsClient

Properties

property
apiUrl: string
property
asyncCaller: AsyncCaller
property
defaultHeaders: Record<string, HeaderValue>
property
onRequest: RequestHook
property
timeoutMs: number | undefined

Methods

method
count→ Promise<number>

Count cron jobs matching filters.

method
create→ Promise<CronCreateResponse>
method
createForThread→ Promise<CronCreateForThreadResponse>
method
delete→ Promise<void>

Delete a cron job by ID.

method
fetch→ Promise<[T, Response]>
method
prepareFetchOptions→ [URL, RequestInit]
method
search→ Promise<Cron[]>
method
streamWithRetry→ AsyncGenerator<T>

Protected helper for streaming with automatic retry logic. Handles both initial requests and reconnections with SSE.

method
update→ Promise<Cron>

Update a cron job by ID.

View source on GitHub