Get the current organization
GET
/v1/organization
curl "https://api.summerbase.com/v1/organization" \ -H "Authorization: Bearer sb_..."const response = await fetch("https://api.summerbase.com/v1/organization", { headers: { Authorization: "Bearer sb_...", },})const data = await response.json()Fetch the organization the request is working in — the one named by
Summerbase-Organization, or the one an API key’s project belongs to.
Response
Section titled “Response”Returns the organization object.
Media typeapplication/json
Example
{ "cell_code": "us1", "created_at": "2025-09-08T14:02:37Z", "id": "0198f1a2-6c3d-7e41-9a2b-5c8d1e4f7a90", "name": "Acme Analytics", "object": "organization", "slug": "acme-analytics"}