Skip to content
HALOWERK

Data Conversion and Public Data

pg cast roundtrip permissions

PostgreSQL cast roundtrip lookup compares the permitted contexts in both directions between two types. Use it when an agent needs an explicit catalog conversion fact.

POST https://daten.halowerk.com/v1/pg-cast-roundtrip-permissions

Inputs

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

Open original schema

Published input example

{
  "source_type": "int4",
  "target_type": "int8",
  "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": {
        "forward": {
          "type": "string"
        },
        "reverse": {
          "type": "string"
        },
        "symmetric": {
          "type": "boolean"
        }
      },
      "required": [
        "forward",
        "reverse",
        "symmetric"
      ]
    },
    "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 โ†’