Tasks
Update task.
Changed onUpdates task metadata, such as the display name. Use this to rename tasks for easier organization and identification. The display name is the only mutable field exposed via the API.
put/api/v1/projects/{projectId}/tasks/{taskId}
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
The unique identifier of the agent.
taskIdstring required
The task ID. This is the value returned in data.id when you create a task via POST /tasks.
Request body
Example request
{
"name": "Revised document analysis"
}Response
Task renamed successfully.
Example response
{
"status": "success",
"data": {
"id": "f1b9aaf0-5e4e-11eb-ae93-0242ac130002",
"project_id": 1,
"name": "Analyse this document",
"created_at": "Monday, 01-Jan-24 12:00:00 UTC",
"updated_at": "Monday, 01-Jan-24 12:00:00 UTC"
}
}Changes
- info
endpoint added
- info