Start typing to search.

API Reference

Clone a task

View Markdown
POST /api/tasks/{id}/clone

Clone a task

Operation IDcloneTask

Authentication

  • BearerAuth·http bearer·API key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.

Path parameters

idintegerrequired

Resource ID

Request body

Content typeapplication/json

requestobject
2 properties
namestring
descriptionstring

Success response body

201Cloned task

Cloned task

Content typeapplication/json

responseobject
7 properties
idinteger
namestring
descriptionstring | null
current_versioninteger
statusstring
created_atstring · date-time
updated_atstring · date-time

Error responses

400Validation error

Validation error

Content typeapplication/json

responseobject
2 properties
errorstring
messagestring
Example response
{
  "error": "VALIDATION_ERROR",
  "message": "Invalid input"
}

404Resource not found

Resource not found

Content typeapplication/json

responseobject
2 properties
errorstring
messagestring
Example response
{
  "error": "NOT_FOUND",
  "message": "Resource not found"
}