Get target sample
Return the most recent production payload for a monitor target.
Powers the wizard’s “design against a real sample” UX (autocomplete JSON paths, preview the runner-input shape) and is also useful for agents asking “what does this intent / workflow / agent actually emit?” before they author resolution rules.
The payload mirrors the shape the runtime sampler pushes at the runner, so paths the caller picks here resolve identically in production. When the target has no completed invocations yet, payload / payload_paths are returned as null / [].
Required query params: target_type (intent|workflow|agent), target_id (the resource id).
Documentation Index
Fetch the complete documentation index at: https://docs.trymaitai.com/llms.txt
Use this file to discover all available pages before exploring further.