NetMind Power Documentation
  • NetMind Account
  • Inference
    • Model APIs
    • Dedicated Endpoints
  • Fine-tuning
  • Rent GPUs
    • Cloud Sync
    • Use Ngrok as Ingress Service
  • Rent Cluster (Comming soon)
  • API
    • API token
    • Files
    • Fine-tuning
      • List Models
      • Preparing your dataset
      • Create Job
      • Retrieve job
      • Download model
      • Cancel job
      • Deploy Checkpoint (coming soon)
    • Inference
      • Chat
      • Images
      • Haiper Inference
      • Asynchronous Inference
      • Dedicated Endpoints
      • Batch Processing
      • Embedding API
      • Deprecated Models
    • Rent GPU
      • SSH Authentication
      • List Available images
      • List Available GPU Instances
      • Create Your First Environment
      • Stop GPU instace
    • API Reference
      • Files
      • Fine-tuning
      • Rent GPU
Powered by GitBook
On this page

Was this helpful?

  1. API
  2. Fine-tuning

Cancel job

You can also cancel the job that are currently in progress. Please note that after canceling a task, we will process a partial refund for the order based on the actual time it was running.

Replace {{API_TOKEN}} with your actual token.

Example Request:

curl --location --request POST 'https://api.netmind.ai/v1/fine-tuning/job/{{JOB_ID}/cancel' \
--header 'Authorization: Bearer {{API_TOKEN}}'
import requests

url = "https://api.netmind.ai/v1/fine-tuning/job/{{JOB_ID}}/cancel"

payload = {}
headers = {
  'Authorization': 'Bearer {{API_TOKEN}}'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

Example Response:

PreviousDownload modelNextDeploy Checkpoint (coming soon)

Last updated 5 months ago

Was this helpful?