Triton Inference Server Model Repository API

Model repository management operations

Operations 3

POST /v2/repository/index Triton Inference Server List Models in the Repository #
POST /v2/repository/models/{model_name}/load Triton Inference Server Load or Reload a Model #
POST /v2/repository/models/{model_name}/unload Triton Inference Server Unload a Model #

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/triton-model-repository-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

triton-model-repository-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Triton Inference Server NVIDIA Triton Inference Server HTTP/REST CUDA Shared Memory Model Repository API
  description: RESTful API for the NVIDIA Triton Inference Server, implementing the KServe V2 inference protocol with Triton-specific extensions. Provides endpoints for model inference, health checks, server and model metadata, model repository management, statistics, tracing, logging, and system shared memory management.
  version: '2.0'
  contact:
    name: NVIDIA Triton Team
    url: https://github.com/triton-inference-server/server
    email: triton@nvidia.com
  license:
    name: BSD 3-Clause
    url: https://github.com/triton-inference-server/server/blob/main/LICENSE
servers:
- url: http://localhost:8000
  description: Triton HTTP endpoint (default)
- url: http://{host}:{port}
  description: Custom Triton HTTP endpoint
  variables:
    host:
      default: localhost
      description: Triton server hostname or IP
    port:
      default: '8000'
      description: Triton HTTP port
tags:
- name: Model Repository
  description: Model repository management operations
paths:
  /v2/repository/index:
    post:
      operationId: repositoryIndex
      summary: Triton Inference Server List Models in the Repository
      description: Retrieve the index of all models available in the model repository. Can optionally filter to show only models that are ready. This is a Triton extension to the KServe protocol.
      tags:
      - Model Repository
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                ready:
                  type: boolean
                  description: If true, only return models that are ready for inference
      responses:
        '200':
          description: Repository index returned successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RepositoryIndexEntry'
        '400':
          description: Error retrieving repository index
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v2/repository/models/{model_name}/load:
    post:
      operationId: modelLoad
      summary: Triton Inference Server Load or Reload a Model
      description: Request that a model be loaded into Triton, or reloaded if it is already loaded. Optionally provide model configuration overrides as parameters. This is a Triton extension to the KServe protocol.
      tags:
      - Model Repository
      parameters:
      - $ref: '#/components/parameters/modelName'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                parameters:
                  type: object
                  description: Optional parameters for model loading, including config overrides and file content overrides.
                  additionalProperties:
                    oneOf:
                    - type: string
                    - type: boolean
                    - type: integer
      responses:
        '200':
          description: Model loaded successfully
        '400':
          description: Error loading model
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v2/repository/models/{model_name}/unload:
    post:
      operationId: modelUnload
      summary: Triton Inference Server Unload a Model
      description: Request that a model be unloaded from Triton. Once unloaded the model will no longer be available for inference. This is a Triton extension to the KServe protocol.
      tags:
      - Model Repository
      parameters:
      - $ref: '#/components/parameters/modelName'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                parameters:
                  type: object
                  description: Optional parameters for model unloading
                  additionalProperties:
                    oneOf:
                    - type: string
                    - type: boolean
                    - type: integer
      responses:
        '200':
          description: Model unloaded successfully
        '400':
          description: Error unloading model
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message describing what went wrong
    RepositoryIndexEntry:
      type: object
      properties:
        name:
          type: string
          description: Model name
        version:
          type: string
          description: Model version
        state:
          type: string
          description: Current state of the model
          enum:
          - READY
          - UNAVAILABLE
          - LOADING
          - UNLOADING
        reason:
          type: string
          description: Reason for the current state if not READY
  parameters:
    modelName:
      name: model_name
      in: path
      required: true
      description: Name of the model
      schema:
        type: string
externalDocs:
  description: Triton Inference Server Protocol Documentation
  url: https://github.com/triton-inference-server/server/blob/main/docs/protocol/README.md