Pobierz szczegóły uruchomienia skryptu
const url = 'https://twoja-instancja-ajs-api.enterprise.sellrocket.pl/api/v3/runs/1';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-ajs-api.enterprise.sellrocket.pl/api/v3/runs/1 \ --header 'Authorization: Bearer <token>'Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”Id of the run.
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Response that describes run.
object
Id of the run.
Id of the script.
Name of the script.
Date and time when run was created.
Date and time when run has finished.
Date and time when run has finished.
Duration time of the run.
State of the run.
Parameters of the run. They will be passed to the script in object with name data.
object
object
object
object
object
Response that describes run.
object
Id of the run.
Id of the script.
Name of the script.
Date and time when run was created.
Date and time when run has finished.
Date and time when run has finished.
Duration time of the run.
State of the run.
Parameters of the run. They will be passed to the script in object with name data.
object
object
object
object
object
Examplegenerated
{ "id": 1, "scriptId": 1, "scriptName": "example", "createdAt": "2026-04-15T12:00:00Z", "finishedAt": "2026-04-15T12:00:00Z", "startedAt": "2026-04-15T12:00:00Z", "executionTime": 1, "state": "example", "parameters": { "additionalProperty": {} }}Response that describes run.
object
Id of the run.
Id of the script.
Name of the script.
Date and time when run was created.
Date and time when run has finished.
Date and time when run has finished.
Duration time of the run.
State of the run.
Parameters of the run. They will be passed to the script in object with name data.
object
object
object
object
object
Examplegenerated
{ "id": 1, "scriptId": 1, "scriptName": "example", "createdAt": "2026-04-15T12:00:00Z", "finishedAt": "2026-04-15T12:00:00Z", "startedAt": "2026-04-15T12:00:00Z", "executionTime": 1, "state": "example", "parameters": { "additionalProperty": {} }}Not Found
object
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}
