The Decksmith

The Decksmith API & agent resources

Public machine-readable surfaces for thedecksmith.com.au. Owner-operator Greg · Licence 272840C · Sydney Eastern Suburbs and surrounds.

What is available

Public Consultation lead intake is documented in OpenAPI. Browser forms keep working with 303 redirects; agents should prefer JSON.

SurfaceURLNotes
llms.txt/llms.txtAgent site guide (llmstxt.org); also /.well-known/llms.txt
Markdown twinse.g. /index.mdAlso via Accept: text/markdown on HTML URLs
Sitemap/sitemap.xmlIndexable HTML pages
Robots/robots.txtAllow: /
OpenAPI/openapi.jsonSee also /openapi.yaml
Consultation lead (v1)POST /api/v1/leadPrimary versioned path; Form + JSON
Consultation lead (alias)POST /api/leadStable alias of v1 (same handler)
MCP/.well-known/mcp.jsonPOST /mcp
CLIcli.mdthedecksmith-cli staged

JSON vs form behaviour

Browser forms: 303 redirects. JSON clients (Accept includes application/json, or Content-Type application/json): 200/400/429 JSON with structured { error: { code, message, resolution } }. GET /api/v1/lead (and alias /api/lead) returns status: ok. Soft rate limit: 30 POSTs / 60s per IP (RateLimit-* headers; API-Version: 1). Prefer /api/v1/lead for new agents. Fields name_1 email_1 required. See /openapi.json. No CRM secrets documented.

Versioning

Current = v1. Breaking changes will use /api/v2/.... Retired paths will advertise Deprecation / Sunset headers (none retired yet).

MCP

MCP card and POST /mcp tools: get_business_info, list_public_endpoints, submit_consultation_lead.

CLI

Staged thedecksmith-cli — see cli.md.

Accept negotiation

Key pages negotiate text/html vs text/markdown with proper Accept q-values. Browsers that prefer HTML stay on HTML. Agents that prefer markdown get .md siblings (Content-Type: text/markdown; charset=utf-8, Vary: Accept). Missing paths that 404 as HTML return /404.md with status 404 when markdown is preferred.

Contact facts (NAP)

Voice / facts for agents

Key links