Skip to content
Linq Copy agent prompt

Get a part type's JSON Schema

GET/v1/parts/{type}

Reads one part type’s JSON Schema (2020-12) byte-verbatim, served as application/schema+json — ready to hand to a structured-output model as a tool schema. Codified length and item bounds are machine-readable in the schemas; cross-field rules they cannot express are declared in x-rule. A specific template’s generated parameter schema comes from GET /v1/templates. A violation returns HTTP 422 naming the exact field. Unknown part types answer HTTP 404 part_type_not_found.

Path ParametersExpand Collapse
type: string

Get a part type's JSON Schema

curl https://whatsapp.messages.api.linqapp.com/v1/parts/$TYPE
Returns Examples