> ## Documentation Index
> Fetch the complete documentation index at: https://docs.continuouslabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a World that brings up a set of Simulations together

> Creates a World from named Simulator references. Continuous starts one Simulation for each member and returns the coordinated service map.



## OpenAPI

````yaml /openapi/simulation.yaml post /v1/worlds
openapi: 3.1.0
info:
  description: >-
    The continuous-simulation API builds reusable Simulators and runs isolated
    Simulations and Worlds. This document describes the stable v1 public
    contract.
  title: continuous-simulation API
  version: v1
servers:
  - description: Continuous production API.
    url: https://api.continuouslabs.ai
security: []
tags:
  - description: Read deployment metadata for the public API.
    name: meta
    x-group: API metadata
  - description: Create and control isolated runtime instances of ready Simulators.
    name: simulations
    x-group: Simulations
  - description: Build, inspect, tag, publish, and delete reusable Simulator artifacts.
    name: simulators
    x-group: Simulators
  - description: Upload and publish Simulator artifacts.
    name: uploads
    x-group: Artifact uploads
  - description: Create and control coordinated groups of Simulations.
    name: worlds
    x-group: Worlds
paths:
  /v1/worlds:
    post:
      tags:
        - worlds
      summary: Create a World that brings up a set of Simulations together
      description: >-
        Creates a World from named Simulator references. Continuous starts one
        Simulation for each member and returns the coordinated service map.
      operationId: create-world
      parameters:
        - description: >-
            Required with a sealed session on workspace-scoped routes. API keys
            carry their workspace.
          in: header
          name: X-Workspace-Id
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWorldRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorldView'
          description: Created
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '408':
          $ref: '#/components/responses/RequestTimeout'
        '409':
          $ref: '#/components/responses/Conflict'
        '413':
          $ref: '#/components/responses/PayloadTooLarge'
        '415':
          $ref: '#/components/responses/UnsupportedMediaType'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '500':
          $ref: '#/components/responses/InternalServerError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
      security:
        - apiKeyAuth: []
        - sessionBearerAuth: []
        - sessionCookie: []
components:
  schemas:
    CreateWorldRequest:
      additionalProperties: false
      examples:
        - name: support-demo
          seed: demo-seed
          simulations:
            billing:
              simulator: smr_01J8Z5X4K7M2N9P0Q1R2S3T4V5
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - https://example.com/schemas/CreateWorldRequest.json
          format: uri
          readOnly: true
          type: string
        from:
          type: string
        name:
          minLength: 1
          type: string
        seed:
          type: string
        simulations:
          additionalProperties:
            $ref: '#/components/schemas/WorldMemberRequest'
          type: object
      required:
        - name
        - simulations
      type: object
    WorldView:
      additionalProperties: false
      examples:
        - created_at: '2026-01-15T12:00:00Z'
          from: ''
          id: wld_01J8Z5X4K7M2N9P0Q1R2S3T4V7
          members:
            billing:
              simulation_id: sim_01J8Z5X4K7M2N9P0Q1R2S3T4V6
              status: running
          name: support-demo
          seed: demo-seed
          services:
            billing:
              endpoint: https://api.continuouslabs.ai/sim/sim_01J8Z5X4K7M2N9P0Q1R2S3T4V6
              simulation_id: sim_01J8Z5X4K7M2N9P0Q1R2S3T4V6
          status: running
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - https://example.com/schemas/WorldView.json
          format: uri
          readOnly: true
          type: string
        created_at:
          format: date-time
          type: string
        error:
          $ref: '#/components/schemas/Error'
        from:
          type: string
        id:
          type: string
        members:
          additionalProperties:
            $ref: '#/components/schemas/WorldMemberView'
          type: object
        name:
          type: string
        seed:
          type: string
        services:
          additionalProperties:
            $ref: '#/components/schemas/WorldService'
          type: object
        status:
          enum:
            - creating
            - running
            - stopped
            - failed
          type: string
      required:
        - id
        - name
        - status
        - seed
        - from
        - members
        - services
        - created_at
      type: object
    WorldMemberRequest:
      additionalProperties: false
      properties:
        simulator:
          minLength: 1
          type: string
      required:
        - simulator
      type: object
    Error:
      additionalProperties: false
      examples:
        - code: simulator_not_ready
          detail: simulator is not ready
      properties:
        code:
          minLength: 1
          type: string
        detail:
          minLength: 1
          type: string
      required:
        - code
        - detail
      type: object
    WorldMemberView:
      additionalProperties: false
      properties:
        simulation_id:
          type: string
        status:
          description: >-
            The member Simulation's current lifecycle status — one of running,
            paused, or stopped — or empty for a member with no live row (a
            failed World's rolled-back member, or one not yet booted).
          type: string
      required:
        - simulation_id
        - status
      type: object
    WorldService:
      additionalProperties: false
      properties:
        endpoint:
          type: string
        simulation_id:
          type: string
      required:
        - simulation_id
        - endpoint
      type: object
  responses:
    BadRequest:
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Bad Request
    Unauthorized:
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Unauthorized
    Forbidden:
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Forbidden
    NotFound:
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Not Found
    RequestTimeout:
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Request Timeout
    Conflict:
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Conflict
    PayloadTooLarge:
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Request Entity Too Large
    UnsupportedMediaType:
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Unsupported Media Type
    UnprocessableEntity:
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Unprocessable Entity
    InternalServerError:
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Internal Server Error
    ServiceUnavailable:
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Service Unavailable
  securitySchemes:
    apiKeyAuth:
      bearerFormat: Continuous API key
      description: >-
        Use a Continuous API key. Send it in the Authorization header as a
        Bearer token.
      scheme: bearer
      type: http
    sessionBearerAuth:
      bearerFormat: sealed session
      description: >-
        Use a sealed user session Bearer token. This method supports browser and
        session-only operations.
      scheme: bearer
      type: http
    sessionCookie:
      description: >-
        Use the sealed browser session cookie. This method supports browser and
        session-only operations.
      in: cookie
      name: wos-session
      type: apiKey

````