--- title: "Agent.GetSchedule" slug: "agentgetschedule" updated: 2025-07-17T07:27:15Z published: 2025-07-17T07:27:15Z canonical: "help.mozenda.com/agentgetschedule" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mozenda.com/llms.txt > Use this file to discover all available pages before exploring further. # Agent.GetSchedule ### Description Returns the run schedule previously set for an agent. ### URL parameters | Name | Required | Type | Description | | --- | --- | --- | --- | | `AgentID` | True | string | Unique identifier of an agent. | ### Responses | Name | Type | Description | | --- | --- | --- | | `Result` | string | `Success` if the operation was successful. | | `Schedule` | [Schedule](https://help.mozenda.com/docs/api-response-objects/#schedule) | Information about the schedule. | ### Sample request ``` curl -X GET 'https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=Agent.GetSchedule&AgentID=11238' ``` ### Sample responses #### XML ``` Success 11238 Daily 2025-07-18 00:00:00 1 0 24 ``` #### JSON (add `&ResponseFormat=JSON`) ``` { "Schedule": { "AgentID": 11238, "Frequency": "Daily", "Starts": "2025-07-18 00:00:00", "RepeatEvery": 1, "RepeatInterval": 0, "RepeatIntervalHour": 24 }, "JsonResult": { "Command": "Agent.GetSchedule", "AutoLoggedIn": false, "WebConsoleKey": "", "Result": "Success", "ErrorCode": "", "ErrorDescription": "", "ErrorList": [] } } ```