Update task auto-generation settings
Updates the task auto-generation settings for the workspace. All fields are required.
What can be updated:
tasksAutoGenerateTitle: Enable or disable automatic title generationtasksAutoGenerateSummary: Enable or disable automatic summary generationtasksAutoGenerateIcon: Enable or disable automatic icon generation
How it works: When enabled, Leadtime uses AI to analyze task descriptions and automatically generate structured content. This saves time and ensures consistent, well-structured tickets throughout the workspace.
Note: This endpoint requires the WsSettings.manageSettings permission. Changes affect how all new tasks are created in the workspace.
PUT
/administration/task-settingsAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredQuery parameters
fieldsToReturnstringComma-separated list of top-level response fields to return. Overrides the endpoint compact default unless responseShape=full is used.
responseShapestringAdvanced override. Omit for the endpoint compact default. Use full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
Allowed:
compactfullHeader parameters
LT-Response-ShapestringAdvanced override. Set to full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
Allowed:
fullRequest body
requiredapplication/jsontasksAutoGenerateIconbooleanrequiredWhether to automatically generate task icons
tasksAutoGenerateSummarybooleanrequiredWhether to automatically generate task summaries
tasksAutoGenerateTitlebooleanrequiredWhether to automatically generate task titles
Responses
200Task auto-generation settings updated successfully
tasksAutoGenerateIconbooleanrequiredWhether to automatically generate task icons
tasksAutoGenerateSummarybooleanrequiredWhether to automatically generate task summaries
tasksAutoGenerateTitlebooleanrequiredWhether to automatically generate task titles
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X PUT "https://leadtime.app/api/public/administration/task-settings" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"tasksAutoGenerateIcon": true,
"tasksAutoGenerateSummary": true,
"tasksAutoGenerateTitle": true
}'const response = await fetch("https://leadtime.app/api/public/administration/task-settings", {
method: "PUT",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"tasksAutoGenerateIcon": true,
"tasksAutoGenerateSummary": true,
"tasksAutoGenerateTitle": true
})
});import requests
response = requests.put(
"https://leadtime.app/api/public/administration/task-settings",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
},
json={
"tasksAutoGenerateIcon": True,
"tasksAutoGenerateSummary": True,
"tasksAutoGenerateTitle": True
},
)Response
{
"tasksAutoGenerateIcon": true,
"tasksAutoGenerateSummary": true,
"tasksAutoGenerateTitle": true
}Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions