Civitai · Arazzo Workflow

Civitai Vault Add and Verify

Version 1.0.0

Confirm the user, check vault capacity, add a model version to the vault, and verify storage.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Artificial IntelligenceImage-GenerationVideo GenerationStable DiffusionSDXLFluxLoRAModel HostingCommunityGenerative AIArazzoWorkflows

Provider

civitai

Workflows

vault-toggle-verify
Verify the user and vault status, toggle a version in, and confirm storage.
Reads the current user and vault status, toggles a model version into the vault, and re-fetches the vault item to verify the result.
4 steps inputs: apiKey, modelVersionId outputs: status, username, vaultItemId
1
confirmUser
Confirm the authenticated user and capture their membership tier.
2
checkVaultStatus
Read the vault subscription and storage status before adding a new version.
3
toggleVersion
Toggle the requested model version into the vault.
4
verifyVaultItem
Re-read the vault item for the model version to confirm it is stored or pending.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Civitai Vault Add and Verify
  summary: Confirm the user, check vault capacity, add a model version to the vault, and verify storage.
  description: >-
    Manages a membership user's saved-model vault. The workflow confirms the
    authenticated user, checks the vault subscription and storage status, toggles
    a model version into the vault, and then re-reads the vault item to confirm
    the version was stored. Every step spells out its request inline so the flow
    can be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: usersApi
  url: ../openapi/civitai-users-api-openapi.yml
  type: openapi
- name: vaultApi
  url: ../openapi/civitai-vault-api-openapi.yml
  type: openapi
workflows:
- workflowId: vault-toggle-verify
  summary: Verify the user and vault status, toggle a version in, and confirm storage.
  description: >-
    Reads the current user and vault status, toggles a model version into the
    vault, and re-fetches the vault item to verify the result.
  inputs:
    type: object
    required:
    - apiKey
    - modelVersionId
    properties:
      apiKey:
        type: string
        description: Civitai personal API token used as a Bearer credential.
      modelVersionId:
        type: integer
        description: The model version id to toggle into the user's vault.
  steps:
  - stepId: confirmUser
    description: >-
      Confirm the authenticated user and capture their membership tier.
    operationId: getCurrentUser
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      username: $response.body#/username
      tier: $response.body#/tier
  - stepId: checkVaultStatus
    description: >-
      Read the vault subscription and storage status before adding a new
      version.
    operationId: checkVault
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      subscribed: $response.body#/subscribed
      storageUsedKb: $response.body#/storageUsedKb
      storageLimitKb: $response.body#/storageLimitKb
  - stepId: toggleVersion
    description: >-
      Toggle the requested model version into the vault.
    operationId: toggleVaultVersion
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        modelVersionId: $inputs.modelVersionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      vaultItemId: $response.body#/id
      toggledStatus: $response.body#/status
  - stepId: verifyVaultItem
    description: >-
      Re-read the vault item for the model version to confirm it is stored or
      pending.
    operationId: getVaultItem
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    - name: modelVersionId
      in: query
      value: $inputs.modelVersionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
      addedAt: $response.body#/addedAt
      sizeKb: $response.body#/sizeKb
  outputs:
    username: $steps.confirmUser.outputs.username
    vaultItemId: $steps.toggleVersion.outputs.vaultItemId
    status: $steps.verifyVaultItem.outputs.status

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/civitai-vault-toggle-verify-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.