Get Instruction
Instructions
Get Instruction
Retrieves a specific instruction by its ID. Returns the full instruction object including the Watchscript source text and compiled DSL JSON.
GET
Get Instruction
Path Parameters
The instruction ID (integer)
Response
Instruction retrieved successfully
Unique instruction identifier
Rule name (extracted from Watchscript)
The original Watchscript source text
Human-readable description (extracted from Watchscript)
Compiled DSL as JSON string (AST representation)
Creation timestamp
Last update timestamp
.png?fit=max&auto=format&n=0JF6z69u57hmqsWm&q=85&s=531373acedba0eb783b669f6d558dfd8)