---
title: "Get an organization"
method: GET
path: "/organizations/{organization}"
tags: ["Organizations"]
---

# Get an organization

`GET /organizations/{organization}`

### Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:

**Service Token Accesses**
 `read_organization`

**OAuth Scopes**

 | Resource | Scopes |
| :------- | :---------- |
| User | `read_organizations` |
| Organization | `read_organization` |

## Path parameters

- `organization` string, required

## Response `200`

Returns an organization

- object
  - `id` string, required — The ID for the organization
  - `name` string, required — The name of the organization
  - `billing_email` string, required — The billing email of the organization
  - `created_at` string, required — When the organization was created
  - `updated_at` string, required — When the organization was last updated
  - `plan` string, required — The billing plan of the organization
  - `valid_billing_info` boolean, required — Whether or not the organization's billing information is valid
  - `sso` boolean, required — Whether or not SSO is enabled on the organization
  - `sso_directory` boolean, required — Whether or not the organization uses an SSO directory
  - `single_tenancy` boolean, required — Whether or not the organization has single tenancy enabled
  - `managed_tenancy` boolean, required — Whether or not the organization has managed tenancy enabled
  - `has_past_due_invoices` boolean, nullable — Whether or not the organization has past due billing invoices.
  - `database_count` integer, required — The number of databases in the organization
  - `sso_portal_url` string, nullable — The URL of the organization's SSO portal.
  - `features` object, required — Features that can be enabled on the organization
  - `idp_managed_roles` boolean, required — Whether or not the IdP provider is be responsible for managing roles in PlanetScale
  - `invoice_budget_amount` string, required — The expected monthly budget for the organization
  - `keyspace_shard_limit` integer, required — The keyspace shard limit for the organization
  - `has_card` boolean, required — Whether or not the organization has a payment method on file
  - `payment_info_required` boolean, required — Whether or not the organization requires payment information

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-06-01** `72506953f367` — 4 breaking
  - the response property `has_past_due_invoices` became nullable for the status `200`
  - the response property `sso_portal_url` became nullable for the status `200`
  - the response property `has_past_due_invoices` became optional for the status `200`
  - the response property `sso_portal_url` became optional for the status `200`
- **2026-02-24** `f3845f225936` — 1 breaking
  - the `invoice_budget_amount` response's property type/format changed from `number`/`` to `string`/`` for status `200`

[Change history](https://skmtc.dev/planetscale/apis/planetscale-api/changes/organizations/:organization/get.md)

---

[API](https://skmtc.dev/planetscale/apis/planetscale-api.md) · [All operations](https://skmtc.dev/planetscale/apis/planetscale-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/planetscale/planetscale-api/revisions/6d28c038c4fd/schema)
