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

# Read a space

> A space: project, environment, region and address.



## OpenAPI

````yaml openapi/en/control.json GET /v1/spaces/{space_id}
openapi: 3.1.0
info:
  title: Niadra control API
  version: '1'
  description: >-
    Tenants, projects, sources, keys, people, configuration and usage. It never
    receives customer content.
servers:
  - url: https://control.api.niadra.com
security: []
paths:
  /v1/spaces/{space_id}:
    get:
      summary: Read a space
      description: >-
        One space: project, environment, region, slug and the cell that serves
        it. The address of the space is
        `https://<slug>.<region>.api.niadra.com`.


        **Authentication.** Person token issued by the control plane
        (`Authorization: Bearer <JWT>`), with the role the operation needs.
      operationId: get_space_v1_spaces__space_id__get
      parameters:
        - in: path
          name: space_id
          required: true
          schema:
            format: uuid
            title: Space Id
            type: string
          example: 0192f0a0-3d4e-7f50-8b61-7c8d9e0f1a23
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpaceOut'
              example:
                space_id: 0192f0a0-3d4e-7f50-8b61-7c8d9e0f1a23
                project_id: 0192f0a0-2c3d-7e4f-9a50-6b7c8d9e0f12
                environment: production
                slug: acme-prod
                region: us-east-1
                cell_id: cell-1
          description: The space.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - personToken: []
components:
  schemas:
    SpaceOut:
      additionalProperties: false
      properties:
        cell_id:
          title: Cell Id
          type: string
        environment:
          $ref: '#/components/schemas/Environment'
        project_id:
          format: uuid
          title: Project Id
          type: string
        region:
          title: Region
          type: string
        slug:
          title: Slug
          type: string
        space_id:
          format: uuid
          title: Space Id
          type: string
      required:
        - space_id
        - project_id
        - environment
        - slug
        - region
        - cell_id
      title: SpaceOut
      type: object
    Problem:
      additionalProperties: false
      description: RFC 9457 problem details; `code` comes from the versioned error catalog.
      properties:
        code:
          title: Code
          type: string
        detail:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Detail
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Request Id
        status:
          title: Status
          type: integer
        title:
          title: Title
          type: string
        type:
          default: about:blank
          title: Type
          type: string
      required:
        - title
        - status
        - code
      title: Problem
      type: object
    Environment:
      enum:
        - sandbox
        - production
      title: Environment
      type: string
  securitySchemes:
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````