Query the build progress of an Acting World. The API returns the encrypted World ID, build status, and first-frame URL; the client polls until the World enters ready.
Scope
Query the build progress of an Acting World. Before calling, confirm the following:
- Authentication: The primary API Key is not required; either the primary or a temporary API Key can call this endpoint. For how to obtain them, see Obtain authentication credentials.
- Prerequisites: Query with the
encryptedWorldIdreturned by Create World. You can start querying from thegeneratingstate; the World does not need to be fully built. - Caller: Either your server or your client can call it.
HTTP request
- Singapore
- US (Virginia)
GET https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v2/apps/happyoyster-1.0-acting/openapi/v1/worlds/build-statusReplace {WorkspaceId} with your actual Workspace ID.Request parameters |
|
Authorization string (Required)API Key authentication. The primary API Key is not required; either the primary or a temporary API Key can call it.
| |
Query parameters | |
encryptedWorldId string (Required)The Acting encrypted World ID returned by Create World. |
Response parameters |
|
code integerReturn code. 0 means success; non-zero is an error code. | |
message stringError message. null on success. | |
data objectResponse data. null on failure.
Properties encryptedWorldId stringEncrypted World ID.status stringBuild status:
stringWorld first-frame URL; null when not yet generated or when the build failed.name stringWorld name. Returned only when status=ready.mode integerAlways 3 for Acting. Returned only when status=ready. |
Prerequisite states and call notes
- Poll every 3–5 seconds until
statusisreadyorfailed. - Only a
readyWorld can exchange for a travel credential and enter the room. - When a URL image fails validation after asynchronous storage, the World may go from
generatingtofailed. - This endpoint does not return
aspectRatio; the player orientation is determined by theaspectRatioin the Enter the room response.
Error codes
If the model call fails and returns an error, see HappyOyster Error Codes to resolve it.
Next steps
After the World enters ready:
- Get Travel Credential: exchange for a single-use
ticket. - Query World Detail: query the full creation metadata.