Mistral AI
    Mistral AI
    • Create Chat Completions
      POST
    • Create FIM Completions
      POST
    • Create Embeddings
      POST
    • List Available Models
      GET
    • Delete Model
      DELETE
    • Upload File
      POST
    • List Files
      GET
    • Retrieve File
      GET
    • Delete File
      DELETE
    • List Fine Tuning Jobs
      GET
    • Create Fine Tuning Job
      POST
    • Get Fine Tuning Job
      GET
    • Cancel Fine Tuning Job
      POST

      Get Fine Tuning Job

      Develop Env
      https://dev.your-api-server.com
      Develop Env
      https://dev.your-api-server.com
      GET
      /fine_tuning/jobs/{job_id}
      Get a fine tuned job details by its UUID.
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'https://dev.your-api-server.com/fine_tuning/jobs/'
      Response Response Example
      {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "hyperparameters": {
              "training_steps": 1,
              "learning_rate": 0.0001
          },
          "model": "open-mistral-7b",
          "status": "QUEUED",
          "job_type": "string",
          "created_at": 0,
          "modified_at": 0,
          "training_files": [
              "497f6eca-6276-4993-bfeb-53cbbbba6f08"
          ],
          "validation_files": [],
          "object": "job",
          "fine_tuned_model": "string",
          "integrations": [
              {
                  "type": "wandb",
                  "project": "string",
                  "name": "string"
              }
          ],
          "events": [],
          "checkpoints": []
      }

      Request

      Path Params
      job_id
      string <uuid>
      Job Id
      required
      The ID of the job to analyse.

      Responses

      🟢200OK
      application/json
      Body
      id
      string <uuid>
      Id
      required
      hyperparameters
      object (TrainingParameters) 
      required
      The fine-tuning hyperparameter settings used in a fine-tune job.
      training_steps
      integer 
      Training Steps
      required
      The number of training steps to perform. A training step refers to
      a single update of the model weights during the fine-tuning process.
      This update is typically calculated using a batch of samples from the
      training dataset.
      >= 1
      learning_rate
      number 
      Learning Rate
      optional
      A parameter describing how much to adjust the pre-trained model's weights
      in response to the estimated error each time the weights are updated during
      the fine-tuning process.
      >= 1e-8<= 1
      Default:
      0.0001
      model
      enum<string> 
      required
      The name of the model to fine-tune.
      Allowed values:
      open-mistral-7bmistral-small-latest
      status
      enum<string> 
      Status
      required
      The current status of the fine-tuning job.
      Allowed values:
      QUEUEDSTARTEDRUNNINGFAILEDSUCCESSCANCELLEDCANCELLATION_REQUESTED
      job_type
      string 
      Job Type
      required
      The type of job (FT for fine-tuning).
      created_at
      integer 
      Created At
      required
      The UNIX timestamp (in seconds) for when the fine-tuning job was created.
      modified_at
      integer 
      Modified At
      required
      The UNIX timestamp (in seconds) for when the fine-tuning job was last modified.
      training_files
      array[string <uuid>]
      Training Files
      required
      A list containing the IDs of uploaded files that contain training data.
      validation_files
      array[string <uuid>]
      Validation Files
      optional
      A list containing the IDs of uploaded files that contain validation data.
      object
      Object
      optional
      Allowed value:
      job
      Default:
      job
      fine_tuned_model
      string 
      Fine Tuned Model
      optional
      The name of the fine-tuned model that is being created. The value will be null if the fine-tuning job is still running.
      integrations
      array[object (WandbIntegrationOut) {3}] 
      Integrations
      optional
      A list of integrations enabled for your fine-tuning job.
      type
      Type
      optional
      Allowed value:
      wandb
      Default:
      wandb
      project
      string 
      Project
      required
      The name of the project that the new run will be created under.
      name
      string 
      Name
      optional
      A display name to set for the run. If not set, will use the job ID as the name.
      events
      array[object (EventOut) {3}] 
      Events
      optional
      Event items are created every time the status of a fine-tuning job changes.
      The timestamped list of all events is accessible here.
      name
      string 
      Name
      required
      The name of the event.
      data
      enum<string> 
      Data
      optional
      The status of the fine-tuning job at the time of the event
      Allowed values:
      QUEUEDSTARTEDRUNNINGFAILEDSUCCESSCANCELLEDCANCELLATION_REQUESTED
      created_at
      integer 
      Created At
      required
      The UNIX timestamp (in seconds) of the event.
      checkpoints
      array[object (CheckpointOut) {3}] 
      Checkpoints
      optional
      metrics
      object (MetricOut) 
      required
      Metrics at the step number during the fine-tuning job. Use these metrics to
      assess if the training is going smoothly (loss should decrease, token accuracy
      should increase).
      step_number
      integer 
      Step Number
      required
      The step number that the checkpoint was created at.
      created_at
      integer 
      Created At
      required
      The UNIX timestamp (in seconds) for when the checkpoint was created.
      Modified at 2024-07-29 08:30:19
      Previous
      Create Fine Tuning Job
      Next
      Cancel Fine Tuning Job
      Built with