Update the AI agent on a ticket
Put an AI agent on a ticket, or take the one currently on it off by passing aiAgentId: null. The AI agent is the autonomous agent working the ticket, not its assignee — to assign the ticket to a person, use updateTicketAssignee instead. An agent calls this with null to take itself off a ticket it is handing back to the team.
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.
Path Parameters
Body
Id of the AI agent to put on the ticket. Pass null to take the agent currently on it off.
1Response
PENDING, IN_PROGRESS, COMPLETED, CANCELLED, SCHEDULED LOW, MEDIUM, HIGH - Option 1
- Option 2
- Option 3
Who the ticket was opened on behalf of (its creator)
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Ids of the tags attached to this ticket
Id of the AI agent handling it; null when no agent is on it