API
List instructions
Retrieve all compiled watch instructions stored in Watch.
GET
/instructionsUse this endpoint to list every instruction Watch has loaded. Each instruction represents a compiled rule that transactions are evaluated against.
Request
This endpoint has no path, query, or body parameters.
Response
Each item in the array matches the instruction object returned by compile and save instruction.
idinteger
Auto-generated instruction ID.
namestring
Unique rule name.
textstring
Original Watch DSL script text.
descriptionstring
Rule description from the DSL script, if provided.
dsl_jsonstring
Compiled rule JSON used during transaction evaluation.
created_atstring
ISO 8601 timestamp of when the instruction was created.
updated_atstring
ISO 8601 timestamp of when the instruction was last updated.