Derive Folders API

The Folders API from Derive — 3 operation(s) for folders.

Operations 5

GET /v1/collections/{id}/folders A collection's folders + its item→folder assignments (any collection role) #
POST /v1/collections/{id}/folders Create a folder in a collection (collection editors) #
PATCH /v1/folders/{id} Rename a folder (collection editors) #
DELETE /v1/folders/{id} Delete a folder (collection editors); its items become unfiled, not removed #
PUT /v1/collections/{id}/items/{shortId}/folder File a collection's artifact under a folder, or unfile it (collection editors) #

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-folders-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-folders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Derive Folders 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: Folders
paths:
  /v1/collections/{id}/folders:
    get:
      tags:
      - Folders
      summary: A collection's folders + its item→folder assignments (any collection role)
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Folders (name order) and the artifact→folder map for grouping.
          content:
            application/json:
              schema:
                type: object
                properties:
                  folders:
                    type: array
                    items:
                      $ref: '#/components/schemas/Folder'
                  assignments:
                    type: object
                    additionalProperties:
                      type: string
                    description: artifact short_id → folder id (filed items only).
                required:
                - folders
                - assignments
      operationId: getV1CollectionsByIdFolders
      x-operation-id-source: derived
    post:
      tags:
      - Folders
      summary: Create a folder in a collection (collection editors)
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '201':
          description: The created folder.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Folder'
      operationId: postV1CollectionsByIdFolders
      x-operation-id-source: derived
  /v1/folders/{id}:
    patch:
      tags:
      - Folders
      summary: Rename a folder (collection editors)
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '200':
          description: The updated folder.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Folder'
      operationId: patchV1FoldersById
      x-operation-id-source: derived
    delete:
      tags:
      - Folders
      summary: Delete a folder (collection editors); its items become unfiled, not removed
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '204':
          description: Deleted; the collection's artifacts are un-filed, not removed.
      operationId: deleteV1FoldersById
      x-operation-id-source: derived
  /v1/collections/{id}/items/{shortId}/folder:
    put:
      tags:
      - Folders
      summary: File a collection's artifact under a folder, or unfile it (collection editors)
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      - schema:
          type: string
        required: true
        name: shortId
        in: path
      responses:
        '204':
          description: Filed (or unfiled when folderId is null).
      operationId: putV1CollectionsByIdItemsByShortIdFolder
      x-operation-id-source: derived
components:
  schemas:
    Folder:
      type: object
      properties:
        id:
          type: string
        collectionId:
          type: string
          description: The collection this folder organizes.
        name:
          type: string
        created_by:
          type: string
          description: Creator's user id ("anon" if created anonymously).
        created_at:
          type: string
      required:
      - id
      - collectionId
      - name
      - created_by
      - created_at