Get a prediction
curl --request GET \
--url https://api.agipower.ai/v1/predictions/{prediction_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agipower.ai/v1/predictions/{prediction_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agipower.ai/v1/predictions/{prediction_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}Predictions API
Get a prediction
GET
/
v1
/
predictions
/
{prediction_id}
Get a prediction
curl --request GET \
--url https://api.agipower.ai/v1/predictions/{prediction_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agipower.ai/v1/predictions/{prediction_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agipower.ai/v1/predictions/{prediction_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}