Read the status of one prompt
curl --request GET \
--url https://api.styne.ai/sandboxes/{id}/prompts/{promptId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.styne.ai/sandboxes/{id}/prompts/{promptId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.styne.ai/sandboxes/{id}/prompts/{promptId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>",
"origin": "<string>",
"request_id": "<string>"
}Read the status of one prompt
GET
/
sandboxes
/
{id}
/
prompts
/
{promptId}
Read the status of one prompt
curl --request GET \
--url https://api.styne.ai/sandboxes/{id}/prompts/{promptId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.styne.ai/sandboxes/{id}/prompts/{promptId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.styne.ai/sandboxes/{id}/prompts/{promptId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>",
"origin": "<string>",
"request_id": "<string>"
}Authorizations
Response
Success. The answer is described on https://docs.styne.ai/agents.