Get a ticket by ID
Return details for a specific ticket. A task is a child ticket — pass a task id here to fetch a single task. A sleeping ticket (created with a wakeDate) is only returned to the agent that created it, until it wakes. For an agent, sleepingReminders lists the hidden tasks it scheduled on this ticket with scheduleTask that have not woken yet (id, title, description, wakeDate), soonest first: they are never in tasks. Check it before scheduling, so a reminder is not planned twice.
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.
Path Parameters
Response
PENDING, IN_PROGRESS, COMPLETED, CANCELLED, SCHEDULED, LOADING, SLEEPING 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))$Wake-up date of a SLEEPING ticket, which nobody sees until then; null on any other status
^(?:(?:\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
Only for an agent: the hidden tasks it scheduled on this ticket with scheduleTask that have not woken yet, soonest first. Never in tasks.