Skip to main content
DELETE
Cancel task (only while not terminal)
Cancel a task while it is still non-terminal. Tasks that have already succeeded, failed, timeout, or canceled cannot be canceled again.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
string
required
Example:

"ms-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

Response

200 - application/json

Standard Task object

mountsea standard Task object. Output shape depends on capability (image / video / audio).

task_id
string
required
Example:

"ms-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

endpoint
string
required
Example:

"google/veo-3.1/text-to-video"

model
string
required
Example:

"veo-3.1"

capability
enum<string>
required
Available options:
image,
video,
audio
mode
string
required
Example:

"text-to-video"

status
enum<string>
required
Available options:
queued,
processing,
succeeded,
failed,
timeout,
canceled
created_at
string<date-time>
required
error
object | null
started_at
string<date-time> | null
completed_at
string<date-time> | null
elapsed_ms
integer | null
output
object

Populated when status=succeeded; null while in-flight.