get_preview_status
Read current public status, URL and server-enforced expiry of an existing preview. Only the service owner can manually extend expiry; updates never extend it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"preview_id": "<preview_id>"
},
"name": "get_preview_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview_id | Yes | Existing preview_id returned by AIfra. Do not invent it or pass a URL, alias, management key or source IP. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public viewer URL; share only after successful browser confirmation. | |
| bytes | Yes | ||
| status | Yes | ||
| expires_at | Yes | Server-enforced expiry, normally 48 hours from publication. Updates never extend it; only the owner can manually set a later date. | |
| preview_id | Yes | AIfra preview identifier; never a management key. | |
| files_count | Yes | ||
| ttl_seconds | Yes | Remaining seconds at response time, not a new lifetime. | |
| updates_count | Yes | ||
| active_slots_limit | No | ||
| active_slots_for_ip | No | Aggregate active-slot count, never the source IP. |