Skip to main content
POST
Test attribute
Runs the full Data Step chain for one attribute against sample inputs and returns the resolved outputs. This mirrors the dashboard Run button.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs write scope.
string
required
application/json

Path parameters

string
required
Attribute ID to run.

Body parameters

object
Optional sample inputs, keyed by input field name. These stand in for the runtime values the attribute would resolve at the start of a conversation.

Response

Returns an Action / Attribute test-run result with per-step results and the final extractedData. For attributes, attributeLlmPolicy maps each output field to its sendToLlm (Visible to AI) flag.

Errors

The API key is missing, malformed, revoked, or invalid.
The API key does not include the write scope required for this route.
No attribute with that ID exists in your workspace.