Skip to content
Linq

Get a part type's JSON Schema

GET/v1/parts/{type}

Fetch one part type’s JSON Schema (2020-12) BYTE-VERBATIM: the same Retrieves one part type’s JSON Schema (2020-12), served as application/schema+json; ready to hand to a structured-output model as a tool schema.

Behavior

  • The schema is deliberately wider than the API: rules JSON Schema cannot express (length caps, item counts, casing) are enforced when you send, and a violation returns HTTP 422 naming the exact field.

Errors

  • HTTP 404 code 2037: unknown part type.
Path ParametersExpand Collapse
type: string

Get a part type's JSON Schema

curl https://messages.api.linqapp.com/v1/parts/$TYPE \
    -H "Authorization: Bearer $LINQ_AMB_API_KEY"
Returns Examples