Skip to main content
POST
/
tasks
/
from-video
Create Task from Video
curl --request POST \
  --url https://api.curalabs.io/v1/tasks/from-video \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-Key: <api-key>' \
  --form developer_user_id=user-unique-id-in-your-system \
  --form 'task_name=Task from MyScreenRecording.mp4' \
  --form file=@example-file
{
  "job_id": "vwp_abc123def456",
  "status": "queued"
}
Upload a video file to automatically generate a single task definition based on the observed actions. See the API Reference for details on operationId: createTaskFromVideo.

Authorizations

X-API-Key
string
header
required

API Key provided by the platform. Note- X-Timestamp and X-Signature headers are also required for authentication, but not defined as separate schemes here due to OpenAPI limitations on complex signature schemes.

Body

multipart/form-data
file
file
required

The video file to upload.

developer_user_id
string
required

Identifier for the end-user this task belongs to.

Example:

"user-unique-id-in-your-system"

task_name
string

Optional user-friendly name for the generated task.

Example:

"Task from MyScreenRecording.mp4"

Response

Accepted. The video processing job has been successfully queued.

job_id
string

Unique identifier for tracking the video processing job.

Example:

"vwp_abc123def456"

status
enum<string>

Initial status of the processing job.

Available options:
queued,
processing
Example:

"queued"

I