---
title: "Get the active organization"
method: GET
path: "/api/v1/organization"
tags: ["organizations"]
---

# Get the active organization

`GET /api/v1/organization`

## Request

- Base URL: `https://pineprompt.com`
- URL: `https://pineprompt.com/api/v1/organization`
- Auth: HTTP bearer

Returns the organization the API key is bound to.

## Response `200`

OK

- Organization: An organization is the top-level billing entity and tenant boundary in Pineprompt. Every project, member, and API key belongs to exactly one organization.
  - `id` integer: The unique ID of the organization.
  - `name` string: The display name of the organization.
  - `created_at` string, date-time: When the organization was created.
  - `updated_at` string, date-time: When the organization was last updated.

## Other responses

- `401`: Unauthorized
- `403`: Missing ability

---

[API](https://skmtc.dev/pineprompt/apis/pineprompt-api.md) · [All operations](https://skmtc.dev/pineprompt/apis/pineprompt-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pineprompt/apis/pineprompt-api/revisions/05dbb5241a27?raw)
