Status
List recent predictions
Get a list of your recent generation requests.
AuthorizationBearer <token>
API key in format: bs_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In: header
Query Parameters
limit?integer
Maximum number of predictions to return
Default
20Range
value <= 100Response Body
application/json
application/json
curl -X GET "https://api.bright-shot.com/api/v1/predictions"{
"predictions": [
{
"prediction_id": "string",
"status": "processing",
"output": [
"http://example.com"
],
"error": "string",
"created_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}
],
"count": 0
}{
"error": "Invalid API key"
}