cURL
curl --request GET \ --url https://api.example.com/v1/rules/{rule_id} \ --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "trigger_event": "<string>", "status": "<string>", "priority": 123, "stop_after_match": true, "conditions": {}, "actions": [ "<unknown>" ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "identity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Retrieve a single rule by ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response