CLI
apidly 명령어: 터미널에서 서버, 엔드포인트, 볼륨, 결제를 시작, 중지하고 확인합니다.
npm install -g https://apidly.com/downloads/apidly-cli-0.1.35.tgz개발자용
OpenAPI 문서가 있는 REST API, 모든 API 경로를 다루는 명령줄 도구, JavaScript·Python SDK, MCP 서버, 서명된 웹훅.
$10 충전으로 시작하세요. 구독은 필요 없습니다. 새 계정의 첫 서버는 시작 전에 사람이 확인하며, 대기하는 동안에는 요금이 청구되지 않습니다.
OpenAPI 3.1 설명 (JSON)REST API용 MIT 라이선스 클라이언트를 하나의 저장소에서 제공합니다. 콘솔에서 API 키를 만들고 APIDLY_API_KEY를 설정하세요.
apidly 명령어: 터미널에서 서버, 엔드포인트, 볼륨, 결제를 시작, 중지하고 확인합니다.
npm install -g https://apidly.com/downloads/apidly-cli-0.1.35.tgzAI 어시스턴트가 stdio로 서버 가격 확인, 시작, 관리를 할 수 있게 합니다. 기본은 읽기 전용이며, 시작을 허용하려면 --allow-writes와 가격 상한을 추가하세요.
npm install -g https://apidly.com/downloads/apidly-mcp-0.1.26.tgzREST API용 무의존성 클라이언트입니다.
npm install https://apidly.com/downloads/apidly-sdk-0.1.35.tgzREST API용 Python 클라이언트입니다.
pip install https://apidly.com/downloads/apidly-0.1.35-py3-none-any.whl서버, 볼륨, SSH 키, 엔드포인트를 코드로 관리하세요. 소스에서 빌드하며, 자세한 내용은 README를 참고하세요.
작업에 맞는 방법을 고르세요. 모두 같은 API 키와 권한 범위를 사용합니다.
범위가 지정된 키와 OpenAPI 3.1 문서를 갖춘 HTTPS 기반 JSON.
요금제 찾기, 배포, 연결, 로그 확인, 중지를 터미널에서.
의존성 없는 타입 지원 클라이언트.
AI 어시스턴트가 서버를 관리하게 하세요.
서버, 잔액, 청구서 등에 대한 서명된 이벤트.
요금제, 템플릿, 서버, 볼륨, 결제, 팀, 웹훅이 모두 /api/v1 아래에 있습니다. 키는 Bearer 토큰으로 보내세요.
# Cheapest plans you can launch now
curl "https://apidly.com/api/v1/plans?availability=available&sort=price&limit=3" \
-H "Authorization: Bearer $APIDLY_API_KEY"
# Request a server (safe to retry with the same Idempotency-Key)
curl -X POST "https://apidly.com/api/v1/servers" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"planId":"PLAN_ID","templateId":"TEMPLATE_ID","label":"first-run","diskGb":50}'apidly 명령은 모든 API 경로를 다루므로, 나중에 스크립트로 만들 작업을 먼저 직접 해 볼 수 있습니다.
apidly init
apidly up notebook --hours 2
# Or pick the plan and template yourself
apidly plans --available --sort price --limit 5
apidly deploy --plan PLAN_SLUG --template pytorch-jupyterlab --wait
apidly ssh SERVER_ID
apidly logs SERVER_ID --follow
apidly stop SERVER_ID
apidly destroy SERVER_ID두 SDK 모두 API와 1:1로 대응하고, 안전하게 재시도하며, 긴 목록을 대신 순회합니다. 이 사이트에서 내려받으세요. 아직 공개 패키지 저장소에는 없습니다.
import { Apidly } from "@apidly/sdk";
const apidly = new Apidly({ apiKey: process.env.APIDLY_API_KEY });
const { plans } = await apidly.plans.list({ availability: "available", sort: "price", limit: 5 });
const { templates } = await apidly.templates.list();
const { server, deployment } = await apidly.servers.create({
planId: plans[0].id,
templateId: templates[0].id,
label: "first-run",
diskGb: 50,
});
// server is null while the request waits for approval: read deployment.statusimport os
from apidly import Client
client = Client(api_key=os.environ["APIDLY_API_KEY"])
plans = client.plans.list(availability="available", sort="price", limit=5)["plans"]
templates = client.templates.list()["templates"]
result = client.servers.create(
plan_id=plans[0]["id"],
template_id=templates[0]["id"],
label="first-run",
disk_gb=50,
)apidly-mcp는 내 컴퓨터에서 실행되며, 어시스턴트에게 요금제와 템플릿 목록 보기, 서버 배포·시작·중지·삭제, 로그·사용량·잔액 확인 도구를 제공합니다.
{
"mcpServers": {
"apidly": {
"command": "apidly-mcp",
"args": ["--read-only"],
"env": { "APIDLY_API_KEY": "paste-your-key-here" }
}
}
}서버가 시작하거나 중지될 때, 잔액이 부족할 때, 청구서가 생성될 때 등 HTTPS 엔드포인트로 POST가 전송되므로 폴링할 필요가 없습니다.
apidly webhooks add https://example.com/apidly --events server.running,balance.low
apidly webhooks test WEBHOOK_IDimport express from "express";
import { verifyWebhook } from "@apidly/sdk";
const app = express();
app.post("/apidly", express.raw({ type: "application/json" }), (req, res) => {
const ok = verifyWebhook(
req.body,
req.get("Apidly-Signature") ?? "",
process.env.APIDLY_WEBHOOK_SECRET
);
if (!ok) return res.sendStatus(400);
const event = JSON.parse(req.body.toString("utf8"));
console.log(event.type, event.id);
res.sendStatus(200);
});예제의 ID, 키, 주소는 자리표시자입니다. 모든 예제는 API 설명과 명령줄 도구를 기준으로 확인됩니다.
단계별 가이드와, 소프트웨어가 미리 설치된 상태로 시작하는 템플릿입니다.