Shaping

Cancel shaping job

Changed on

Request cancellation of a shaping job owned by the caller's project.

post/v1/shaping/{id}/cancel

Request

  • Base URL
    https://api.together.ai
  • URL
    https://api.together.ai/v1/shaping/{id}/cancel
  • Auth
    HTTP bearer

Path parameters

idstring required

Shaping job ID beginning with shp-quant-.

Response

Cancellation requested successfully.

idstring required

Unique shaping job ID.

job_type'quantization' required

Kind of shaping job.

status'pending' | 'queued' | 'running' | 'completed' | 'cancelled' | 'cancel_requested' | 'error' | 'user_error' required

Lifecycle status of a shaping job.

created_atstring date-time required

Time when the job was created.

updated_atstring date-time required

Time when the job was last updated.

user_idstring required

User that created the job.

Example response

{
  "params": {
    "inputs": {
      "model_object_id": "ml_CeG3fF6pyEViU8dE8pk7R",
      "model_revision_id": "rv_CeG3faPBj2ABwbAaHPTmx",
      "calibration_file_id": "file-5f1b0c7a-2d19-4a3e-9c60-8ab41c2f7d35"
    },
    "configuration": {
      "user_id": "user_CKfewYkQBpaEmN7wuQS3W",
      "model_project_id": "proj_CczF9KYFantA84sNYDTJd",
      "model_revision_id": "rv_CeERyXMBQCJTRC1yqGTpk",
      "model_name": "ft-qa-artifacts/glm-5.3-e2e-test-adapter",
      "base_object_id": "ml_CbJ9yCnij7A47b1xkpioB",
      "base_revision_id": "rv_CbJ9yNrws93VQrZum1fTE",
      "base_model_name": "zai-org/GLM-5.3-NVFP4"
    }
  }
}

Changes