Hydrilla
Get API Key
DELETE/v1/3d/tasks/:taskIdFree · 0 credits

Cancel Task

Stop a task that is still PENDING or IN_PROGRESS. Its credits are refunded automatically. Cancelling a task that has already finished changes nothing and returns its current status.

AuthenticationAuthorization: Bearer hyd_live_your_api_key_here
Base URLhttps://backend.hydrilla.ai

Overview

Stop a task that is still PENDING or IN_PROGRESS. Its credits are refunded automatically. Cancelling a task that has already finished changes nothing and returns its current status.

Request body

ParameterTypeRequiredDefaultDescription
taskId#stringrequired—The job identifier returned by /v1/3d/text-to-3d or /v1/3d/image-to-3d.
taskIdrequired
string

The job identifier returned by /v1/3d/text-to-3d or /v1/3d/image-to-3d.

Response

Successful requests return the job object. Errors use the status codes below.

Authentication errors

401 — Invalid or revoked API key. 402 — Not enough credits.

bashrequest.sh
curl -X DELETE https://backend.hydrilla.ai/v1/3d/tasks/job_9b1deb4d3b7d4e8b82 \
  -H "Authorization: Bearer hyd_live_your_api_key_here"
json200_SUCCESS.json
{
  "id": "job_9b1deb4d3b7d4e8b82",
  "object": "task",
  "status": "CANCELLED"
}
Response fields
  • id string
  • object string
  • status string

Was this page helpful?