"{\"object\":\"batch_prediction.result\",\"batch_id\":\"bpred_abc123\",\"custom_id\":\"drawing_001\",\"status\":\"succeeded\",\"output\":{\"project_name\":\"Alpha Tower\",\"sheet_title\":\"Floor Plan\",\"revision\":\"R3\"},\"error\":null}\n{\"object\":\"batch_prediction.result\",\"batch_id\":\"bpred_abc123\",\"custom_id\":\"drawing_002\",\"status\":\"errored\",\"output\":null,\"error\":{\"type\":\"https://api.datagrid.com/errors/prediction_failed\",\"title\":\"Prediction Failed\",\"status\":422,\"detail\":\"The model returned an invalid response.\"}}\n"
Streams newline-delimited JSON (NDJSON) result lines for a terminal batch prediction. Read the response body line-by-line and JSON parse each non-empty line. Results are retained for a limited window after batch creation; after cleanup, this endpoint returns 410 Gone.
"{\"object\":\"batch_prediction.result\",\"batch_id\":\"bpred_abc123\",\"custom_id\":\"drawing_001\",\"status\":\"succeeded\",\"output\":{\"project_name\":\"Alpha Tower\",\"sheet_title\":\"Floor Plan\",\"revision\":\"R3\"},\"error\":null}\n{\"object\":\"batch_prediction.result\",\"batch_id\":\"bpred_abc123\",\"custom_id\":\"drawing_002\",\"status\":\"errored\",\"output\":null,\"error\":{\"type\":\"https://api.datagrid.com/errors/prediction_failed\",\"title\":\"Prediction Failed\",\"status\":422,\"detail\":\"The model returned an invalid response.\"}}\n"