Retrieve a completed Marble world created through TokenLab. The world must belong to the same organization as the API key.
Path Parameters
Response
Generated world assets when available.
curl "https://api.tokenlab.sh/v1/worlds/world_123" \
-H "Authorization: Bearer sk-your-api-key"
import requests
response = requests.get(
"https://api.tokenlab.sh/v1/worlds/world_123",
headers={"Authorization": "Bearer sk-your-api-key"},
)
print(response.json()["world_id"])
const response = await fetch('https://api.tokenlab.sh/v1/worlds/world_123', {
headers: { Authorization: 'Bearer sk-your-api-key' }
});
console.log(await response.json());