Keep Tags and collections API

The Tags and collections API from Keep — 3 operation(s) for tags and collections.

GitHub OpenAPI

Operations 6

GET /api/tags List tags #
POST /api/tags Create or return a tag #
PATCH /api/tags/{slug} Update a tag name or description #
DELETE /api/tags/{slug} Delete a tag without deleting Notes or Items #
GET /api/collections List collections #
POST /api/collections Create or return a collection #

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/keep-md:keep-md-tags-and-collections-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

keep-md-tags-and-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Keep Tags and collections API
  version: 0.2.0
  description: The stable API for Keep accounts, saved Items, Notes, Projects, sources, exports, and webhooks.
servers:
- url: https://keep.md
  description: Production
security:
- bearerAuth: []
- sessionCookie: []
tags:
- name: Tags and collections
paths:
  /api/tags:
    get:
      tags:
      - Tags and collections
      operationId: listTags
      summary: List tags
      responses:
        '200':
          description: Tags
          content:
            application/json:
              schema:
                type: object
                required:
                - tags
                properties:
                  tags:
                    type: array
                    items:
                      $ref: '#/components/schemas/Tag'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '403':
          description: The credential lacks access or the plan does not include the feature
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
      description: List tags.
      parameters:
      - $ref: '#/components/parameters/Keep-API-Version'
    post:
      tags:
      - Tags and collections
      operationId: createTag
      summary: Create or return a tag
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
              additionalProperties: false
      responses:
        '200':
          description: Tag
          content:
            application/json:
              schema:
                type: object
                required:
                - tag
                properties:
                  tag:
                    $ref: '#/components/schemas/Tag'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '403':
          description: The credential lacks access or the plan does not include the feature
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
      description: Create or return a tag.
      parameters:
      - $ref: '#/components/parameters/Keep-API-Version'
  /api/tags/{slug}:
    parameters:
    - name: slug
      in: path
      required: true
      description: Current tag slug
      schema:
        type: string
    patch:
      tags:
      - Tags and collections
      operationId: updateTag
      summary: Update a tag name or description
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                description:
                  type:
                  - string
                  - 'null'
              additionalProperties: false
      responses:
        '200':
          description: Updated tag
          content:
            application/json:
              schema:
                type: object
                required:
                - tag
                properties:
                  tag:
                    $ref: '#/components/schemas/Tag'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '403':
          description: The credential lacks access or the plan does not include the feature
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '409':
          description: The request conflicts with the current resource state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
      description: Update a tag name or description.
      parameters:
      - $ref: '#/components/parameters/Keep-API-Version'
    delete:
      tags:
      - Tags and collections
      operationId: deleteTag
      summary: Delete a tag without deleting Notes or Items
      responses:
        '200':
          description: Deleted tag
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OkResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '403':
          description: The credential lacks access or the plan does not include the feature
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
      description: Delete a tag without deleting Notes or Items.
      parameters:
      - $ref: '#/components/parameters/Keep-API-Version'
  /api/collections:
    get:
      tags:
      - Tags and collections
      operationId: listCollections
      summary: List collections
      responses:
        '200':
          description: Collections
          content:
            application/json:
              schema:
                type: object
                required:
                - collections
                properties:
                  collections:
                    type: array
                    items:
                      $ref: '#/components/schemas/Collection'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '403':
          description: The credential lacks access or the plan does not include the feature
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
      description: List collections.
      parameters:
      - $ref: '#/components/parameters/Keep-API-Version'
    post:
      tags:
      - Tags and collections
      operationId: createCollection
      summary: Create or return a collection
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
              additionalProperties: false
      responses:
        '200':
          description: Collection
          content:
            application/json:
              schema:
                type: object
                required:
                - collection
                properties:
                  collection:
                    $ref: '#/components/schemas/Collection'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '403':
          description: The credential lacks access or the plan does not include the feature
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers:
            Keep-API-Version:
              $ref: '#/components/headers/Keep-API-Version'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
      description: Create or return a collection.
      parameters:
      - $ref: '#/components/parameters/Keep-API-Version'
components:
  headers:
    Keep-API-Version:
      description: The date-based version used for this response.
      schema:
        type: string
        example: '2026-08-24'
    RateLimit-Policy:
      description: The request quota and time window for the active policy.
      schema:
        type: string
        example: '"api";q=300;w=60'
    RateLimit:
      description: The remaining quota and reset time. It is returned when a limit is reached.
      schema:
        type: string
        example: '"api";r=0;t=60'
    Link:
      description: A link to migration information for a deprecated version.
      schema:
        type: string
    Retry-After:
      description: Seconds to wait before another request.
      schema:
        type: integer
        example: 60
    Sunset:
      description: The date after which a deprecated API version stops working.
      schema:
        type: string
        format: http-date
    Deprecation:
      description: The Structured Field date when the selected API version became deprecated.
      schema:
        type: string
        example: '@1819756800'
  schemas:
    Tag:
      type: object
      required:
      - id
      - name
      - slug
      properties:
        id:
          type: string
        name:
          type: string
        slug:
          type: string
        description:
          type:
          - string
          - 'null'
        count:
          type: integer
        itemCount:
          type: integer
        noteCount:
          type: integer
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
        message:
          type: string
        limit:
          type: integer
        resolution:
          type: string
          description: A suggested action that can resolve the error.
      additionalProperties: true
    OkResponse:
      type: object
      required:
      - ok
      properties:
        ok:
          type: boolean
      additionalProperties: true
    Collection:
      type: object
      required:
      - id
      - name
      - slug
      properties:
        id:
          type: string
        name:
          type: string
        slug:
          type: string
      additionalProperties: true
  parameters:
    Keep-API-Version:
      name: Keep-API-Version
      in: header
      required: false
      description: Optional date-based Keep API version. Omit it to use the current version.
      schema:
        type: string
        example: '2026-08-24'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Keep API key
      description: A personal Keep API key.
    sessionCookie:
      type: apiKey
      in: cookie
      name: keep.session_token
      description: The authenticated Keep web session. Token management requires this session.
x-api-version-header: Keep-API-Version
x-current-api-version: '2026-08-24'
x-versioning-policy:
  strategy: date-based request header
  default: The current version is used when the header is omitted.
  deprecation: Deprecated versions remain available for at least six months and return Deprecation, Sunset, and Link headers.