Cleve Folders API

Folders that group notes.

GitHub OpenAPI

Operations 4

GET /folders List folders #
POST /folders Create a folder #
PATCH /folders/{folderId} Rename a folder #
DELETE /folders/{folderId} Delete a folder #

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/cleve-ai:cleve-ai-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

cleve-ai-folders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cleve Ai Folders API
  version: 1.0.0
  contact:
    name: Cleve support
    email: support@cleve.ai
    url: https://docs.cleve.ai/developers/api
  termsOfService: https://www.cleve.ai/terms
  description: 'Operations tagged Folders across 2 of this provider''s published API definitions: cleve-ai-openapi.json, cleve-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.cleve.ai/api/v1
  description: Production
security:
- bearerAuth: []
tags:
- name: Folders
  description: Folders that group notes.
paths:
  /folders:
    get:
      operationId: listFolders
      summary: List folders
      description: Lists every folder in the workspace as a flat list. Nesting is given by `parentId`.
      tags:
      - Folders
      responses:
        '200':
          description: The folders.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Folder'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected server error. Safe to retry once.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      operationId: createFolder
      summary: Create a folder
      description: Creates a folder, optionally inside another folder. Returns the new folder's ID.
      tags:
      - Folders
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FolderCreate'
      responses:
        '201':
          description: The folder was created.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: object
                    required:
                    - folderId
                    properties:
                      folderId:
                        type: string
        '400':
          description: The request is invalid. `error` says which field is missing or wrong.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected server error. Safe to retry once.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://app.cleve.ai/api/v1
      description: Production
  /folders/{folderId}:
    patch:
      operationId: renameFolder
      summary: Rename a folder
      description: Renames a folder.
      tags:
      - Folders
      parameters:
      - name: folderId
        in: path
        required: true
        description: Folder ID, as returned by listFolders or createFolder.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FolderUpdate'
      responses:
        '200':
          description: The folder was renamed.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/Success'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected server error. Safe to retry once.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      operationId: deleteFolder
      summary: Delete a folder
      description: Deletes a folder. Its notes and subfolders move up one level; they are not deleted.
      tags:
      - Folders
      parameters:
      - name: folderId
        in: path
        required: true
        description: Folder ID, as returned by listFolders or createFolder.
        schema:
          type: string
      responses:
        '200':
          description: The folder was deleted.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/Success'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected server error. Safe to retry once.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://app.cleve.ai/api/v1
      description: Production
components:
  schemas:
    Error:
      type: object
      description: Every error response has this shape.
      required:
      - error
      - code
      - hint
      - docs
      properties:
        error:
          type: string
          description: Human-readable message.
          examples:
          - Note not found
        code:
          type: string
          description: Stable machine-readable error code.
          enum:
          - bad_request
          - unauthorized
          - forbidden
          - not_found
          - method_not_allowed
          - internal_error
        hint:
          type: string
          description: How to resolve the error.
        docs:
          type: string
          format: uri
          description: Where to read more.
    FolderCreate:
      type: object
      required:
      - name
      properties:
        name:
          type: string
          minLength: 1
        parentId:
          type: string
          description: Create the folder inside this folder.
      examples:
      - name: Research
    Folder:
      type: object
      required:
      - _id
      - _creationTime
      - name
      properties:
        _id:
          type: string
          description: Folder ID.
        _creationTime:
          type: number
          description: Creation time, milliseconds since the Unix epoch.
        userId:
          type: string
          description: ID of the folder's owner.
        name:
          type: string
        parentId:
          type: string
          description: Parent folder ID. Absent for top-level folders.
        isPublic:
          type: boolean
        isPublished:
          type: boolean
        publishedAt:
          type: number
        orgId:
          type: string
          description: Workspace ID.
    Success:
      type: object
      required:
      - success
      properties:
        success:
          type: boolean
          const: true
    FolderUpdate:
      type: object
      required:
      - name
      properties:
        name:
          type: string
          minLength: 1
      examples:
      - name: Renamed folder
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Personal API key from Cleve → Settings → Developer, sent as `Authorization: Bearer <key>`.'
externalDocs:
  description: Cleve REST API guide
  url: https://docs.cleve.ai/developers/api
x-refined-from:
- cleve-ai-openapi.json
- cleve-ai-openapi.yml