Read an archive’s status
get_archive_statusThe state of one archive. state.status: CHECKING while the build check runs, then PASSED, PROBLEM or NOT_CHECKED. Poll until it is no longer CHECKING; on PROBLEM or NOT_CHECKED give the developer state.message word for word — it names what is wrong and what to do — and take state.reason as its code (get_bridge_sdk_docs has the SDK integration docs; get_archive_qa_tool_link with mode: certification shows the startup log). processing: PENDING (unconfirmed or unpacking), DONE (unpacked), FAILED with failedAt: UNPACK and errorMessage (upload a corrected zip). bridgeSdk: whether that same check found the Playgama Bridge SDK in the build — FOUND, NOT_FOUND, or PENDING while it has not answered. analysis: what the check measured — bridgeVersion and bridgeEngine, null when no check has run. Publishing and submitting are decided by state.
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": {
"applicationId": "<applicationId>",
"archiveId": "<archiveId>"
},
"name": "get_archive_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archiveId | Yes | Archive id, as answered by start_archive_upload | |
| applicationId | Yes | Game id from list_applications |