Query the build progress of an Adventure 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 Adventure 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. - Caller: Either your server or your client can call it.
HTTP request
Singapore
GET https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v2/apps/happyoyster-1.0-adventure/openapi/v1/worlds/build-status
Replace {WorkspaceId} with your actual Workspace ID.
China (Beijing)
GET https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v2/apps/happyoyster-1.0-adventure/openapi/v1/worlds/build-status
Replace {WorkspaceId} with your actual Workspace ID.
US (Virginia)
GET https://{WorkspaceId}.us-east-1.maas.aliyuncs.com/api/v2/apps/happyoyster-1.0-adventure/openapi/v1/worlds/build-status
Replace {WorkspaceId} with your actual Workspace ID.
Request parameters | Query World build status |
Authorization API Key authentication. The primary API Key is not required; either the primary or a temporary API Key can call it.
| |
Query parameters | |
encryptedWorldId The encrypted World ID returned by Create World. It is encrypted by the server; you do not need to decrypt it. |
Response parameters | BuildingBuild complete |
code Return code. | |
message Error message. | |
data Response data. |
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; when you need creation metadata such asperspectiveoruploadMode, call Query World Detail.
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.