Instructions
Get instruction
Retrieve a single watch instruction by its numeric ID.
GET
/
instructions
/
{id}
curl http://localhost:8081/instructions/1
{
"id": 1,
"name": "HighValueTransaction",
"text": "rule HighValueTransaction {\n description \"Review any transaction above $10,000\"\n when amount > 10000\n then review\n score 0.5\n reason \"Amount exceeds threshold\"\n}",
"description": "Review any transaction above $10,000",
"dsl_json": "{\"name\":\"HighValueTransaction\",\"when\":[...],\"then\":{...}}",
"created_at": "2026-03-16T10:00:00Z",
"updated_at": "2026-03-16T10:00:00Z"
}
Invalid instruction ID: abc
instruction with ID 99 not found
Failed to retrieve instruction
Blnk Watch is currently in beta. Send us a message
Path
integer
required
The numeric instruction ID.
curl http://localhost:8081/instructions/1
{
"id": 1,
"name": "HighValueTransaction",
"text": "rule HighValueTransaction {\n description \"Review any transaction above $10,000\"\n when amount > 10000\n then review\n score 0.5\n reason \"Amount exceeds threshold\"\n}",
"description": "Review any transaction above $10,000",
"dsl_json": "{\"name\":\"HighValueTransaction\",\"when\":[...],\"then\":{...}}",
"created_at": "2026-03-16T10:00:00Z",
"updated_at": "2026-03-16T10:00:00Z"
}
Invalid instruction ID: abc
instruction with ID 99 not found
Failed to retrieve instruction
Response fields
integer
Auto-generated instruction ID.
string
Unique rule name.
string
Original Watch DSL script text.
string
Rule description from the DSL script, if provided.
string
Compiled rule JSON used during transaction evaluation.
string
ISO 8601 timestamp of when the instruction was created.
string
ISO 8601 timestamp of when the instruction was last updated.
Need help?
We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.Was this page helpful?
⌘I
curl http://localhost:8081/instructions/1
{
"id": 1,
"name": "HighValueTransaction",
"text": "rule HighValueTransaction {\n description \"Review any transaction above $10,000\"\n when amount > 10000\n then review\n score 0.5\n reason \"Amount exceeds threshold\"\n}",
"description": "Review any transaction above $10,000",
"dsl_json": "{\"name\":\"HighValueTransaction\",\"when\":[...],\"then\":{...}}",
"created_at": "2026-03-16T10:00:00Z",
"updated_at": "2026-03-16T10:00:00Z"
}
Invalid instruction ID: abc
instruction with ID 99 not found
Failed to retrieve instruction