{
  "opencollection": "1.0.0",
  "info": {
    "name": "Portkey Analytics > Graphs Fine-tuning API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-portkey-api-key",
      "value": "{{x-portkey-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Fine-tuning",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List your organization's fine-tuning jobs\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.portkey.ai/v1/fine_tuning/jobs",
            "params": [
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last job from the previous pagination request."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of fine-tuning jobs to retrieve."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-portkey-api-key",
              "value": "{{x-portkey-api-key}}",
              "placement": "header"
            }
          },
          "docs": "List your organization's fine-tuning jobs\n"
        },
        {
          "info": {
            "name": "Get info about a fine-tuning job.\n\n[Learn more about fine-tuning](https://platform.openai.com/docs/guides/fine-tuning)\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.portkey.ai/v1/fine_tuning/jobs/:fine_tuning_job_id",
            "params": [
              {
                "name": "fine_tuning_job_id",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuning job.\n"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-portkey-api-key",
              "value": "{{x-portkey-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Get info about a fine-tuning job.\n\n[Learn more about fine-tuning](https://platform.openai.com/docs/guides/fine-tuning)\n"
        },
        {
          "info": {
            "name": "Get status updates for a fine-tuning job.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.portkey.ai/v1/fine_tuning/jobs/:fine_tuning_job_id/events",
            "params": [
              {
                "name": "fine_tuning_job_id",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuning job to get events for.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last event from the previous pagination request."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of events to retrieve."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-portkey-api-key",
              "value": "{{x-portkey-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Get status updates for a fine-tuning job.\n"
        },
        {
          "info": {
            "name": "Immediately cancel a fine-tune job.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.portkey.ai/v1/fine_tuning/jobs/:fine_tuning_job_id/cancel",
            "params": [
              {
                "name": "fine_tuning_job_id",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuning job to cancel.\n"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-portkey-api-key",
              "value": "{{x-portkey-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Immediately cancel a fine-tune job.\n"
        },
        {
          "info": {
            "name": "List checkpoints for a fine-tuning job.\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.portkey.ai/v1/fine_tuning/jobs/:fine_tuning_job_id/checkpoints",
            "params": [
              {
                "name": "fine_tuning_job_id",
                "value": "",
                "type": "path",
                "description": "The ID of the fine-tuning job to get checkpoints for.\n"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Identifier for the last checkpoint ID from the previous pagination request."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of checkpoints to retrieve."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-portkey-api-key",
              "value": "{{x-portkey-api-key}}",
              "placement": "header"
            }
          },
          "docs": "List checkpoints for a fine-tuning job.\n"
        }
      ]
    }
  ],
  "bundled": true
}