LegoTechApps

LegoTechApps API

Build against the LegoTechApps API.

Start with stable public discovery, generate a client from the OpenAPI 3.1 contract, and handle every failure as structured data.

Stable discovery

Stable discovery

The public index at /api/v1/ reports the current version, documentation, OpenAPI contract and MCP endpoints. Compatible fields may be added within v1; breaking changes use a new major path.

curl https://legotechapps.com/api/v1/

OpenAPI 3.1

OpenAPI 3.1

The complete public contract uses unique operation IDs, typed inputs and typed success and error responses. Download it directly or use the official CLI.

legotech openapi --output openapi.json

Errors and limits

Errors and limits

REST errors use RFC 9457 application/problem+json with a stable code and a safe hint. Observe RateLimit-Policy, RateLimit and Retry-After instead of guessing when to retry.

curl -i https://legotechapps.com/api/v1/policy

Start here

Use the live contract.

Run legotech doctor before automating a workflow, follow the published schemas, and contact developer support when a required business operation is not documented.