Skip to main content
GET
Get intent rule
Returns one intent rule as a full Rule.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs read scope.

Path parameters

string
required
Intent-rule ID.

Query parameters

string
Version to fetch. Use DRAFT or PUBLISHED. If omitted, the route returns the published version when one exists, otherwise the latest draft.

Response

Returns the rule with its flowConfig and lifecycle fields. Draft responses have botIds: [].
Fetch archived snapshots by versionId through Get intent-rule version.

Errors

versionStatus is unsupported.
The API key is missing, malformed, revoked, or invalid.
The API key does not include the read scope required for this route.
The intent rule or requested version does not exist in your workspace.