Anaconda System API

System endpoints - version, health, etc.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /system Check Anaconda Server health and version · Get system information such as health, version, etc #
Ask an LLM
“Is my Anaconda Server up and what version is it running?”
“Can I check the system health before pushing updates?”
Tell an agent
Check the system health and version.
Get the server's current version and health status.
GET /system/stats Get disk and system stats · Get system stats such as disk usage, etc #
Ask an LLM
“How much disk space is left on my Anaconda Server?”
“What system stats are available for monitoring?”
Tell an agent
Show disk usage and system stats.
Report current system disk and memory stats.
GET /system/metrics Get system metrics in OpenMetrics format · Get system metrics in OpenMetrics format #
Ask an LLM
“Can I pull system metrics in OpenMetrics format for Prometheus?”
“Is there a way to filter system metrics by name?”
Tell an agent
Get system metrics in OpenMetrics format.
Fetch OpenMetrics system metrics named {name}.
GET /system/scopes List all scopes in the system · Get all possible scopes in system #
Ask an LLM
“Which scopes exist in my Anaconda Server system?”
“What scopes are available for role management?”
Tell an agent
List all system scopes.
Show every scope defined in the system.
GET /system/resource_types List resource types for roles · Get all possible resource types, used for role management #
Ask an LLM
“What resource types can I assign roles to?”
“Which resource types exist for role management?”
Tell an agent
List all resource types used in role management.
Show the resource types available for roles.
GET /system/license Get the current license key · Get current license information #
Ask an LLM
“What license key is currently installed on my server?”
“When does my current license expire?”
Tell an agent
Show the current license key.
Get the installed license information.
POST /system/license Add a new license key · Add license key #
Ask an LLM
“How do I add a new license key to my server?”
“Can I install a license key for a new subscription?”
Tell an agent
Add license key {license_key} to the server.
Install a new license key {license_key}.
PUT /system/license Reactivate or update the license key · Update or re-activate license key #
Ask an LLM
“How do I reactivate an expired license key?”
“Can I replace the current license key with a new one?”
Tell an agent
Reactivate the current license key.
Replace the installed license key with a new one.
GET /system/settings Get current system settings · Get current system settings #
Ask an LLM
“What system settings are currently configured?”
“Which settings control user channel creation?”
Tell an agent
Show the current system settings.
Get the server's configuration settings.
PUT /system/settings Update system settings · Update system settings #
Ask an LLM
“How do I stop Anaconda from creating a user channel on first login?”
“Can I turn off the intro screen after a settings reset?”
Tell an agent
Set user channel auto-create to {user_channel_autocreate}.
Set show intro screen to {show_intro}.
DELETE /system/blob_cleanup Clean up all orphan blobs · Action to cleanup orphan blobs for users with system management roles #
Ask an LLM
“How do I clear every orphan blob on the server?”
“Can I find and remove all orphan blobs at once?”
Tell an agent destructive · confirm first
Clean up all orphan blobs on the server.
Remove every orphan blob.
POST /system/blob_cleanup Clean up specific orphan blobs · Action to cleanup given list of blobs #
Ask an LLM
“How do I clean up orphan blobs I've listed by SHA256?”
“Can I remove orphan blobs that are not index artifacts?”
Tell an agent destructive · confirm first
Clean up the orphan blobs I list.
Remove the orphan blobs that are not index artifacts.

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/anaconda:anaconda-system-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

anaconda-system-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '6.5'
  title: Anaconda Server System API
  description: System endpoints - version, health, etc.
servers:
- url: https://api.anaconda.cloud/api
tags:
- name: System
  description: System endpoints - version, health, etc.
paths:
  /system:
    get:
      tags:
      - System
      summary: Get system information such as health, version, etc
      operationId: repo.endpoints.system.health
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/System'
        '400':
          $ref: '#/components/responses/BadRequest'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /system/stats:
    get:
      tags:
      - System
      summary: Get system stats such as disk usage, etc
      operationId: repo.endpoints.system.stats
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemStats'
        '400':
          $ref: '#/components/responses/BadRequest'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - jwt: []
  /system/metrics:
    get:
      tags:
      - System
      summary: Get system metrics in OpenMetrics format
      operationId: repo.endpoints.system.metrics
      parameters:
      - in: query
        name: name[]
        required: false
        description: metrics name filter
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: Exported metrics
          content:
            application/openmetrics-text:
              schema:
                type: string
            application/json:
              schema:
                $ref: '#/components/schemas/OpenMetrics'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /system/scopes:
    get:
      tags:
      - System
      summary: Get all possible scopes in system
      operationId: repo.endpoints.system.scopes
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - jwt: []
      - user_token: []
  /system/resource_types:
    get:
      tags:
      - System
      summary: Get all possible resource types, used for role management
      operationId: repo.endpoints.system.resource_types
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - jwt: []
  /system/license:
    get:
      tags:
      - System
      summary: Get current license information
      operationId: repo.endpoints.system.get_license
      responses:
        '200':
          description: Current license information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLicense'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - jwt: []
      - user_token: []
    post:
      tags:
      - System
      summary: Add license key
      operationId: repo.endpoints.system.post_license
      requestBody:
        description: Activate the license
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLicenseRequest'
      responses:
        '200':
          description: Current license information
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - jwt: []
    put:
      tags:
      - System
      summary: Update or re-activate license key
      operationId: repo.endpoints.system.put_license
      responses:
        '202':
          description: Accepted
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - jwt: []
  /system/settings:
    get:
      tags:
      - System
      summary: Get current system settings
      operationId: repo.endpoints.system.get_settings
      responses:
        '200':
          description: System settings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemSettings'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - jwt: []
      - user_token: []
    put:
      tags:
      - System
      summary: Update system settings
      operationId: repo.endpoints.system.update_settings
      requestBody:
        description: System settings
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SystemSettings'
      responses:
        '200':
          description: Current system settings
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - jwt: []
      - user_token: []
  /system/blob_cleanup:
    delete:
      tags:
      - System
      x-internal: true
      operationId: repo.endpoints.system.blob_cleanup
      summary: Action to cleanup orphan blobs for users with system management roles
      description: '## Finds and clears all orphan blobs that are not index artifacts'
      responses:
        '200':
          description: cleanup stats
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CleanupStats'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
      security:
      - jwt: []
      - user_token: []
    post:
      tags:
      - System
      x-internal: true
      operationId: repo.endpoints.system.cleanup_specified_orphan_blobs
      summary: Action to cleanup given list of blobs
      description: '## Clears the blobs based on the details (sha256) provided by admin'
      requestBody:
        content:
          application/json:
            schema:
              type: array
              description: list of blobs with sha256
              items:
                type: string
      responses:
        '200':
          description: cleanup stats
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CleanupStats'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
      security:
      - jwt: []
      - user_token: []
components:
  schemas:
    System:
      type: object
      properties:
        status:
          type: string
        service_name:
          type: string
        version:
          type: string
        product_version:
          type: string
        errors:
          type: array
          items:
            type: string
        queue_status:
          type: object
          properties:
            queue_name:
              type: integer
              description: Number of messages in the queue
              example: 12
    ProductLicenseCompliance:
      type: object
      description: Is used in definining compliance checks for different group. warn_limit is triggered when reached 80% of the quota
      properties:
        ok:
          $ref: '#/components/schemas/ProductLicenseComplianceGroup'
        warn_limit:
          $ref: '#/components/schemas/ProductLicenseComplianceGroup'
        over_quota:
          $ref: '#/components/schemas/ProductLicenseComplianceGroup'
        no_data:
          $ref: '#/components/schemas/ProductLicenseComplianceGroup'
    ProductLicenseMetrics:
      type: object
      description: Is used in definining limits as well as current compliance metrics
      properties:
        instances:
          type: object
          properties:
            api:
              type: integer
            worker:
              type: integer
            dispatcher:
              type: integer
        users:
          type: integer
        channels:
          type: integer
        mirrors:
          type: integer
    SystemStats:
      type: object
      properties:
        blob_size:
          type: object
          properties:
            total:
              type: integer
            by_artifact_family:
              type: array
              items:
                type: object
                properties:
                  artifact_family:
                    type: string
                  blob_size:
                    type: integer
    ProductLicenseRequest:
      type: object
      required:
      - license_key
      properties:
        license_key:
          type: string
          minLength: 1
    SystemSettings:
      type: object
      additionalProperties: false
      properties:
        user_channel_autocreate:
          type: boolean
          description: create a default user channel on first login
        show_intro:
          type: boolean
          description: show intro screen after first installation or settings reset
        cve_channel_id:
          type:
          - string
          - 'null'
          description: ID of global CVE channel
        anaconda_ident_settings:
          type:
          - object
          - 'null'
          properties:
            enabled:
              type: boolean
              description: Should anaconda-ident be enabled? If yes, then true, else false
            enable_from:
              type: string
              format: date-time
              description: From when should anaconda-ident be made mandatory
            updated_by:
              type: string
              description: Username of admin updating this setting
            selected_tokens:
              type: array
              description: List of tokens selected by admin for anaconda-ident
              items:
                type: string
                enum:
                - client_token
                - session_token
                - environment_token
                - username
                - hostname
                - environment
                - organization
    CleanupStats:
      type: object
      description: Cleanup stats
      properties:
        blob_count:
          type: number
        space_reclaimed:
          type: number
          description: Space reclaimed in bytes after cleanup
    ProductLicense:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
          enum:
          - active
          - expired
          - empty
          - revoked
          description: Describes the status of the license. "active" - active "expired" - expired "empty" - no license is provided yet "revoked" - license was revoked
        compliance_status:
          type: string
          enum:
          - good
          - warning
          - blocked
          description: Described the compliance status of the license. "good" - good "warning" - compliance warning should be shown "blocked" - the access to the system is block. License must be updated
        license_type:
          type: string
          enum:
          - restricted
          - permissive
          description: '"restricted" - once limits are hit or expired, the system is blocked "permissive" - once limits are hit or license is expired, the system displays message.'
        issued_at:
          type: string
        expires_at:
          type: string
        plan:
          type: object
          properties:
            limits:
              $ref: '#/components/schemas/ProductLicenseMetrics'
            features:
              type: object
              properties:
                cve:
                  type: object
                  properties:
                    enabled:
                      type: boolean
                    settings:
                      type: object
            extra:
              type: object
              properties:
                plan_name:
                  type: string
                company_name:
                  type: string
        metrics:
          $ref: '#/components/schemas/ProductLicenseMetrics'
        compliance:
          $ref: '#/components/schemas/ProductLicenseCompliance'
    ProductLicenseComplianceGroup:
      type: array
      items:
        type: string
        enum:
        - users
        - channels
        - instances.api
        - instances.dispatcher
        - instances.worker
    ErrorResponse:
      type: object
      description: The metadata contained in an error response
      properties:
        code:
          type: string
          description: Internal error code. Could be used to show corresponding message text from a message catalog
          example: bad-parameter
        message:
          type: string
          description: Short human-readable error message. Used mainly for logging
          example: Bad request parameter for 'sort'
        status:
          type: integer
          description: The HTTP Status code
          example: 401
    OpenMetrics:
      type: array
      items:
        type: object
        properties:
          name:
            type: string
          documentation:
            type: string
          type:
            type: string
            enum:
            - counter
            - gauge
            - summary
            - histogram
            - info
            - stateset
          samples:
            type: array
            items:
              type: object
              properties:
                name:
                  type: string
                labels:
                  type: object
                value:
                  oneOf:
                  - type: string
                  - type: number
  responses:
    Forbidden:
      description: Access is forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthenticated:
      description: Unauthenticated, no token is provided or token is invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadRequest:
      description: Server cannot execute request due to something that is perceived to be a client error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT
      x-bearerInfoFunc: repo.auth.token_provider.decode_token
    user_token:
      type: apiKey
      name: X-Auth
      in: header
      x-apikeyInfoFunc: repo.auth.token_provider.decode_user_private_token
x-provenance:
  method: harvested
  publisher: Anaconda
  source: https://api.anaconda.cloud/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)