GET/v1/predict/{id}0 créditos
Leer prediction
Estado del job. Id de Enlace de subida. Otra clave o más de 24 h: 404.
Tras el enlace: awaiting_upload. Tras el upload: queued/running = 20 créditos. Si sigue awaiting_upload: Retry start.
Es un permiso de la clave, no un header. Si falta: 403 api_not_enabled.
Parámetros de la petición
| Nombre | En | Tipo | Obligatorio | Descripción |
|---|---|---|---|---|
id |
path | string | Obligatorio | Id público, pred_ más 32 hex. |
Respuesta
{
"object": "prediction",
"id": "pred_7b3e0c1d2e3f4a5b6c7d8e9f0a1b2c3d",
"status": "succeeded",
"created_at": "2026-09-15T14:02:11.000Z",
"completed_at": "2026-09-15T14:02:24.000Z",
"input": { "duration_sec": 18 },
"result": {
"band": "high",
"hook_duration_sec": 2.1,
"category": { "slug": "education" }
},
"error": null
}
Campos de respuesta
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
object |
string | Obligatorio | Siempre prediction. |
id |
string | Obligatorio | Id público, pred_ más 32 hex. |
status |
string | Obligatorio | awaiting_upload, queued, running, succeeded o failed. |
created_at |
string | Obligatorio | Cuándo se creó el job. |
completed_at |
string | Nullable | Al terminar. null si no. |
input |
object | Nullable | Entrada aceptada, o null. |
input.duration_sec |
number | Nullable | Si hay input. |
result |
object | Nullable | Score en éxito. null antes y en fallo. |
result.band |
string | Opcional | Si hay result. |
result.hook_duration_sec |
number | Nullable | Si hay result. |
result.category |
object | Nullable | Si hay result. Puede ser null. |
result.category.slug |
string | Opcional | Si hay result.category. |
error |
object | Nullable | En fallo. Si no, null. |
error.type |
string | Opcional | En fallo: unsupported, unsafe o system_error. |
error.message |
string | Opcional | En fallo. Texto en inglés. |