---
title: "Obter workspace"
method: GET
path: "/workspaces/current"
tags: ["Workspaces"]
---

# Obter workspace

`GET /workspaces/current`

Retorna detalhes do workspace.

## Response `200`

Successful response

- object, nullable
  - `id` string, required — Identificador único do workspace
  - `type` 'legal_entity' | 'individual', required — Tipo de workspace: pessoa jurídica ou física
  - `name` string, required — Nome do workspace
  - `picture` object, nullable — Imagem do workspace (opcional)
    - `url` string, required — URL do arquivo
    - `title` string, nullable — Título do arquivo
    - `size` number, nullable — Tamanho do arquivo em bytes
    - `key` string, nullable — Chave do arquivo no armazenamento
    - `ext` string, nullable — Extensão do arquivo
    - `img` string, nullable — Imagem prévia do arquivo
    - `description` string, nullable — Descrição do arquivo
  - `site` string, nullable — Site do workspace (opcional)
  - `createdBy` string, nullable — ID do usuário que criou o registro
  - `updatedBy` string, nullable — ID do usuário que atualizou o registro
  - `createdAt` string, date-time — Data de criação
  - `updatedAt` string, date-time — Data da última atualização

## Other responses

- `default` — Error response

---

[API](https://skmtc.net/rdstationmentoria/apis/accounts.md) · [All operations](https://skmtc.net/rdstationmentoria/apis/accounts/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rdstationmentoria/accounts/versions/5126cbbab2fa/schema)
