Detection

Detect framework from a file manifest

Detects the project's framework/stack from an uploaded filename listing plus the contents of key manifest files. Returns the canonical stack, a suggested protocol (static_hosting or managed_vps), the static-hosting preset (output directory and SPA mode), and suggested build commands — the same detection pipeline the web onboarding wizard uses. Files not uploaded degrade detection precision gracefully; they never error. When AI features are enabled for the account and the rule-based result is ambiguous, AI services are consulted and their results merged into the response.

post/detection

Request

  • Base URL: https://sg.deployhq.com
  • URL: https://sg.deployhq.com/detection
  • Auth: HTTP basic

Request body

Response

Success

stackstring
versionstring
evidencestring[]
descriptionstring
suggested_protocolstring
ai_assistedboolean

Changes

No recorded changes to this operation across all 1 revision of this API.