cloadyDoku
API-ReferenzEndpointsPlatform

Ask Cloady's AI a question

Public: without credentials a caller gets 7 answers a day per IP address. An API key or a signed-in session gets 60 an hour and answers about its own account, and can build: the AI writes files, uploads them and deploys them, which a `read`-scope key cannot. A key that isn't valid is refused rather than answered anonymously. Requests with deployment tools can take up to two hours; read-only and anonymous requests have a ten-minute deadline. Set the client timeout accordingly. `deploy` names a template, repository or image the answer suggests deploying. To carry the conversation on with Cloady support, pass the question and its answer to startAiTicket.

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

application/json

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