Mithril quotas API

The quotas API from Mithril — 1 operation(s) for quotas.

Operations 1

GET /v2/quotas Get Quotas #

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/mithril-quotas-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 email required.

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

OpenAPI Specification

mithril-quotas-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mithril API Keys Quotas API
  description: Mithril Compute API
  version: 1.0.0
servers:
- url: https://api.mithril.ai
tags:
- name: quotas
paths:
  /v2/quotas:
    get:
      tags:
      - quotas
      summary: Get Quotas
      description: Get all quotas for a project in unified format
      operationId: get_quotas_v2_quotas_get
      security:
      - MithrilAPIKey: []
      parameters:
      - name: project
        in: query
        required: true
        schema:
          type: string
          examples:
          - proj_abc123456
          title: Project
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/QuotaModel'
                title: Response Get Quotas V2 Quotas Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            oneOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    QuotaModel:
      properties:
        fid:
          type: string
          title: Fid
          description: Unique identifier for the quota
        project:
          type: string
          title: Project
          description: Project FID this quota belongs to
          examples:
          - proj_abc123456
        instance_type:
          type: string
          examples:
          - it_abc123456
          nullable: true
        product_type:
          type: string
          title: Product Type
          description: Type of product (e.g., 'Spot', 'Reservations', 'Storage')
        total_quantity:
          type: integer
          minimum: 0.0
          title: Total Quantity
          description: Total quota quantity used
        used_quantity:
          type: integer
          minimum: 0.0
          title: Used Quantity
          description: Total quota quantity used
        units:
          type: string
          title: Units
          description: Units for the quota (e.g., 'instances', 'GB')
        name:
          type: string
          title: Name
          description: Human-readable display name for the quota
      type: object
      required:
      - fid
      - project
      - product_type
      - total_quantity
      - used_quantity
      - units
      - name
      title: QuotaModel
      description: Unified quota model for all quota types (instances, storage, Kubernetes).
  securitySchemes:
    MithrilAPIKey:
      type: http
      scheme: bearer
      bearerFormat: fkey_<key>