Check a Live Card render
live_card_statusUse this when a Live Card render was queued and you have its job_id. Call it again while status is queued or rendering. When status is ready, downloads holds four links (jpeg, mov, mp4, gif) and content_identifier is the Apple id shared by the JPEG and the MOV. Give the user every link and say they expire at expires_at (24 hours). The JPEG and MOV are the Live Photo pair. The MP4 and GIF play elsewhere. status failed includes error_code. status expired means the files were deleted. A wrong job_id is not_found. It does not start a render.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_id": "eb10d3e39ceb8ecd10f5f39d0ec757cf"
},
"name": "live_card_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id returned by render_live_card. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | ||
| job_id | Yes | ||
| source | Yes | ||
| status | Yes | ||
| message | Yes | ||
| downloads | No | ||
| error_code | No | ||
| expires_at | No | ||
| content_identifier | No |