--- title: "GetScriptResult" slug: "getscriptresult" updated: 2023-09-12T07:57:35Z published: 2023-09-12T07:57:35Z canonical: "docs.datajet.app/getscriptresult" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # GetScriptResult Returns Execution History for a script | Key | Value(s) | Description | | --- | --- | --- | | method | "GetScriptResult" | Returns execution history for a script | | scriptID | "UniqueScriptIdentifier" | Unique identifier for the script, either passed in from calling program via [ExecuteStoredScript](/v1/docs/executestoredscript), or automatically generated by ExecuteStoredScript | Example Request: ```json { "method": "GetScriptResult", "scriptId": "scriptID1" } ``` Example Return: ```json { "status": { "script": [ { "method": "Defines", "detail": "", "state": "Not Started", "time": "", "errors": [] }, { "method": "Backup", "detail": "", "state": "Complete", "time": "0.03", "errors": [] }, { "method": "IF", "detail": "", "state": "Not Started", "time": "", "errors": [] }, { "method": "Audit", "detail": "%BackupPathAndFile_Audit%", "state": "Complete", "time": "0.29", "errors": [] }, { "method": "ENDIF", "detail": "", "state": "Not Started", "time": "", "errors": [] } ] }, "executed": true, "errors": [], "millis": 7, "projectEpoch": 638294227799262641, "method": "GetScriptResult", "exmillis": 16 } ```