---
title: "Get all worlds"
method: GET
path: "/api/agents/worlds"
tags: ["agents"]
---

# Get all worlds

`GET /api/agents/worlds`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/agents/worlds`
- Auth: none declared

Get all worlds across all agents

## Response `200`

Worlds retrieved successfully

- object
  - `success` boolean
  - `data` object
    - `worlds` World[]
      - `id` string, uuid: Unique identifier for the world
      - `name` string: Name of the world
      - `agentId` string, uuid: ID of the agent that owns this world
      - `sourceType` string: Type of source (discord, telegram, etc)
      - `sourceId` string: Platform-specific identifier
      - `metadata` object: Additional world metadata

## Other responses

- `500`: Error retrieving worlds

---

[API](https://skmtc.dev/elizaos/apis/eliza-os-api.md) - [All operations](https://skmtc.dev/elizaos/apis/eliza-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/elizaos/apis/eliza-os-api/revisions/d606a12682bb?raw)
