List self-hosted model servers
The workspace's apps that serve models (Ollama, vLLM and the like), each with the models it serves, read from the running server.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/workspaces/string/ai/servers"{ "servers": [ { "app": { "slug": "string", "name": "string", "env": "production", "region": "string", "status": "string" }, "service": "string", "image": "string", "engine": "ollama", "port": 0, "address": "string", "models": [ { "id": "string", "size": 0, "kind": "chat" } ] } ]}Chat with a model POST
Send a conversation to a model through the gateway, as the AI tool's chat does (developer role). It is free while the caller's account is within its AI allowance (60 answers an hour, shared with Ask AI) and the request's worst case costs at most $0.25 (output is capped to fit), and charged to the caller's usage balance otherwise; with `keyId` the key's models, budget and rate limit apply. With `Accept: text/event-stream` the reply streams as a `start` event naming the model and provider that answer (`fallback` when an alias moved on), then `delta` events (`{type, text}`), and ends with a `done` event carrying the usage, or an `error` event; otherwise it answers once with the whole reply.
Get a workspace's email GET
Everything Settings › Email and the Email tool start from: each domain of the workspace with its email state, mailbox and alias counts and the records email needs with what public DNS answers for them, the client settings for mail apps, the default sending domain, the spam filter, the dedicated IP and this month's sending against the free 3,000 (100 a day until a card is on file, then $0.40 per started 1,000, debited from the owner's usage balance). Runs DNS lookups for domains whose records are elsewhere.