Join us May 13th & May 14th at Interrupt, the Agent Conference by LangChain. Buy tickets >
curl --request GET \
--url https://api.example.com/runs/crons/{cron_id}{
"cron_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"end_time": "2023-11-07T05:31:56Z",
"schedule": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"payload": {},
"enabled": true,
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "<string>",
"next_run_date": "2023-11-07T05:31:56Z",
"metadata": {}
}Get a cron by ID.
curl --request GET \
--url https://api.example.com/runs/crons/{cron_id}{
"cron_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"end_time": "2023-11-07T05:31:56Z",
"schedule": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"payload": {},
"enabled": true,
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "<string>",
"next_run_date": "2023-11-07T05:31:56Z",
"metadata": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
Success
Represents a scheduled task.
The ID of the cron.
The ID of the thread.
The end date to stop running the cron.
The schedule to run, cron format.
The time the cron was created.
The last time the cron was updated.
The run payload to use for creating new run.
Whether the cron job should be enabled. Disabled crons are not executed.
The ID of the assistant.
The ID of the user.
The next run date of the cron.
The cron metadata.
Was this page helpful?