---
title: "Get current organization"
method: GET
path: "/api/v1/org"
tags: ["Organizations"]
---

# Get current organization

`GET /api/v1/org`

Get the current user's organization

## Response `200`

Ok

- ApiOrganization
  - `results` Organization, required — Details of a user's Organization
    - `pgWire` object — Postgres wire protocol connection details for the semantic layer, only populated on the authenticated `GET /org` response (not the public health endpoint). `enabled` reflects whether the instance exposes a pgwire port and is returned to every org member; `host`/`port` are the infra endpoint clients connect to and are only populated for org admins (null otherwise).
      - `port` number, double, nullable, required
      - `host` string, nullable, required
      - `tlsRequired` boolean — Whether the server requires TLS (clients must use sslmode=require or stricter). False only on instances that explicitly opted out. Optional for API backwards compatibility — the server always returns it; treat absence as true.
      - `enabled` boolean, required
    - `createdAt` string, date-time
    - `defaultProjectUuid` string — The project a user sees when they first log in to the organization
    - `needsProject` boolean — The organization needs a project if it doesn't have at least one project.
    - `colorPaletteUuid` string — The active color palette uuid for all projects in the organization
    - `chartDarkColors` string[] — The default dark color palette for all projects in the organization
    - `chartColors` string[] — The default color palette for all projects in the organization
    - `name` string, required — The name of the organization
    - `organizationUuid` string, uuid, required — The unique identifier of the organization
  - `status` 'ok', required

## Other responses

- `default` — Error

---

[API](https://skmtc.net/lightdash/apis/lightdash-api.md) · [All operations](https://skmtc.net/lightdash/apis/lightdash-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightdash/lightdash-api/versions/40c933755c9a/schema)
