AI Gateway Fine Tuning API

The Fine Tuning API from AI Gateway — 2 operation(s) for fine tuning.

Operations 3

POST /fine_tuning/jobs Create a fine-tuning job #
GET /fine_tuning/jobs List fine-tuning jobs #
GET /fine_tuning/jobs/{id}/events List events for a fine-tuning job #

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/ai-gateway-fine-tuning-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

ai-gateway-fine-tuning-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Portkey AI Gateway Fine Tuning API
  version: 1.0.0
  description: REST API for the Portkey AI Gateway, exposing OpenAI-compatible inference endpoints (chat, completions, embeddings, images, audio, files, batches, fine-tuning, assistants and threads, prompts, responses) plus admin endpoints for analytics, configs, API keys, integrations, providers, virtual keys, guardrails, policies, prompt management, workspaces, MCP, logs, and feedback. Selected as the canonical "AI gateway" exemplar for this index entry; the broader landscape is catalogued in apis.yml.
  contact:
    name: Portkey
    url: https://portkey.ai/docs/
servers:
- url: https://api.portkey.ai/v1
  description: Production inference and admin API
security:
- PortkeyApiKey: []
  PortkeyProvider: []
tags:
- name: Fine Tuning
paths:
  /fine_tuning/jobs:
    post:
      tags:
      - Fine Tuning
      summary: Create a fine-tuning job
      responses:
        '200':
          description: Job created
      operationId: postFineTuningJobs
      x-operation-id-source: derived
    get:
      tags:
      - Fine Tuning
      summary: List fine-tuning jobs
      responses:
        '200':
          description: Jobs
      operationId: getFineTuningJobs
      x-operation-id-source: derived
  /fine_tuning/jobs/{id}/events:
    get:
      tags:
      - Fine Tuning
      summary: List events for a fine-tuning job
      parameters:
      - $ref: '#/components/parameters/Id'
      responses:
        '200':
          description: Events
      operationId: getFineTuningJobsByIdEvents
      x-operation-id-source: derived
components:
  parameters:
    Id:
      name: id
      in: path
      required: true
      schema:
        type: string
  securitySchemes:
    PortkeyApiKey:
      type: apiKey
      in: header
      name: x-portkey-api-key
      description: Portkey API key header.
    PortkeyProvider:
      type: apiKey
      in: header
      name: x-portkey-provider
      description: Upstream provider selector header.