List one page of async child Runs
curl --request GET \
--url https://code.deepline.com/api/v2/runs/{runId}/children \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://code.deepline.com/api/v2/runs/{runId}/children', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://code.deepline.com/api/v2/runs/{runId}/children"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"children": [
{
"runId": "<string>",
"status": "<string>",
"playName": "<string>",
"launchKey": "<string>"
}
],
"nextCursor": "<string>",
"hasMore": true
}{
"error": "Unauthorized"
}{
"error": "Unauthorized"
}{
"error": "Unauthorized"
}Plays and runs
List one page of async child Runs
Returns a bounded page of direct child Runs for one authored async launch key. Pass nextCursor as cursor to retrieve the next page.
GET
/
api
/
v2
/
runs
/
{runId}
/
children
List one page of async child Runs
curl --request GET \
--url https://code.deepline.com/api/v2/runs/{runId}/children \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://code.deepline.com/api/v2/runs/{runId}/children', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://code.deepline.com/api/v2/runs/{runId}/children"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"children": [
{
"runId": "<string>",
"status": "<string>",
"playName": "<string>",
"launchKey": "<string>"
}
],
"nextCursor": "<string>",
"hasMore": true
}{
"error": "Unauthorized"
}{
"error": "Unauthorized"
}{
"error": "Unauthorized"
}Authentication: workspace API key in
Authorization: Bearer <key>.
URL-encode path values, including / characters inside Play references and run IDs.
Errors
| Status | Meaning |
|---|---|
| 400 | The request conflicts with current state or a retained request identity. |
| 401 | The request conflicts with current state or a retained request identity. |
| 500 | The request conflicts with current state or a retained request identity. |
Authorizations
Create a workspace API key in the Deepline dashboard before calling authenticated endpoints.
Path Parameters
The runId returned by the related Deepline API call.
Minimum string length:
1Query Parameters
Authored ctx.runPlayAsync launch key.
Opaque cursor returned by the previous page.
Page size from 1 through 50; defaults to 50.
Required range:
1 <= x <= 50