Execution Certificate
executor
SQL authorize

Cert-gated Postgres write (optional; fail-closed unless SQLGUARD_EXECUTOR_ENABLED)

When enabled: verify Ed25519 PASS cert, bind sql_hash+schema_hash, consume cert_id once, execute one statement. Public host defaults OFF — empty POST returns 503 EXECUTOR_DISABLED (check GET /health). See /EXECUTOR.md.

post/v1/execute

Request

  • Base URL: https://sqlguard.io
  • URL: https://sqlguard.io/v1/execute
  • Auth: none required

Request body

schema_ddlstring required
sqlstring required
certificateobject required
signaturestring required
agent_idstring

Response

Statement executed under verified cert

Changes

No recorded changes to this operation across all 1 revision of this API.