Tasks

Create Task

Creates a new task or updates an existing task with the same name. Tasks are reusable code snippets that can be executed in browser sessions. Tasks support versioning with draft and published versions.

post/v1/task

Request body

namestring required

Task name (letters, numbers, hyphens, and underscores only)

codestring

Base64 encoded task code (optional)

language'typescript' required

Programming language for the task

descriptionstring

Optional description of the task

Response

Task created or updated successfully

Changes