Read one diagram step's recorded values across runs
curl --request GET \
--url https://code.deepline.com/api/v2/plays/{name}/step-values \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://code.deepline.com/api/v2/plays/{name}/step-values', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://code.deepline.com/api/v2/plays/{name}/step-values"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){}{
"error": "Unauthorized"
}{
"error": "Unauthorized"
}{
"error": "Unauthorized"
}{
"error": "Unauthorized"
}Plays and runs
Read one diagram step's recorded values across runs
Returns, for at most 50 named runs of the Play, the bounded input and output previews, status and attempt the step recorded (null when the run never settled there). A run that is not this Play’s reads as found: false. Does not start or change a run.
GET
/
api
/
v2
/
plays
/
{name}
/
step-values
Read one diagram step's recorded values across runs
curl --request GET \
--url https://code.deepline.com/api/v2/plays/{name}/step-values \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://code.deepline.com/api/v2/plays/{name}/step-values', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://code.deepline.com/api/v2/plays/{name}/step-values"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){}{
"error": "Unauthorized"
}{
"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. |
| 404 | The request conflicts with current state or a retained request identity. |
| 500 | The request conflicts with current state or a retained request identity. |
Authorizations
Path Parameters
Query Parameters
Response
A successful Runtime API response.
The route-owned response envelope. Dynamic tool and Play fields are described by the discovery endpoint returned before execution.