Skip to content

GET /v1/resolve-org — resolve the owning org for a resource id.

GET
/v1/resolve-org
curl --request GET \
--url 'https://app.everruns.com/api/v1/resolve-org?id=example'

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.

id
required
string

Prefixed public ID of the resource

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
Examplegenerated
{
"org_id": "example",
"org_name": "example"
}

Unauthorized

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