Skip to content
HALOWERK

File Formats and Conversion

pg manual worked example location

PostgreSQL example lookup returns the first numbered example block containing a requested SQL token. Use it when an agent needs structured evidence from a command page.

POST https://format.halowerk.com/v1/pg-manual-worked-example-location

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
urlstringYes
keywordstringYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "minLength": 1,
      "maxLength": 150
    },
    "keyword": {
      "type": "string",
      "minLength": 1,
      "maxLength": 150
    },
    "snapshot": {
      "enum": [
        "pg-17.7"
      ]
    }
  },
  "required": [
    "url",
    "keyword"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "url": "https://www.postgresql.org/docs/17/sql-merge.html",
  "keyword": "merge",
  "snapshot": "pg-17.7"
}

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": {
        "block": {
          "type": "integer"
        },
        "opening": {
          "type": "string"
        },
        "matches": {
          "type": "integer"
        }
      },
      "required": [
        "block",
        "opening",
        "matches"
      ]
    },
    "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

All endpoints in this hub โ†’