GET /v1/resolve-org — resolve the owning org for a resource id.
GET
/v1/resolve-org
const url = 'https://app.everruns.com/api/v1/resolve-org?id=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” id
required
string
Prefixed public ID of the resource
Responses
Section titled “ Responses ”Owning org resolved
Media type application/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"}Unauthorized
Unknown id, unknown prefix, or caller is not a member of the owning org