Get schedule
curl --request GET \
--url https://neo.api.projectdiscovery.io/api/v1/schedules/{id} \
--header 'Authorization: Bearer <token>'{
"executions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"completed_at": "2023-11-07T05:31:56Z",
"error": "<string>",
"scheduled_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"task_id": "<string>"
}
],
"schedule": {
"consecutive_failures": 123,
"created_at": "2023-11-07T05:31:56Z",
"execution_count": 123,
"failure_count": 123,
"frequency_description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_at": "2023-11-07T05:31:56Z",
"custom_weekdays": [
123
],
"direct_agent_id": "<string>",
"file_keys": [
"<string>"
],
"hourly_frequency": 123,
"last_executed_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"next_execution_at": "2023-11-07T05:31:56Z",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"secrets": [
"<string>"
],
"source_task_id": "<string>",
"start_time": "<string>",
"user_query": {}
}
}Schedules
Get schedule
Get details of a specific schedule by ID, including execution history.
GET
/
api
/
v1
/
schedules
/
{id}
Get schedule
curl --request GET \
--url https://neo.api.projectdiscovery.io/api/v1/schedules/{id} \
--header 'Authorization: Bearer <token>'{
"executions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"completed_at": "2023-11-07T05:31:56Z",
"error": "<string>",
"scheduled_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"task_id": "<string>"
}
],
"schedule": {
"consecutive_failures": 123,
"created_at": "2023-11-07T05:31:56Z",
"execution_count": 123,
"failure_count": 123,
"frequency_description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_at": "2023-11-07T05:31:56Z",
"custom_weekdays": [
123
],
"direct_agent_id": "<string>",
"file_keys": [
"<string>"
],
"hourly_frequency": 123,
"last_executed_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"next_execution_at": "2023-11-07T05:31:56Z",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"secrets": [
"<string>"
],
"source_task_id": "<string>",
"start_time": "<string>",
"user_query": {}
}
}⌘I

