Civitai Vault API

A user's saved-model vault (membership tiers).

Operations 4

GET /vault/get Get Vault Item #
GET /vault/all Get All Vault Items #
GET /vault/check-vault Check Vault Status #
POST /vault/toggle-version Toggle Vault Version #

Documentation

Specifications

Schemas & Data

Other Resources

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/civitai-vault-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

civitai-vault-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Civitai Site Vault API
  version: '1.0'
  description: 'Browse and search the Civitai public catalog of Stable Diffusion, SDXL, Flux, and video models.

    Exposes models, model versions, images, creators, tags, users, permissions, and the user vault.

    Public read endpoints are cached; authenticated endpoints are not. Authenticate with a personal

    API key issued at civitai.com using a Bearer token.

    '
  contact:
    name: Civitai Developer Support
    url: https://developer.civitai.com/
  termsOfService: https://civitai.com/content/tos
  license:
    name: Civitai Terms of Service
    url: https://civitai.com/content/tos
servers:
- url: https://civitai.com/api/v1
  description: Civitai Site API
security:
- BearerAuth: []
- {}
tags:
- name: Vault
  description: A user's saved-model vault (membership tiers).
paths:
  /vault/get:
    get:
      operationId: getVaultItem
      summary: Get Vault Item
      tags:
      - Vault
      security:
      - BearerAuth: []
      parameters:
      - name: modelVersionId
        in: query
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Vault item.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VaultItem'
  /vault/all:
    get:
      operationId: getAllVaultItems
      summary: Get All Vault Items
      tags:
      - Vault
      security:
      - BearerAuth: []
      responses:
        '200':
          description: All vault items for the current user.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VaultItem'
  /vault/check-vault:
    get:
      operationId: checkVault
      summary: Check Vault Status
      tags:
      - Vault
      security:
      - BearerAuth: []
      responses:
        '200':
          description: Vault subscription/storage status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VaultStatus'
  /vault/toggle-version:
    post:
      operationId: toggleVaultVersion
      summary: Toggle Vault Version
      tags:
      - Vault
      security:
      - BearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - modelVersionId
              properties:
                modelVersionId:
                  type: integer
      responses:
        '200':
          description: Vault item after toggle.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VaultItem'
components:
  schemas:
    VaultStatus:
      type: object
      properties:
        subscribed:
          type: boolean
        storageUsedKb:
          type: number
        storageLimitKb:
          type: number
        tier:
          type: string
    VaultItem:
      type: object
      properties:
        id:
          type: integer
        modelVersionId:
          type: integer
        modelId:
          type: integer
        addedAt:
          type: string
          format: date-time
        status:
          type: string
          enum:
          - Pending
          - Stored
          - Failed
        sizeKb:
          type: number
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: token
      description: Personal API token issued at https://civitai.com/user/account.