> ## 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.

# Posição de um espaço

> Em que célula um espaço mora e se está em mudança.



## OpenAPI

````yaml openapi/pt/control.json GET /v1/spaces/{space_id}/placement
openapi: 3.1.0
info:
  title: API de controle da Niadra
  version: '1'
  description: >-
    Tenants, projetos, fontes, chaves, pessoas, configuração e uso. Nunca recebe
    conteúdo de cliente.
servers:
  - url: https://control.api.niadra.com
security: []
paths:
  /v1/spaces/{space_id}/placement:
    get:
      summary: Posição de um espaço
      description: >-
        Qual célula atende um espaço, e a mudança em andamento, quando houver.
        Durante a mudança, a célula antiga responde 421 e o SDK tenta de novo no
        endereço novo.


        **Autenticação.** Token de pessoa emitido pelo controle (`Authorization:
        Bearer <JWT>`), com o papel que a operação pede.
      operationId: placement_v1_spaces__space_id__placement_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/PlacementOut'
              example:
                space_id: 0192f0a0-3d4e-7f50-8b61-7c8d9e0f1a23
                cell_id: cell-1
                move:
                  move_id: 0192f7c3-7182-7394-8fa5-1a2b3c4d5e67
                  from_cell: cell-1
                  to_cell: cell-2
                  requested_at: '2026-09-23T02:00:00Z'
                  status: copying
                  completed_at: null
          description: A posição do espaço.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: O pedido não bate com o contrato.
      security:
        - personToken: []
components:
  schemas:
    PlacementOut:
      additionalProperties: false
      properties:
        cell_id:
          title: Cell Id
          type: string
        move:
          anyOf:
            - $ref: '#/components/schemas/MoveOut'
            - type: 'null'
        space_id:
          format: uuid
          title: Space Id
          type: string
      required:
        - space_id
        - cell_id
      title: PlacementOut
      type: object
    Problem:
      additionalProperties: false
      description: >-
        Detalhes do problema no formato da RFC 9457; `code` vem do catálogo de
        erros versionado.
      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
    MoveOut:
      additionalProperties: false
      properties:
        completed_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Completed At
        from_cell:
          title: From Cell
          type: string
        move_id:
          format: uuid
          title: Move Id
          type: string
        requested_at:
          format: date-time
          title: Requested At
          type: string
        status:
          $ref: '#/components/schemas/MoveStatus'
        to_cell:
          title: To Cell
          type: string
      required:
        - move_id
        - from_cell
        - to_cell
        - status
        - requested_at
      title: MoveOut
      type: object
    MoveStatus:
      enum:
        - copying
        - completed
      title: MoveStatus
      type: string
  securitySchemes:
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````