Paginate through the Adventure Travels under the current primary account, with optional filtering by status or associated World.
Scope
Paginate through the Adventure Travels under the current primary account, with optional filtering by status or associated World. Before calling, confirm the following:
-
Authentication: Only the primary API Key is supported; temporary API Keys cannot be used (error code
403003).- Get the primary API Key: Get and configure an API Key.
-
Caller: Called by your server.
HTTP request
Singapore
GET https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v2/apps/happyoyster-1.0-adventure/openapi/v1/travels
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/travels
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/travels
Replace {WorkspaceId} with your actual Workspace ID.
Request parameters | Query Travel list |
Authorization API Key authentication. Only the primary API Key is supported; it starts with | |
Query parameters | |
page Page number, defaults to | |
pageSize Items per page, defaults to | |
status Filter by Travel status. Unknown values are not applied as a filter. Allowed values:
| |
encryptedWorldId An Adventure World ID under the current primary account. When provided, only the Travels of that World are returned. This endpoint does not support the |
Response parameters | Query succeeded |
code Return code. | |
message Error message. | |
data Response data. |
Prerequisite states and call notes
- The endpoint automatically returns only Adventure Travels, and
items[].modeis always1. - When filtering with
encryptedWorldId, that World must belong to the current primary account and the Adventure model; a World from another model returns403001. - For a running Travel,
durationSecandendedAtare usuallynull. - An unknown
statusdoes not raise an error; it is treated as no status filter. - An empty result is not an error; it returns
items=[]and the corresponding pagination info.
Error codes
If the model call fails and returns an error, see HappyOyster Error Codes to resolve it.
Next steps
- Query Travel Status: query the real-time status of a single Travel.
- Query Travel Artifacts: query the video artifacts of a completed Travel.