# JOB_ID is the id from the create response; poll until status is final
curl "https://api.mcpbytes.com/v1/jobs/$JOB_ID" \
-H "Authorization: Bearer $MCPBYTES_API_KEY"
# Once status is succeeded, download the model from result.files[].url
curl -fsSLo model.glb "$MODEL_URL"
{
"tool": "simplify_3d_model",
"status": "succeeded",
"credits_charged": 20,
"compute_ms": 14296,
"result": {
"schema_version": 1,
"input_faces": 963070,
"output_faces": 250000,
"ratio": 0.2596,
"max_error_units": 0.000691,
"mesh_count": 1,
"notes": [],
"files": [
{
"name": "model.glb",
"bytes": 18504188,
"content_type": "model/gltf-binary",
"url": "https://api.mcpbytes.com/blob/dl/…"
},
{
"name": "model.web.glb",
"bytes": 7005564,
"content_type": "model/gltf-binary",
"url": "https://api.mcpbytes.com/blob/dl/…"
},
{
"name": "simplify.json",
"bytes": 831,
"content_type": "application/json",
"url": "https://api.mcpbytes.com/blob/dl/…"
}
]
}
}