---
title: Resolve an org-scoped slug to a product or source
description: >-
  Product-first: returns { kind: "product", product } when a product owns the
  slug, else { kind: "source", source } for a source, else 404.
---
# Resolve an org-scoped slug to a product or source

`GET https://api.releases.sh/v1/orgs/{org}/resolve/{slug}`

Product-first: returns `{ kind: "product", product }` when a product owns the slug, else `{ kind: "source", source }` for a source, else 404. One round trip for the bare `/[org]/[slug]` web route (#1190).

**Auth:** optional Bearer token.

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `org` | path | string | yes | Organization slug or `org_…` ID. |
| `slug` | path | string | yes | Org-scoped product or source slug to resolve (product-first). |

**Responses**

- `200` Discriminated product or source detail
- `404` Neither a product nor a source matched

Full request and response schemas: [OpenAPI 3.1 spec](https://api.releases.sh/v1/openapi.json).
