Skip to main content
Adventure Open API Reference

HappyOyster-Adventure-Query World Build Status API Reference

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 encryptedWorldId returned by Create World. You can start querying from the generating state.
  • Caller: Either your server or your client can call it.

HTTP request

  • Singapore
  • China (Beijing)
  • US (Virginia)
GET https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v2/apps/happyoyster-1.0-adventure/openapi/v1/worlds/build-statusReplace {WorkspaceId} with your actual Workspace ID.

Request parameters

  • Query World build status
curl --location 'https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v2/apps/happyoyster-1.0-adventure/openapi/v1/worlds/build-status?encryptedWorldId={encryptedWorldId}' \
    -H "Authorization: Bearer $DASHSCOPE_API_KEY"
Authorization string (Required)API Key authentication. The primary API Key is not required; either the primary or a temporary API Key can call it.
  • Primary API Key: starts with sk-, e.g. sk-xxx.
  • Temporary API Key: starts with st-, e.g. st-xxx.
Query parameters
encryptedWorldId string (Required)The encrypted World ID returned by Create World. It is encrypted by the server; you do not need to decrypt it.

Response parameters

  • Building
  • Build complete
{
    "code": 0,
    "message": null,
    "data": {
        "encryptedWorldId": "enc_a1b2****",
        "status": "generating",
        "firstFrame": null
    }
}
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:
  • generating: building
  • ready: ready; you can exchange for a travel credential and enter the room
  • failed: build failed
firstFrame stringWorld first-frame URL; null when not yet generated or when the build failed.name stringWorld name. Returned only when status=ready.mode integerAlways 1 for Adventure. Returned only when status=ready.

Prerequisite states and call notes

  • Poll every 3–5 seconds until status is ready or failed.
  • Only a ready World can exchange for a travel credential and enter the room.
  • When a URL image fails validation after asynchronous storage, the World may go from generating to failed.
  • This endpoint does not return aspectRatio; when you need creation metadata such as perspective or uploadMode, 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:
Text Generation
Image Generation
  • FAQ
Video Generation
Audio
  • Audio generation
Realtime API
Text Embedding
Decision Model
TokenPlan
Model Production