Search project templates

http
POST /project-templates/search

Find the project template that best fits a description of what the user wants to build, ranked by a model; requires a signed-in user on every surface and returns the match with its confidence and reasoning.

Request body

FieldTypeRequiredDescription
user_intentstringYesDescription of what the user wants to build (1 to 500 characters). AI uses this intent to select the best template.

Responses

StatusDescription
200Best matching project template with confidence score.
400Invalid input - user_intent too long or missing
401Unauthorized
403Forbidden - insufficient permissions
429The model is overloaded (code limit_exceeded); retry after retry_after_seconds, also sent as Retry-After
500Server error - AI processing failed
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.