Update an existing ticket details from AI context
PATCH
/
tickets
/
ai
/
{ticketId}
Update an existing ticket details from AI context
curl --request PATCH \
--url http://localhost:3002/api/v1/tickets/ai/{ticketId} \
--header 'Content-Type: application/json' \
--header 'x-ai-tool-secret: <x-ai-tool-secret>' \
--data '
{
"subject": "<string>",
"description": "<string>",
"priority": "<string>"
}
'const options = {
method: 'PATCH',
headers: {'x-ai-tool-secret': '<x-ai-tool-secret>', 'Content-Type': 'application/json'},
body: JSON.stringify({subject: '<string>', description: '<string>', priority: '<string>'})
};
fetch('http://localhost:3002/api/v1/tickets/ai/{ticketId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/tickets/ai/{ticketId}"
payload = {
"subject": "<string>",
"description": "<string>",
"priority": "<string>"
}
headers = {
"x-ai-tool-secret": "<x-ai-tool-secret>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)Last modified on July 18, 2026
⌘I
Update an existing ticket details from AI context
curl --request PATCH \
--url http://localhost:3002/api/v1/tickets/ai/{ticketId} \
--header 'Content-Type: application/json' \
--header 'x-ai-tool-secret: <x-ai-tool-secret>' \
--data '
{
"subject": "<string>",
"description": "<string>",
"priority": "<string>"
}
'const options = {
method: 'PATCH',
headers: {'x-ai-tool-secret': '<x-ai-tool-secret>', 'Content-Type': 'application/json'},
body: JSON.stringify({subject: '<string>', description: '<string>', priority: '<string>'})
};
fetch('http://localhost:3002/api/v1/tickets/ai/{ticketId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/tickets/ai/{ticketId}"
payload = {
"subject": "<string>",
"description": "<string>",
"priority": "<string>"
}
headers = {
"x-ai-tool-secret": "<x-ai-tool-secret>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)