Cloady Docs
API ReferenceEndpointsPlatform

Ask Cloady's AI a question

Public: without a browser session a caller gets 7 answers a day per IP address, and a signed-in session gets 60 an hour and answers about its own account. `deploy` names a template, repository or image the answer suggests deploying. With `answer`, the question and that answer move into a new support ticket instead, which needs a signed-in caller, and the response is the ticket's `id`.

POST
/api/ai
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/ai" \  -H "Content-Type: application/json" \  -d '{    "q": "string"  }'
{  "answer": "string",  "deploy": "string"}