Derive Favorites API

The caller's favorited artifacts.

Operations 6

PUT /v1/artifacts/{shortId}/favorite Star an artifact #
DELETE /v1/artifacts/{shortId}/favorite Unstar an artifact #
PUT /v1/artifacts/{shortId}/tags Set an artifact's browse tags (editors) #
POST /v1/bulk/tags Add browse tags to many artifacts (per-artifact editor-gated) #
POST /v1/bulk/favorite Star or unstar many artifacts (any reader) #
GET /v1/artifacts/{shortId}/tag-suggestions Suggest browse tags from similar artifacts + the workspace vocabulary #

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/derive-to:derive-to-favorites-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

derive-to-favorites-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Derive Favorites API
  version: 1.0.0
  description: 'Derive''s HTTP API. Every response shape here is the single source of truth for the web client — generated from the same Zod schemas that back this reference, so the docs never drift from the running API.


    **Auth:** a session cookie (browser) or a bearer token (agents and the CLI). Most write routes are scoped to the caller''s active workspace. The `/v1` paths are the stable product surface; `/openapi.json` serves this spec and `/docs` renders it.'
tags:
- name: Favorites
  description: The caller's favorited artifacts.
paths:
  /v1/artifacts/{shortId}/favorite:
    put:
      tags:
      - Favorites
      summary: Star an artifact
      parameters:
      - schema:
          type: string
        required: true
        name: shortId
        in: path
      responses:
        '200':
          description: Starred.
          content:
            application/json:
              schema:
                type: object
                properties:
                  favorite:
                    type: boolean
                required:
                - favorite
      operationId: putV1ArtifactsByShortIdFavorite
      x-operation-id-source: derived
    delete:
      tags:
      - Favorites
      summary: Unstar an artifact
      parameters:
      - schema:
          type: string
        required: true
        name: shortId
        in: path
      responses:
        '200':
          description: Unstarred.
          content:
            application/json:
              schema:
                type: object
                properties:
                  favorite:
                    type: boolean
                required:
                - favorite
      operationId: deleteV1ArtifactsByShortIdFavorite
      x-operation-id-source: derived
  /v1/artifacts/{shortId}/tags:
    put:
      tags:
      - Favorites
      summary: Set an artifact's browse tags (editors)
      parameters:
      - schema:
          type: string
        required: true
        name: shortId
        in: path
      responses:
        '200':
          description: The normalized tags.
          content:
            application/json:
              schema:
                type: object
                properties:
                  tags:
                    type: array
                    items:
                      type: string
                required:
                - tags
      operationId: putV1ArtifactsByShortIdTags
      x-operation-id-source: derived
  /v1/bulk/tags:
    post:
      tags:
      - Favorites
      summary: Add browse tags to many artifacts (per-artifact editor-gated)
      responses:
        '200':
          description: How many were tagged / skipped / failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkSummary'
      operationId: postV1BulkTags
      x-operation-id-source: derived
  /v1/bulk/favorite:
    post:
      tags:
      - Favorites
      summary: Star or unstar many artifacts (any reader)
      responses:
        '200':
          description: How many were starred / skipped / failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkSummary'
      operationId: postV1BulkFavorite
      x-operation-id-source: derived
  /v1/artifacts/{shortId}/tag-suggestions:
    get:
      tags:
      - Favorites
      summary: Suggest browse tags from similar artifacts + the workspace vocabulary
      parameters:
      - schema:
          type: string
        required: true
        name: shortId
        in: path
      responses:
        '200':
          description: Current tags, suggestions from similar artifacts, and the vocabulary.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagSuggestions'
      operationId: getV1ArtifactsByShortIdTagSuggestions
      x-operation-id-source: derived
components:
  schemas:
    BulkSummary:
      type: object
      properties:
        ok:
          type: number
          description: Artifacts the operation applied to.
        skipped:
          type: number
          description: Not found, or the caller may not do this to it — not an error.
        failed:
          type: number
          description: The write was attempted but threw.
      required:
      - ok
      - skipped
      - failed
    TagSuggestions:
      type: object
      properties:
        current:
          type: array
          items:
            type: string
          description: Tags already on the artifact.
        suggested:
          type: array
          items:
            type: object
            properties:
              tag:
                type: string
              count:
                type: number
            required:
            - tag
            - count
          description: Tags from similar artifacts, most-shared first; excludes current tags.
        vocabulary:
          type: array
          items:
            type: object
            properties:
              tag:
                type: string
              count:
                type: number
            required:
            - tag
            - count
          description: Every tag in the workspace with its usage count, most-used first.
      required:
      - current
      - suggested
      - vocabulary