Skip to content
Docs
GitHub

Resolve the owning org for a resource id

Preview

Returns the owning organization only when it is one the authenticated caller already belongs to. For every other case (unknown id, unknown prefix, resource belongs to a non-member org) the endpoint returns 404 — this preserves the org-enumeration guarantee: callers cannot use this endpoint to probe for the existence of resources outside their own orgs.

Public APIEverruns Cloud and self-hosted Platform

GET/v1/resolve-org

See authentication for credentials and permissions.

id
required
string

Prefixed public ID of the resource

Responses

200Owning org resolved

Owning org resolved

Media typeapplication/json

Response body for the resolve_org operation.

object
org_id
required

Public ID of the organization that owns the resource.

string
org_name
required

Organization name (for UX messaging).

string

Example generated

{
"org_id": "example",
"org_name": "example"
}
401Unauthorized

Unauthorized

404Unknown id, unknown prefix, or caller is not a member of the owning org

Unknown id, unknown prefix, or caller is not a member of the owning org