Pobierz poprawnie zakończone uruchomienie
GET
/api/v3/runs/finished/{id}
const url = 'https://twoja-instancja-ajs-api.enterprise.sellrocket.pl/api/v3/runs/finished/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/finished/1 \ --header 'Authorization: Bearer <token>'Zwraca uruchomienie o podanym identyfikatorze, jeśli zakończyło się normalnie.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”id
wymagane
integer format: int64
The id of the finished run to get.
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Response that describes run.
object
id
Id of the run.
integer format: int64
scriptId
Id of the script.
integer format: int64
createdAt
Date and time when run was created.
string format: date-time
state
State of the run.
string
parameters
Parameters of the run. They will be passed to the script in object with name data.
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
object recursive
root
object
object recursive
Response that describes run.
object
id
Id of the run.
integer format: int64
scriptId
Id of the script.
integer format: int64
createdAt
Date and time when run was created.
string format: date-time
state
State of the run.
string
parameters
Parameters of the run. They will be passed to the script in object with name data.
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
object recursive
root
object
object recursive
Examplegenerated
{ "id": 1, "scriptId": 1, "createdAt": "2026-04-15T12:00:00Z", "state": "example", "parameters": { "additionalProperty": {} }}Response that describes run.
object
id
Id of the run.
integer format: int64
scriptId
Id of the script.
integer format: int64
createdAt
Date and time when run was created.
string format: date-time
state
State of the run.
string
parameters
Parameters of the run. They will be passed to the script in object with name data.
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
object recursive
root
object
object recursive
Examplegenerated
{ "id": 1, "scriptId": 1, "createdAt": "2026-04-15T12:00:00Z", "state": "example", "parameters": { "additionalProperty": {} }}
