Code and API Checks
sql statement policy review
SQL policy review screens a statement for protected tables, writes and commands needing human review. Use it when an agent needs a read-only preflight decision before submitting SQL.
POST https://code.halowerk.com/v1/sql-statement-policy-reviewInputs
| Field | Type | Required | Description |
|---|---|---|---|
| sql | string | Yes | |
| dialect | string | No | |
| policy | object | No |
Show full input schema
{
"type": "object",
"properties": {
"sql": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"dialect": {
"type": "string",
"maxLength": 16
},
"policy": {
"type": "object",
"properties": {
"read_only": {
"type": "boolean"
},
"protected_tables": {
"type": "array",
"maxItems": 24,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
}
},
"required": [],
"additionalProperties": false
}
},
"required": [
"sql"
],
"additionalProperties": false
}Published input example
{
"dialect": "postgres",
"sql": "DELETE FROM orders",
"policy": {
"read_only": false
}
}Result & documentation
Show published result schema
{
"type": "object",
"required": [
"measured_at",
"source",
"data",
"limitations"
],
"properties": {
"measured_at": {
"type": "string"
},
"source": {
"type": "object",
"required": [
"reference",
"retrieved_at"
],
"properties": {
"reference": {
"type": "string"
},
"retrieved_at": {
"type": "string"
}
}
},
"data": {
"type": "object",
"properties": {
"decision": {
"type": "string"
},
"commands": {
"type": "array",
"items": {
"type": "string"
}
},
"rules": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"decision",
"commands",
"rules"
]
},
"limitations": {
"type": "string"
}
}
}Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.
More endpoints in this hub
- Code and API Checks0.003 USDC
action sha pin
POSThttps://code.halowerk.com/v1/action-sha-pinFinds every "uses: owner/repo[/path]@ref" in a GitHub Actions workflow, resolves tags (including annotated tags) and branches to the commit SHA with git ls-remote against github.com, and rewrites the line to "uses: owner/repo[/path]@<sha> #
- Code and API Checks0.003 USDC
actionlint
POSThttps://code.halowerk.com/v1/actionlintRuns the official statically linked actionlint 1.7.12 release binary (MIT, SHA-256 checked against the published checksums) in an isolated child process without network, with the bundled ShellCheck 0.11.0 for run: scripts (pyflakes is not a
- Code and API Checks0.005 USDC
agent text instruction triage
POSThttps://code.halowerk.com/v1/agent-text-instruction-triagePrompt injection screening flags instruction overrides and requests for secrets in text supplied to an agent. Use it when an agent needs a local review signal before passing untrusted text to an agent.