Overview
Run attributes are key/value facts about how a Run went. Your automation sets them while it runs, and the caller can pass initial ones when it starts the Run. Intuned stores them with the Run and each Attempt and returns them wherever you read Run results. Use attributes for small, structured facts that describe the Run rather than its output:- Where the data came from —
source: "cache"orsource: "live" - How the Run went —
pagesScraped: 12,aiFallback: true,stage: "checkout" - Who or what started it —
trigger: "scheduled",batch: "2026-10-25"
Set attributes from your automation
CallsetAttribute (TypeScript) or set_attribute (Python) anywhere in your API code. Setting a key again overwrites it. deleteAttribute / delete_attribute removes a key.
Values and limits
setAttribute / set_attribute throws an error when a key, a value, or a limit is invalid, so a mistake shows up while you develop instead of being dropped silently.
Pass initial attributes when starting a Run
The caller can start a Run with initial attributes. Every Attempt starts with them, and your code can overwrite or delete them.- Standalone Run
- Job payload
Add
attributes to the body of the Run start request:400.
How attributes work across Attempts
- Each Attempt starts fresh. It starts with a copy of the initial attributes, not with what a previous Attempt set. A retry doesn’t see the failed Attempt’s changes.
- Each Attempt keeps its own. You can see what every Attempt set on its Attempt details.
- The Run reports its final Attempt’s attributes. Attributes are not merged across Attempts.
- Deleted means gone. If your code deletes every attribute, including the initial ones, the Run reports none.
- Canceled before it ran. A Run that is canceled before any Attempt reports keeps its initial attributes.
- AuthSession Runs. Validate and create Runs report the attributes of the Attempt their result comes from: the passing check, or the successful create when the AuthSession was recreated.
Where attributes show up
Limitations
- Not for customer data. Attributes are stored inline as operational metadata. Keep personal and regulated data in your API’s result.
- Small values only. The limits above are enforced when your code sets an attribute. Use the API result for anything larger.
- No merging across Attempts. The Run reports only its final Attempt’s attributes.
- Requires a recent Runtime SDK.
setAttributeandset_attributeare available in the latest@intuned/runtimeandintuned-runtime.