curl --silent --show-error --fail-with-body --request GET \
--url 'https://response.stateset.com/api/v1/rules/{id}' \
--header "Authorization: Bearer $RESPONSECX_API_KEY"
{
"object": "rule",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Two-Person Tent",
"type": "standard",
"description": "Two-person tent, green — replacement for damaged pole set.",
"activated": true,
"conditions": null,
"actions": null,
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Get one rule
The rule
GET
/
api
/
v1
/
rules
/
{id}
curl --silent --show-error --fail-with-body --request GET \
--url 'https://response.stateset.com/api/v1/rules/{id}' \
--header "Authorization: Bearer $RESPONSECX_API_KEY"
{
"object": "rule",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Two-Person Tent",
"type": "standard",
"description": "Two-person tent, green — replacement for damaged pole set.",
"activated": true,
"conditions": null,
"actions": null,
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Path parameters
string (uuid)
required
The rule id.
Response
Rule
string
Fixed value:
'rule'.string
string,null
string,null
string,null
boolean
any
any
string,null
Status codes
| Code | Meaning |
|---|---|
200 | The rule |
401 | Missing, invalid, or expired API key. |
403 | The key lacks a required scope. |
404 | Not found, or not in the organization that owns the key. |
429 | Rate limit exceeded. |
Access
| Required scope | agents:read |
| Rate limit | 120 requests per minute |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request GET \
--url 'https://response.stateset.com/api/v1/rules/{id}' \
--header "Authorization: Bearer $RESPONSECX_API_KEY"
{
"object": "rule",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Two-Person Tent",
"type": "standard",
"description": "Two-person tent, green — replacement for damaged pole set.",
"activated": true,
"conditions": null,
"actions": null,
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Last modified on September 21, 2026