StateSet ReSponse API Documentation
Embeddings
Attributes
Function Parameters
Channels
Rules
List Rules
This endpoint gets a rule
GET
/
v1
/
rules
Copy
Ask AI
curl --location --request GET 'https://api.stateset.com/v1/rules' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
Copy
Ask AI
{
"id": "2438cf38-4004-41d3-8c90-131735ff7d00",
"type": "System Rule",
"name": "Rule 1",
"description": "This is the rule",
"created_at": "2023-11-28T00:00:00.000000Z",
"updated_at": "2023-11-28T00:00:00.000000Z"
}
Body
Response
This is the id of the rule.
This is the type of the rule.
This is the name of the rule.
This is the description of the rule.
This is the created_at of the rule.
This is the updated_at of the rule.
Copy
Ask AI
curl --location --request GET 'https://api.stateset.com/v1/rules' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
Copy
Ask AI
{
"id": "2438cf38-4004-41d3-8c90-131735ff7d00",
"type": "System Rule",
"name": "Rule 1",
"description": "This is the rule",
"created_at": "2023-11-28T00:00:00.000000Z",
"updated_at": "2023-11-28T00:00:00.000000Z"
}
Copy
Ask AI
curl --location --request GET 'https://api.stateset.com/v1/rules' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
Copy
Ask AI
{
"id": "2438cf38-4004-41d3-8c90-131735ff7d00",
"type": "System Rule",
"name": "Rule 1",
"description": "This is the rule",
"created_at": "2023-11-28T00:00:00.000000Z",
"updated_at": "2023-11-28T00:00:00.000000Z"
}
Assistant
Responses are generated using AI and may contain mistakes.