Cloudsmith quota API

The quota API from Cloudsmith — 4 operation(s) for quota.

Operations 4

GET /quota/history/{owner}/ Quota history for a given namespace. #
GET /quota/oss/history/{owner}/ Open-source Quota history for a given namespace. #
GET /quota/oss/{owner}/ Open-source Quota usage for a given namespace. #
GET /quota/{owner}/ Quota usage for a given namespace. #

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/cloudsmith-quota-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

cloudsmith-quota-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudsmith API (v1) audit-log Quota API
  description: The API to the Cloudsmith Service
  termsOfService: https://help.cloudsmith.io
  contact:
    name: Cloudsmith Support
    url: https://help.cloudsmith.io
    email: support@cloudsmith.io
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: v1
servers:
- url: https://api.cloudsmith.io/
security:
- apikey: []
- basic: []
tags:
- name: quota
paths:
  /quota/history/{owner}/:
    parameters:
    - name: owner
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: quota_history_read
      summary: Quota history for a given namespace.
      description: Quota history for a given namespace.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuotaHistory'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - quota
  /quota/oss/history/{owner}/:
    parameters:
    - name: owner
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: quota_oss_history_read
      summary: Open-source Quota history for a given namespace.
      description: Open-source Quota history for a given namespace.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuotaHistory'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - quota
  /quota/oss/{owner}/:
    parameters:
    - name: owner
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: quota_oss_read
      summary: Open-source Quota usage for a given namespace.
      description: Open-source Quota usage for a given namespace.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Quota'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - quota
  /quota/{owner}/:
    parameters:
    - name: owner
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: quota_read
      summary: Quota usage for a given namespace.
      description: Quota usage for a given namespace.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Quota'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - quota
components:
  schemas:
    UsageLimits:
      required:
      - bandwidth
      - storage
      type: object
      properties:
        bandwidth:
          $ref: '#/components/schemas/AllocatedLimit'
        storage:
          $ref: '#/components/schemas/StorageAllocatedLimit'
    UsageLimitsRaw:
      required:
      - bandwidth
      - storage
      type: object
      properties:
        bandwidth:
          $ref: '#/components/schemas/AllocatedLimitRaw'
        storage:
          $ref: '#/components/schemas/StorageAllocatedLimitRaw'
    UsageRaw:
      type: object
      properties:
        limit:
          title: Limit
          type: integer
        percentage:
          title: Percentage
          type: string
          format: decimal
        used:
          title: Used
          type: integer
    AllocatedLimitRaw:
      type: object
      properties:
        configured:
          title: Configured
          type: integer
        percentage_used:
          title: Percentage used
          type: string
          format: decimal
        plan_limit:
          title: Plan limit
          type: integer
        used:
          title: Used
          type: integer
    HistoryFieldsetRaw:
      required:
      - downloaded
      - storage_used
      - uploaded
      type: object
      properties:
        downloaded:
          $ref: '#/components/schemas/UsageRaw'
        storage_used:
          $ref: '#/components/schemas/StorageUsageRaw'
        uploaded:
          $ref: '#/components/schemas/UsageRaw'
    StorageAllocatedLimitRaw:
      type: object
      properties:
        configured:
          title: Configured
          type: integer
        peak:
          title: Peak
          type: integer
        percentage_used:
          title: Percentage used
          type: string
          format: decimal
        plan_limit:
          title: Plan limit
          type: integer
        used:
          title: Used
          type: integer
        used_pre_deduplication:
          title: Used pre deduplication
          type: integer
    Usage:
      type: object
      properties:
        limit:
          title: Limit
          type: string
          maxLength: 32
          minLength: 1
        percentage:
          title: Percentage
          type: string
          maxLength: 10
          minLength: 1
        used:
          title: Used
          type: string
          maxLength: 32
          minLength: 1
    Quota:
      required:
      - usage
      type: object
      properties:
        usage:
          $ref: '#/components/schemas/UsageFieldset'
    StorageUsage:
      type: object
      properties:
        limit:
          title: Limit
          type: string
          maxLength: 32
          minLength: 1
        peak:
          title: Peak
          type: string
          maxLength: 32
          minLength: 1
        percentage:
          title: Percentage
          type: string
          maxLength: 10
          minLength: 1
        used:
          title: Used
          type: string
          maxLength: 32
          minLength: 1
    AllocatedLimit:
      type: object
      properties:
        configured:
          title: Configured
          type: string
          maxLength: 32
          minLength: 1
        percentage_used:
          title: Percentage used
          type: string
          maxLength: 10
          minLength: 1
        plan_limit:
          title: Plan limit
          type: string
          maxLength: 32
          minLength: 1
        used:
          title: Used
          type: string
          maxLength: 32
          minLength: 1
    UsageFieldset:
      required:
      - display
      - raw
      type: object
      properties:
        display:
          $ref: '#/components/schemas/UsageLimits'
        raw:
          $ref: '#/components/schemas/UsageLimitsRaw'
    ErrorDetail:
      required:
      - detail
      type: object
      properties:
        detail:
          title: Detail
          description: An extended message for the response.
          type: string
          minLength: 1
        fields:
          title: Fields
          description: 'A Dictionary of related errors where key: Field and value: Array of Errors related to that field'
          type: object
          additionalProperties:
            type: array
            items:
              type: string
              minLength: 1
    HistoryFieldset:
      required:
      - downloaded
      - storage_used
      - uploaded
      type: object
      properties:
        downloaded:
          $ref: '#/components/schemas/Usage'
        storage_used:
          $ref: '#/components/schemas/StorageUsage'
        uploaded:
          $ref: '#/components/schemas/Usage'
    History:
      required:
      - display
      - end
      - plan
      - raw
      - start
      type: object
      properties:
        days:
          title: Days
          type: integer
          default: 0
        display:
          $ref: '#/components/schemas/HistoryFieldset'
        end:
          title: End
          type: string
          format: date-time
        plan:
          title: Plan
          type: string
          maxLength: 64
          minLength: 1
        raw:
          $ref: '#/components/schemas/HistoryFieldsetRaw'
        start:
          title: Start
          type: string
          format: date-time
    StorageAllocatedLimit:
      type: object
      properties:
        configured:
          title: Configured
          type: string
          maxLength: 32
          minLength: 1
        peak:
          title: Peak
          type: string
          maxLength: 32
          minLength: 1
        percentage_used:
          title: Percentage used
          type: string
          maxLength: 10
          minLength: 1
        plan_limit:
          title: Plan limit
          type: string
          maxLength: 32
          minLength: 1
        used:
          title: Used
          type: string
          maxLength: 32
          minLength: 1
        used_pre_deduplication:
          title: Used pre deduplication
          type: string
          maxLength: 32
          minLength: 1
    QuotaHistory:
      required:
      - history
      type: object
      properties:
        history:
          type: array
          items:
            $ref: '#/components/schemas/History'
    StorageUsageRaw:
      type: object
      properties:
        limit:
          title: Limit
          type: integer
        peak:
          title: Peak
          type: integer
        percentage:
          title: Percentage
          type: string
          format: decimal
        used:
          title: Used
          type: integer
  securitySchemes:
    apikey:
      type: apiKey
      name: X-Api-Key
      in: header
    basic:
      type: http
      scheme: basic