{
  "opencollection": "1.0.0",
  "info": {
    "name": "Qubrid AI Fine-Tuning API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Fine-Tuning Jobs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List fine-tuning jobs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.qubrid.com/api/v1/fine-tuning/jobs",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of results to skip for pagination."
              }
            ]
          },
          "docs": "Returns a list of all fine-tuning jobs associated with the authenticated user's account, including their status, base model, hyperparameters, and training progress."
        },
        {
          "info": {
            "name": "Create a fine-tuning job",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.qubrid.com/api/v1/fine-tuning/jobs",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates and starts a new fine-tuning job that customizes a base model using the specified training dataset and hyperparameters. The job runs on GPU infrastructure and produces a fine-tuned model artifact upon completion. Supported task types include Question Answering (QA) and non-QA text generation."
        },
        {
          "info": {
            "name": "Retrieve a fine-tuning job",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.qubrid.com/api/v1/fine-tuning/jobs/:job_id",
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the fine-tuning job."
              }
            ]
          },
          "docs": "Returns details about a specific fine-tuning job including its current status, base model, hyperparameters, training metrics, and the resulting fine-tuned model identifier upon completion."
        },
        {
          "info": {
            "name": "Cancel a fine-tuning job",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.qubrid.com/api/v1/fine-tuning/jobs/:job_id/cancel",
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the fine-tuning job."
              }
            ]
          },
          "docs": "Cancels a running fine-tuning job. The job will be stopped and any partial training progress will be discarded. Credits for unused compute time may be refunded."
        }
      ]
    },
    {
      "info": {
        "name": "Datasets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List training datasets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.qubrid.com/api/v1/fine-tuning/datasets"
          },
          "docs": "Returns a list of training datasets uploaded by the authenticated user. Datasets are in CSV format and can be used for fine-tuning jobs."
        },
        {
          "info": {
            "name": "Upload a training dataset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.qubrid.com/api/v1/fine-tuning/datasets",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Uploads a new CSV training dataset for use in fine-tuning jobs. The dataset must be in CSV format; other file extensions are not supported and will return an error. The CSV should contain columns appropriate for the intended task type."
        },
        {
          "info": {
            "name": "Retrieve a dataset",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.qubrid.com/api/v1/fine-tuning/datasets/:dataset_id",
            "params": [
              {
                "name": "dataset_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the training dataset."
              }
            ]
          },
          "docs": "Returns details about a specific training dataset including its name, size, row count, and upload timestamp."
        },
        {
          "info": {
            "name": "Delete a dataset",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://platform.qubrid.com/api/v1/fine-tuning/datasets/:dataset_id",
            "params": [
              {
                "name": "dataset_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the training dataset."
              }
            ]
          },
          "docs": "Deletes a training dataset. Datasets that are currently in use by a running fine-tuning job cannot be deleted."
        }
      ]
    },
    {
      "info": {
        "name": "Fine-Tuned Models",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List fine-tuned models",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.qubrid.com/api/v1/fine-tuning/models"
          },
          "docs": "Returns a list of fine-tuned models produced by completed fine-tuning jobs. These models can be used for inference on the Qubrid AI platform."
        },
        {
          "info": {
            "name": "Delete a fine-tuned model",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://platform.qubrid.com/api/v1/fine-tuning/models/:model_id",
            "params": [
              {
                "name": "model_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the fine-tuned model."
              }
            ]
          },
          "docs": "Deletes a fine-tuned model artifact. The model will no longer be available for inference."
        }
      ]
    }
  ],
  "bundled": true
}