LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
  • Stream
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
WebChannelsPregelPrebuiltRemoteStream
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-sdkindexCron
Interfaceā—Since v1.4

Cron

Copy
interface Cron

Properties

View source on GitHub
property
assistant_id: string
property
created_at: string
property
cron_id: string
property
enabled: boolean
property
end_time: Optional<string>
property
metadata: Record<string, unknown>
property
next_run_date: Optional<string>
property
on_run_completed: "delete" | "keep"
property
payload: Record<string, unknown>
property
schedule: string
property
thread_id: Optional<string>
property
updated_at: string
property
user_id: Optional<string>

The ID of the assistant

The time the cron was created.

The ID of the cron

Whether the cron is enabled

The end date to stop running the cron.

The metadata of the cron

The next run date of the cron

What to do with the thread after the run completes. Only applicable for stateless crons.

The run payload to use for creating new run.

The schedule to run, cron format. Schedules are interpreted in UTC.

The ID of the thread

The last time the cron was updated.

The user ID of the cron