Release Notes Index Related API

Vectorize-backed similarity rails for releases and sources.

GitHub OpenAPI

Operations 2

GET /related/releases Releases semantically similar to an anchor release #
GET /related/sources Sources semantically similar to an anchor source #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/releases-sh:releases-sh-related-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

releases-sh-related-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Releases Related API
  description: 'REST API for the Releases changelog registry — orgs, products, sources, releases, and search.


    **Links:** releases.sh · Narrative docs · Errors · MCP server'
  version: 1.0.0
servers:
- url: https://api.releases.sh/v1
  description: Production
tags:
- name: Related
  description: Vectorize-backed similarity rails for releases and sources.
paths:
  /related/releases:
    get:
      operationId: getRelatedReleases
      tags:
      - Related
      summary: Releases semantically similar to an anchor release
      description: 'Pulls the anchor''s vector from the `RELEASES_INDEX` Vectorize index via `getByIds`, then runs a follow-up `query` with that vector. The anchor itself is always excluded from results. `scope=org` filters by the anchor''s org id (Vectorize metadata filter on `org_id`); `scope=global` (default) is unscoped.


        **Degrades gracefully:** when the binding is missing, the anchor isn''t embedded yet, or Vectorize errors, the response is `{ degraded: true, degradedReason, items: [] }` with HTTP 200 — callers render nothing in that case. `degradedReason` is human-readable and not stable.


        **Ranking:** `topK` is over-fetched (`min(max(limit * 10, 50), 100)`), then candidates are ranked server-side by `cosine × recency × contentWeight` and sliced to `limit`. Content-free releases (empty bodies, boilerplate "no changes" notes) are dropped entirely; short-but-real releases are down-weighted; recency uses a 45-day half-life. Items are returned already in display order.'
      parameters:
      - name: release
        in: query
        required: true
        schema:
          type: string
        description: Anchor release id (`rel_…`).
      - name: scope
        in: query
        required: false
        schema:
          type: string
          enum:
          - org
          - global
          default: global
        description: Restrict candidates to the anchor's org, or run unscoped.
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 25
          default: 8
        description: Max neighbors to return. Clamped to 1–25.
      - name: excludeOrg
        in: query
        required: false
        schema:
          type: string
        description: Org slug to drop from results before slicing. Used by the global rail to avoid overlap with an org-scoped rail rendered alongside it.
      responses:
        '200':
          description: Successful or degraded neighbor list.
          content:
            application/json:
              schema:
                anyOf:
                - type: object
                  properties:
                    scope:
                      type: string
                      enum:
                      - org
                      - global
                    items:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          title:
                            type: string
                          version:
                            type:
                            - string
                            - 'null'
                          url:
                            type:
                            - string
                            - 'null'
                          publishedAt:
                            type:
                            - string
                            - 'null'
                          summary:
                            type: string
                          titleGenerated:
                            type:
                            - string
                            - 'null'
                          titleShort:
                            type:
                            - string
                            - 'null'
                          importance:
                            anyOf:
                            - type: integer
                              minimum: 1
                              maximum: 5
                            - type: 'null'
                          thumbnail:
                            anyOf:
                            - type: object
                              properties:
                                url:
                                  type: string
                                alt:
                                  type: string
                              required:
                              - url
                              additionalProperties: false
                            - type: 'null'
                          score:
                            type: number
                          source:
                            type: object
                            properties:
                              id:
                                type: string
                              slug:
                                type: string
                              name:
                                type: string
                              productName:
                                type:
                                - string
                                - 'null'
                              orgSlug:
                                type:
                                - string
                                - 'null'
                              orgName:
                                type:
                                - string
                                - 'null'
                              orgAvatarUrl:
                                type:
                                - string
                                - 'null'
                              appStore:
                                type: object
                                properties:
                                  platform:
                                    type: string
                                    enum:
                                    - ios
                                    - macos
                                  iconUrl:
                                    type:
                                    - string
                                    - 'null'
                                required:
                                - platform
                                - iconUrl
                                additionalProperties: false
                            required:
                            - id
                            - slug
                            - name
                            - productName
                            - orgSlug
                            - orgName
                            - orgAvatarUrl
                            additionalProperties: false
                        required:
                        - id
                        - title
                        - version
                        - url
                        - publishedAt
                        - summary
                        - titleGenerated
                        - titleShort
                        - thumbnail
                        - score
                        - source
                        additionalProperties: false
                  required:
                  - scope
                  - items
                  additionalProperties: false
                - type: object
                  properties:
                    degraded:
                      type: boolean
                      const: true
                    degradedReason:
                      type: string
                    items:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          title:
                            type: string
                          version:
                            type:
                            - string
                            - 'null'
                          url:
                            type:
                            - string
                            - 'null'
                          publishedAt:
                            type:
                            - string
                            - 'null'
                          summary:
                            type: string
                          titleGenerated:
                            type:
                            - string
                            - 'null'
                          titleShort:
                            type:
                            - string
                            - 'null'
                          importance:
                            anyOf:
                            - type: integer
                              minimum: 1
                              maximum: 5
                            - type: 'null'
                          thumbnail:
                            anyOf:
                            - type: object
                              properties:
                                url:
                                  type: string
                                alt:
                                  type: string
                              required:
                              - url
                              additionalProperties: false
                            - type: 'null'
                          score:
                            type: number
                          source:
                            type: object
                            properties:
                              id:
                                type: string
                              slug:
                                type: string
                              name:
                                type: string
                              productName:
                                type:
                                - string
                                - 'null'
                              orgSlug:
                                type:
                                - string
                                - 'null'
                              orgName:
                                type:
                                - string
                                - 'null'
                              orgAvatarUrl:
                                type:
                                - string
                                - 'null'
                              appStore:
                                type: object
                                properties:
                                  platform:
                                    type: string
                                    enum:
                                    - ios
                                    - macos
                                  iconUrl:
                                    type:
                                    - string
                                    - 'null'
                                required:
                                - platform
                                - iconUrl
                                additionalProperties: false
                            required:
                            - id
                            - slug
                            - name
                            - productName
                            - orgSlug
                            - orgName
                            - orgAvatarUrl
                            additionalProperties: false
                        required:
                        - id
                        - title
                        - version
                        - url
                        - publishedAt
                        - summary
                        - titleGenerated
                        - titleShort
                        - thumbnail
                        - score
                        - source
                        additionalProperties: false
                  required:
                  - degraded
                  - degradedReason
                  - items
                  additionalProperties: false
        '400':
          description: Missing `release` query parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: No release matches the supplied id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      x-releases-visibility: public
      security:
      - {}
      - bearerAuth: []
  /related/sources:
    get:
      operationId: getRelatedSources
      tags:
      - Related
      summary: Sources semantically similar to an anchor source
      description: 'Pulls the anchor source''s vector from the polymorphic `ENTITIES_INDEX` (orgs + products + sources) via `getByIds`, then runs `query` restricted to `type=source` so the candidate pool isn''t wasted on parent orgs/products that would be filtered out post-hydration anyway. `scope=org` adds an `org_id` filter; `scope=global` (default) keeps the source filter only.


        **Degrades gracefully** the same way `/v1/related/releases` does — missing binding, unembedded anchor, or query error returns `{ degraded: true, degradedReason, items: [] }` with HTTP 200.


        Each surviving row carries its source basics plus an org rollup and a recent-release window-function stat block (`releaseCount`, `latestDate`, `latestTitle`, `latestVersion`, `recentCount`) so a rail card can render without follow-up requests.'
      parameters:
      - name: source
        in: query
        required: true
        schema:
          type: string
        description: Anchor source id (`src_…`) or slug.
      - name: scope
        in: query
        required: false
        schema:
          type: string
          enum:
          - org
          - global
          default: global
        description: Restrict candidates to the anchor's org, or run unscoped.
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 25
          default: 6
        description: Max neighbors to return. Clamped to 1–25.
      responses:
        '200':
          description: Successful or degraded neighbor list.
          content:
            application/json:
              schema:
                anyOf:
                - type: object
                  properties:
                    scope:
                      type: string
                      enum:
                      - org
                      - global
                    items:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          slug:
                            type: string
                          name:
                            type: string
                          type:
                            type: string
                          url:
                            type:
                            - string
                            - 'null'
                          score:
                            type: number
                          orgSlug:
                            type:
                            - string
                            - 'null'
                          orgName:
                            type:
                            - string
                            - 'null'
                          orgAvatarUrl:
                            type:
                            - string
                            - 'null'
                          releaseCount:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          latestDate:
                            type:
                            - string
                            - 'null'
                          latestTitle:
                            type:
                            - string
                            - 'null'
                          latestVersion:
                            type:
                            - string
                            - 'null'
                          recentCount:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                        required:
                        - id
                        - slug
                        - name
                        - type
                        - url
                        - score
                        - orgSlug
                        - orgName
                        - orgAvatarUrl
                        - releaseCount
                        - latestDate
                        - latestTitle
                        - latestVersion
                        - recentCount
                        additionalProperties: false
                  required:
                  - scope
                  - items
                  additionalProperties: false
                - type: object
                  properties:
                    degraded:
                      type: boolean
                      const: true
                    degradedReason:
                      type: string
                    items:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          slug:
                            type: string
                          name:
                            type: string
                          type:
                            type: string
                          url:
                            type:
                            - string
                            - 'null'
                          score:
                            type: number
                          orgSlug:
                            type:
                            - string
                            - 'null'
                          orgName:
                            type:
                            - string
                            - 'null'
                          orgAvatarUrl:
                            type:
                            - string
                            - 'null'
                          releaseCount:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          latestDate:
                            type:
                            - string
                            - 'null'
                          latestTitle:
                            type:
                            - string
                            - 'null'
                          latestVersion:
                            type:
                            - string
                            - 'null'
                          recentCount:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                        required:
                        - id
                        - slug
                        - name
                        - type
                        - url
                        - score
                        - orgSlug
                        - orgName
                        - orgAvatarUrl
                        - releaseCount
                        - latestDate
                        - latestTitle
                        - latestVersion
                        - recentCount
                        additionalProperties: false
                  required:
                  - degraded
                  - degradedReason
                  - items
                  additionalProperties: false
        '400':
          description: Missing `source` query parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: No source matches the supplied identifier.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      x-releases-visibility: public
      security:
      - {}
      - bearerAuth: []
components:
  schemas:
    ErrorEnvelope:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Stable, specific machine code (e.g. `not_found`, `rate_limited`). Never reworded once shipped, but open-ended — branch defensively on codes you don't recognize.
            type:
              type: string
              enum:
              - validation
              - unauthorized
              - forbidden
              - insufficient_scope
              - not_found
              - conflict
              - too_large
              - rate_limited
              - upstream
              - unavailable
              - internal
              description: Coarse category from a fixed set; determines the HTTP status. Safe to switch on.
            message:
              type: string
              description: Human-readable explanation. May change; do not parse.
            details:
              description: Optional structured context carried by select codes (e.g. `database_not_initialized`).
          required:
          - code
          - type
          - message
      required:
      - error
      description: Standardized error response — every non-2xx response uses this shape. Switch on `error.type` (fixed set → HTTP status) or match `error.code` (specific, stable). See https://releases.sh/docs/api/errors.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: relk_… | relu_… | OAuth JWT
      description: Machine/operator tokens use the relk_ prefix; self-serve read-only user keys use relu_; Sign in with Releases supplies an OAuth access token. Required scope depends on the endpoint.