url is a short-lived signed link, minted fresh on every call. Fetch the images while you are working the ticket instead of storing the URLs for later.
Ticket ids come from get_document; its imageCount tells you whether a ticket has any images before you call this.
Input
string (uuid)
required
Id of the Montra ticket whose images to read.
Output
object[]
required
Returned in the order they appear on the ticket.
number
required
How long the signed URLs stay valid, in seconds. Currently one hour (3600).
boolean
required
true when the ticket has more images than were returned.Notes
- URLs expire after
expiresInSeconds(one hour). Once they lapse, call the tool again for fresh links rather than reusing the old ones. - At most 100 images are returned per ticket. Anything beyond that is dropped and
truncatedcomes backtrue. - An image that is still uploading, or whose version cannot be resolved, comes back with
url,mimeType,width,height, andrevisionIdallnull. Retry later rather than treating it as missing. - Each reference resolves to its pinned version if one was chosen, otherwise the asset’s current version — so you see the same image a person sees in the app.
- A ticket whose document is outside the bound workspace reads as not found. See workspace binding.