본문으로 건너뛰기
Apidly Cloud
쿠키 정책

분석 및 광고 쿠키는 수락하지 않으면 꺼진 상태로 유지됩니다. 쿠키 정책

페이지 조회와 세션 녹화를 포함해 공개 페이지가 어떻게 사용되는지 파악하기 위해 Google Analytics와 Microsoft Clarity를, Reddit에서의 광고가 방문과 가입으로 이어지는지 측정하기 위해 Reddit Pixel을 사용하고자 합니다. 사용 여부는 여기에서 선택하실 수 있습니다. 거부해도 사이트 이용에는 변함이 없습니다.

명령줄 도구

apidly 명령을 설치하고 API 키로 로그인한 뒤, 터미널이나 스크립트에서 서버, 엔드포인트, 스토리지, 키, 결제, 팀을 관리하세요.

최종 업데이트 2026년 11월 21일읽는 데 44분
Markdown으로 보기

apidly 명령은 콘솔이 하는 일을 터미널에서 합니다. 요금 목록 보기, 서버 배포, SSH 세션 열기, 로그 읽기, 서버리스 엔드포인트 실행, 스토리지, 키, 예산, 결제 관리를 할 수 있습니다. 공개 API와 API 키를 사용하며 API의 모든 작업을 지원합니다. Node 18 이상이 필요하고 다른 의존성은 없습니다.

설치 및 로그인

CLI는 아직 npm 레지스트리에 없습니다. 이 사이트에서 다운로드하고, 체크섬 목록으로 확인한 다음 파일을 설치하세요. Node 18 이상이 필요합니다.

curl -fsSLO https://apidly.com/downloads/SHA256SUMS
curl -fsSLO https://apidly.com/downloads/apidly-cli-0.1.35.tgz
grep -F apidly-cli-0.1.35.tgz SHA256SUMS | sha256sum -c -    # macOS: shasum -a 256 -c -
npm install -g ./apidly-cli-0.1.35.tgz
apidly --version
apidly init

체크섬은 손상되었거나 중간에 끊긴 다운로드를 잡아냅니다. 파일과 목록은 같은 사이트에서 제공되므로, 사이트 자체가 침해된 경우에는 보호해 주지 못합니다. https://apidly.com/downloads/latest.json에는 현재 버전과 각 파일의 해시가 나와 있습니다. 업데이트하려면 새 파일 이름으로 명령을 다시 실행하세요.

npm 11 이하에서는 항상 최신 릴리스를 가리키는 주소에서 직접 설치할 수도 있습니다. npm 12는 --allow-remote=root를 추가하지 않으면 원격 주소를 거부합니다.

npm install -g --allow-remote=root https://apidly.com/downloads/apidly-cli.tgz

npm 레지스트리(@apidly/cli)와 PyPI 패키지는 계획 중입니다. 제공되면 이 페이지가 바뀝니다.

apidly init은 안내를 따라 하는 첫 실행입니다. 콘솔에서 키를 만드는 곳(API 키)을 알려 주고, 키를 묻고(입력은 숨겨짐), 확인한 뒤 본인만 읽을 수 있는 ~/.config/apidly/config.json에 저장합니다. 아직 등록된 SSH 키가 없으면 ~/.ssh/id_ed25519.pub(또는 --ssh-key-file로 지정한 파일)을 올리겠냐고 묻고, 이어서 잔액과 재고가 있는 가장 저렴한 서버를 보여 줍니다. stdin이 터미널이 아니면 아무것도 묻지 않습니다. 키를 올리려면 --key KEY(또는 APIDLY_API_KEY 설정)와 --upload-ssh-key를 넘기세요. 키가 없으면 종료 코드 1로 멈춥니다. apidly login은 키만 저장합니다. CI에서는 대신 환경 변수 APIDLY_API_KEY를 설정하세요. apidly logout은 저장된 키를 지웁니다.

명령이 할 수 있는 일은 키의 범위에 따라 달라집니다. read는 목록과 상세 보기, servers는 추가로 시작, 중지, 배포, full은 만든 사람이 할 수 있는 모든 일을 합니다. API 키를 참고하세요.

무언가 작동하지 않나요? apidly doctor를 실행하세요. 버전, 저장된 키, API 연결, 잔액, SSH 키를 확인하고 문제를 고치는 방법을 알려 줍니다. apidly doctor --offline은 네트워크가 필요한 검사를 건너뜁니다.

목표에서 실행 중인 서버까지

apidly up chat --hours 2
apidly up images --budget 0.50
apidly up notebook --hours 4 --yes
apidly status
apidly stop --all

apidly up GOAL은 콘솔의 빠른 시작과 같은 방식으로 앱과 서버를 고릅니다. 목표는 chat, images, notebook, train, api입니다(transcribe와 server도 있음). 서버, 실행 중 시간당 가격, 요청한 시간의 비용(--hours, 기본값 2), 서버가 중지된 동안의 디스크 비용을 보여 주고, 무엇이든 시작하기 전에 묻습니다(--yes로 질문 생략). --budget은 디스크를 포함해 실행 시간당 낼 수 있는 최대 금액이며, 맞는 것이 없으면 조건에 맞는 가장 저렴한 서버를 예산 초과로 표시해 보여 줍니다.

서버에는 --hours 동안 실행한 뒤 자동 중지가 설정됩니다(--no-auto-stop이면 설정 안 함, 중지해도 디스크는 남음). 그런 다음 명령은 진행 상황 한 줄을 보여 주며 기다리고, 열 주소와 로그인 정보를 출력합니다. Ctrl-C는 기다림만 끝냅니다. 서버는 계속 시작되며, 명령이 중지하는 방법을 알려 줍니다. --detach는 전혀 기다리지 않습니다.

apidly status는 한 화면입니다. 잔액과 얼마나 버티는지, 서버마다 지금까지의 비용과 저절로 멈추는 시점, 그리고 확인이 필요한 것(잔액 부족, 자동 중지 없이 실행 중인 서버, 재고가 있는 서버를 위한 "Try instead" 명령이 붙은 실패한 시작)을 보여 줍니다.

apidly stop --all과 apidly destroy --all은 묻기 전에 대상 서버와 계속 비용이 드는 것(중지된 서버도 디스크 비용은 냄)을 나열합니다. --older-than 2h를 붙이면 최소 그만큼 전에 만든 서버만 남깁니다.

서버 배포하기

apidly plans --available --min-vram 24 --sort price
apidly templates
apidly ssh-keys add ~/.ssh/id_ed25519.pub
apidly deploy --plan rtx-4090-1x --template pytorch --ssh-key ssh_abc123 --label training --env-file .env --wait
apidly ssh ins_abc123

무엇이든 전송하기 전에 deploy는 시간당 요금과 스토리지 요금을 보여 주고 확인을 요청합니다. 스크립트에서 질문을 건너뛰려면 --yes를 추가하세요. 조직에서 새 서버에 승인을 요구하는 경우, 명령은 요청이 대기 중이라고 알려 줍니다. 소유자나 관리자가 승인할 때까지는 아무것도 청구되지 않습니다.

--env-file FILE은 KEY=VALUE 줄을 읽습니다(주석, export, 따옴표를 인식합니다). --env K=V는 개별 값을 덮어씁니다. 배치 플래그(--region, --hosting, --min-cpu, --min-ram, --min-down, --min-up, --min-cuda, --direct-ports)는 사용할 수 있는 머신을 좁힙니다. --wait(start와 stop에서도 사용 가능)는 서버가 running 또는 stopped가 될 때까지 폴링하며, 서버가 실패하거나 --timeout초(기본 600)가 지나면 오류로 중단됩니다. 진행 상황은 stderr로 출력되므로 스크립트는 계속 stdout을 읽을 수 있습니다.

deploy, topup은 Idempotency-Key를 보내므로, 재시도해도 두 번째 서버나 결제가 만들어지지 않습니다. 명령이 직접 하나를 만들며, 직접 만든 키를 재사용하려면 --idempotency-key KEY를 전달하세요.

플랜 카탈로그는 두 곳에서 필터링됩니다. API는 --gpu, --min-vram, --min-ram, --min-cpu, --max-price, --region, --hosting, --min-perf, --availability를 적용하고 recommended, price, perf, perf-per-dollar, vram으로 정렬합니다. plans 자체는 --gpus, --tier, --min-disk, --available, --limit와 나머지 정렬 키(price-desc, ram, cpu, gpus, name)를 반환된 결과에 적용합니다.

여러 서버를 한 번에

start, stop, restart, reboot, recreate, destroy는 원하는 만큼의 ID를 받습니다. 순서대로 실행되며, 하나가 실패해도 나머지는 멈추지 않고, 어느 ID라도 실패하면 종료 코드는 1입니다. apidly servers start|stop|...는 같은 명령이며, servers는 create, logs, exec, ssh, scp, automation도 전달합니다.

apidly stop ins_a ins_b ins_c
apidly destroy ins_a ins_b --yes
apidly servers --json | jq -r '.servers[] | select(.status=="stopped") | .id' | xargs apidly destroy --yes

reboot은 restart와 같습니다. API에는 재시작 작업이 하나뿐입니다.

시크릿은 절대 인수가 되지 않습니다

시크릿과 레지스트리 토큰의 값은 숨겨진 프롬프트나 stdin에서 읽으며, 인수로는 읽지 않습니다. 인수는 셸 기록과 프로세스 목록에 남기 때문입니다.

printf %s "$HF_TOKEN" | apidly secrets set HF_TOKEN
printf %s "$TOKEN" | apidly registries add ghcr.io --username me

CLI가 출력하는 시크릿은 API가 생성 시 한 번만 반환하는 것뿐입니다. 새 API 키(api-keys create)와 웹훅 서명 시크릿(webhooks add)입니다. 그때 저장해 두세요.

명령 레퍼런스

명령 동작
apidly login API 키를 저장합니다
apidly logout 저장된 API 키를 제거합니다
apidly whoami 조직, 잔액, 남은 가동 시간을 표시합니다
apidly plans 가격과 사용 가능 여부가 포함된 GPU 플랜 목록 또는 한 플랜의 가격 이력을 표시합니다
apidly templates 템플릿을 나열, 표시, 생성, 업데이트 또는 삭제합니다
apidly ssh-keys SSH 키를 나열, 추가, 이름 변경 또는 제거합니다
apidly servers 서버를 나열하거나 하나를 표시, 이름 변경하거나 해당 이벤트를 읽습니다
apidly deploy 새 서버를 요청합니다
apidly start 중지된 서버를 시작합니다
apidly stop 실행 중인 서버를 중지합니다(디스크는 유지되며 계속 청구됩니다)
apidly restart 서버를 다시 시작합니다
apidly reboot 서버를 다시 시작합니다(restart와 동일하며, --hard는 먼저 중지한 뒤 다시 시작합니다)
apidly recreate 서버의 모든 파일(/workspace 포함)을 지우고 새로 받은 이미지에서 다시 만듭니다(먼저 묻습니다)
apidly destroy 서버와 해당 디스크를 삭제합니다(되돌릴 수 없습니다)
apidly logs 서버의 로그를 표시합니다
apidly ssh 실행 중인 서버에 SSH 세션을 엽니다
apidly usage 청구된 내역
apidly init 첫 실행: API 키 저장, SSH 키 추가, 잔액과 가격 확인
apidly up 목표에서 실행 중인 서버까지 명령 하나로 (chat, images, notebook, train, api)
apidly status 한 화면: 잔액과 남은 기간, 실행 중인 서버와 비용, 확인이 필요한 모든 것
apidly avoided-machines 특정 머신에 서버를 다시는 배치하지 않기: 해당 서버로 지정, 목록, 삭제
apidly deployments 서버 요청을 나열하거나 하나를 표시, 취소 또는 다시 시작합니다
apidly balance 선불 잔액, 사용 속도, 남은 가동 시간을 표시합니다
apidly ledger 크레딧과 요금을 최신순으로 나열합니다
apidly invoices 청구서, 영수증, 명세서를 나열합니다
apidly statements 월별 명세서를 나열하거나 한 달(합계, 서버, 볼륨)을 표시합니다
apidly topup 크레딧을 추가하기 위한 결제를 시작합니다(결제 링크를 출력합니다)
apidly team 조직의 구성원과 역할을 나열합니다
apidly benchmarks GPU 클래스별 측정 성능 (저희가 직접 실행한 벤치마크)
apidly gpus 최저 가격과 사용 가능 여부가 포함된 GPU 모델을 나열합니다
apidly regions 서버가 실행되는 리전을 나열합니다
apidly webhooks 웹훅 엔드포인트를 나열, 추가 또는 제거하고 전송 내역을 읽습니다
apidly support 지원 티켓을 열고, 읽고, 답하고, 닫습니다
apidly groups 서버 그룹(원하는 수의 동일한 서버)을 관리합니다
apidly exec 서버에서 명령을 실행합니다. 실행 중이면 본인의 ssh로, 중지된 상태면 API를 통한 ls/du/rm으로 실행합니다
apidly terminal 실행 중인 서버의 브라우저 터미널 주소와 비밀번호(--web-terminal로 배포)
apidly secrets 조직 시크릿을 나열, 설정 또는 삭제합니다(값은 쓰기 전용)
apidly scp scp로 실행 중인 서버와 파일을 복사합니다
apidly openapi OpenAPI 문서의 주소를 출력하거나 다운로드합니다
apidly config 저장된 설정(api-url)을 읽거나 변경하고, 저장된 프로필 사이를 전환합니다
apidly automation 서버의 자동화 규칙을 읽거나 설정하거나 지웁니다
apidly volumes 영구 볼륨 목록, 보기, 생성, 가격 확인, 이름 변경 또는 삭제
apidly transfers 서버 간에 데이터를 복사하거나 클라우드 스토리지로 백업하고 복원합니다
apidly registries 비공개 이미지 레지스트리 로그인 정보를 나열, 추가 또는 제거합니다
apidly api-keys API 키 목록, 생성, 편집, 교체 또는 폐기
apidly endpoints 서버리스 엔드포인트: 생성, 확장, 일시 중지, 지표 읽기, 호출
apidly budget 월별 예산과 알림 임계값을 표시하거나 변경합니다
apidly billing-details 청구 이름, 주소, 세금 ID를 표시하거나 변경합니다
apidly billing 잔액, 원장, 청구서, 사용량, 충전, 결제 정보
apidly activity 조직의 활동 로그를 읽습니다
apidly notifications 알림 스위치를 표시하거나 변경합니다
apidly clone 서버 사본을 시작합니다(같은 요금제, 템플릿, 디스크, 키, 변수, 태그)
apidly filters 저장된 플랜 필터 나열, 저장 또는 삭제 (배포 마법사에 저장한 검색)
apidly watch 재고가 없는 플랜이 돌아오면 이메일 한 통 받기 (14일 지켜보기)
apidly cost 서버 한 대의 비용 (생성 이후와 이번 달)
apidly ports 실행 중인 서버의 각 포트가 응답하는지 확인
apidly invoice 청구서 하나를 인쇄용 HTML 페이지로 저장
apidly export 서버, 볼륨, SSH 키를 apidly.yaml 파일로 쓰거나 사용량, 원장, 활동을 CSV 파일로 내려받습니다
apidly refund 환불 요청 (결제 티켓을 엽니다. 사람이 결정하기 전까지 돈은 움직이지 않습니다)
apidly promo 프로모션 코드 사용(프로모션 크레딧은 환불되지 않습니다)
apidly org 조직 이름, 청구 이메일이나 국가, 또는 실행 기본값 변경
apidly profile 표시 이름, 언어, 시간대를 보거나 변경
apidly variable-sets 이름 있는 환경 변수 세트(비밀 값 포함)를 저장하고 시작할 때 붙입니다(값은 쓰기 전용입니다)
apidly plan apidly.yaml 파일에 대해 apidly apply가 만들거나 바꾸거나 그대로 둘 것과 가격을 보여 줍니다. 아무것도 바꾸지 않습니다
apidly apply 계획을 보여 주고 확인한 뒤 apidly.yaml 파일이 설명하는 것을 만들고 바꿉니다
apidly ssh-config 실행 중인 서버의 SSH 설정 항목을 출력하거나 ~/.ssh/config에 유지합니다(그러면 ssh ID만으로 접속됩니다)
apidly doctor 설정(버전, 구성, 키, API, 잔액, SSH, 자동 완성)을 확인하고 잘못된 부분을 고치는 방법을 알려 줍니다
apidly update 더 새로운 CLI가 있는지 확인하고 설치합니다(체크섬 검증)
apidly completion 셸 자동 완성 스크립트(bash, zsh 또는 fish)를 출력합니다

무언가를 삭제하거나 폐기하는 명령은 터미널에서 확인을 요청하며, 스크립트에서는 --yes가 필요합니다. apidly COMMAND --help는 아래와 같은 사용법과 옵션을 출력합니다.

계정

apidly login

API 키를 저장합니다.

apidly login [--api-url URL] [--key KEY] [--profile NAME]
옵션 동작
--key VALUE API 키(없으면 묻거나 파이프된 stdin에서 읽습니다)

API: GET /me.

apidly logout

저장된 API 키를 제거합니다.

apidly logout [--profile NAME]

apidly whoami

조직, 잔액, 남은 가동 시간을 표시합니다.

apidly me로도 사용할 수 있습니다.

apidly whoami

API: GET /me.

apidly init

첫 실행: API 키 저장, SSH 키 추가, 잔액과 가격 확인.

apidly init [--key KEY] [--ssh-key-file FILE.pub | --skip-ssh-key] [--upload-ssh-key]
옵션 동작
--key VALUE API 키 (터미널에서 물어봄. stdin이 터미널이 아니면 APIDLY_API_KEY가 설정되지 않은 한 필수)
--ssh-key-file VALUE 올릴 SSH 공개 키 (기본값 ~/.ssh/id_ed25519.pub, id_ecdsa.pub 또는 id_rsa.pub)
--upload-ssh-key 등록된 키가 없으면 묻지 않고 SSH 공개 키 올리기
--skip-ssh-key SSH 키 업로드를 제안하지 않음

API: GET /me, GET /ssh-keys, POST /ssh-keys, GET /plans.

apidly status

한 화면: 잔액과 남은 기간, 실행 중인 서버와 비용, 확인이 필요한 모든 것.

apidly status

API: GET /me, GET /servers, GET /servers/{id}/billing, GET /servers/{id}/automation, GET /deployments.

apidly openapi

OpenAPI 문서의 주소를 출력하거나 다운로드합니다.

apidly openapi [--fetch]
옵션 동작
--fetch 문서를 다운로드해 JSON으로 출력합니다

API: GET /openapi.json.

apidly config

저장된 설정(api-url)을 읽거나 변경하고, 저장된 프로필 사이를 전환합니다.

apidly config get [api-url]
apidly config set api-url URL
apidly config profiles
apidly config use NAME
apidly config profiles rm NAME [--yes]
  (add a profile with `apidly login --profile NAME`; pick one per command with --profile NAME or APIDLY_PROFILE)
옵션 동작
-y, --yes 프로필을 제거하기 전에 묻지 않습니다

apidly org

조직 이름, 청구 이메일이나 국가, 또는 실행 기본값 변경.

apidly org set [--name TEXT] [--billing-email EMAIL|none] [--country CC|none]
apidly org defaults [--ssh-key ID ...|--ssh-key none|--ssh-key unset] [--auto-stop HOURS|none|unset] [--region na|eu|ap|other|any]
옵션 동작
--ssh-key VALUE(반복 가능) defaults: 실행할 때마다 미리 선택되는 SSH 키, 반복 가능; none = 키 없음, unset = 선택 안 함
--auto-stop VALUE defaults: 새 서버를 HOURS시간 실행 후 중지(1~720); none = 자동 중지 없음, unset = 선택 안 함
--region VALUE defaults: 요금제 추천용 선호 리전(na, eu, ap, other); any = 선호 없음
--name VALUE 새 조직 이름
--billing-email VALUE 결제 이메일 또는 none
--country VALUE 두 글자 국가 코드 또는 none

API: PATCH /organization, GET /organization/defaults, PATCH /organization/defaults.

apidly profile

표시 이름, 언어, 시간대를 보거나 변경.

apidly profile
apidly profile set [--name TEXT] [--locale CODE] [--time-zone ZONE|utc]
옵션 동작
--name VALUE set: 표시 이름(1~80자)
--locale VALUE set: 이메일 언어, 예: de 또는 pt-BR
--time-zone VALUE set: 이메일 날짜에 쓰는 IANA 시간대(Europe/Berlin) 또는 utc

API: GET /me/profile, PATCH /me/profile.

apidly doctor

설정(버전, 구성, 키, API, 잔액, SSH, 자동 완성)을 확인하고 잘못된 부분을 고치는 방법을 알려 줍니다.

apidly doctor [--offline] [--json]
옵션 동작
--offline 네트워크가 필요한 확인(버전, API, 키, 잔액, 계정 SSH 키, 서버)을 건너뜁니다

API: GET /me, GET /ssh-keys, GET /servers, GET /deployments.

apidly update

더 새로운 CLI가 있는지 확인하고 설치합니다(체크섬 검증).

apidly upgrade로도 사용할 수 있습니다.

apidly update [--yes]
apidly update --check   (exit 3 when a newer version is out)
apidly update --print   (print the commands instead of running them)
옵션 동작
--check 새 버전이 나왔는지만 알려 줍니다(나왔으면 종료 코드 3)
--print 다운로드와 설치 명령을 출력만 하고 아무것도 실행하지 않습니다
-y, --yes 묻지 않습니다

apidly completion

셸 자동 완성 스크립트(bash, zsh 또는 fish)를 출력합니다.

apidly completion bash|zsh|fish

apidly __complete

셸 자동 완성용 단어입니다(완성 스크립트가 사용합니다).

apidly __complete profiles|servers|plans

서버

apidly servers

서버를 나열하거나 하나를 표시, 이름 변경하거나 해당 이벤트를 읽습니다.

apidly servers [--status S[,S]] [--pricing on_demand|interruptible] [--search TEXT] [--tag TAG[,TAG]] [--include-destroyed] [--limit N | --all] [--watch]
apidly servers show ID
apidly servers rename ID LABEL
apidly servers note ID "TEXT" | --clear   (your own note, plain text up to 2,000 characters; never sent to the host)
apidly servers tag ID [ID...] [--add TAG ...] [--remove TAG ...]   (several IDs: one call, up to 100 servers)
apidly servers bulk start|stop|restart|destroy ID [ID...] [--force] [--yes]   (one call for up to 100 servers; each gets its own result)
apidly servers bulk start|stop|restart|destroy --tag TAG[,TAG] [--preview] [--force] [--yes]   (every server that carries all the tags, up to 100; --preview lists them and changes nothing)
apidly servers auto-extend ID on|off   (move the server to a new machine shortly before its machine ends; disk contents are not moved)
apidly servers keep-on-error ID on|off   (on: a fatal error the app prints while starting never closes the server; it stays running and charged)
apidly servers events ID [--limit N | --all]
apidly servers metrics ID [--range 1h|6h|24h|48h]
apidly servers usage ID [--from DATE] [--to DATE]
apidly servers max-price ID [USD_PER_HOUR] [--yes]
apidly servers export ID [-f FILE.json]   (the launch settings as a file for `apidly deploy -f`; secret values are never written)
apidly servers wait ID [--for running|stopped|destroyed] [--timeout SECONDS]   (for scripts: exit 0 once the server is there, 1 when it cannot get there)
apidly servers benchmark ID [-i KEYFILE] [--budget SECONDS] [--no-save] [--print]   (runs our standard GPU benchmark over your SSH, about 4 minutes, and compares it with our measured median; needs python3 and PyTorch on the server)
apidly servers benchmarks ID   (benchmarks recorded for the server, newest first)
apidly servers create|start|stop|restart|reboot|recreate|destroy|logs|exec|ssh|scp|automation ...   (same as the top-level commands)

바로 가기: apidly servers create 명령은 apidly deploy 명령을 실행합니다. apidly servers deploy 명령은 apidly deploy 명령을 실행합니다. apidly servers start 명령은 apidly start 명령을 실행합니다. apidly servers stop 명령은 apidly stop 명령을 실행합니다. apidly servers restart 명령은 apidly restart 명령을 실행합니다. apidly servers reboot 명령은 apidly reboot 명령을 실행합니다. apidly servers recreate 명령은 apidly recreate 명령을 실행합니다. apidly servers destroy 명령은 apidly destroy 명령을 실행합니다. apidly servers rm 명령은 apidly destroy 명령을 실행합니다. apidly servers logs 명령은 apidly logs 명령을 실행합니다. apidly servers exec 명령은 apidly exec 명령을 실행합니다. apidly servers ssh 명령은 apidly ssh 명령을 실행합니다. apidly servers scp 명령은 apidly scp 명령을 실행합니다. apidly servers automation 명령은 apidly automation 명령을 실행합니다. apidly servers terminal 명령은 apidly terminal 명령을 실행합니다.

옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
-f, --file VALUE export: 시작 파일을 FILE에 씁니다(기본값: 출력, -도 출력)
--from VALUE usage: 첫째 날(YYYY-MM-DD)
--to VALUE usage: 마지막 날(YYYY-MM-DD)
--include-destroyed 삭제된 서버를 포함합니다
--status VALUE 이 상태만 쉼표로 구분(running, stopped, interrupted, error 등). destroyed는 삭제된 서버도 나열합니다
--pricing VALUE on_demand 또는 interruptible 서버만
--search VALUE ID, 레이블, GPU 모델, 메모 또는 태그에 TEXT가 포함된 서버만
--range VALUE metrics: 1h(기본), 6h, 24h 또는 48h
--tag VALUE(반복 가능) 이 태그를 모두 가진 서버만(반복하거나 쉼표로 구분)
--add VALUE(반복 가능) tag: 이 태그를 추가합니다. 반복 가능(서버당 최대 10개)
--remove VALUE(반복 가능) tag: 이 태그를 제거합니다. 반복 가능
--clear note: 메모 삭제
--force bulk: 서버의 복사나 백업이 끝나지 않았어도 중지, 재시작 또는 삭제합니다
--watch 목록: Ctrl-C를 누를 때까지 5초마다 목록을 다시 그립니다
--for VALUE wait: 기다릴 상태: running(기본값), stopped 또는 destroyed
--timeout VALUE wait: 이 초가 지나면 기다리기를 멈춥니다(기본값 600)
--budget VALUE benchmark: 테스트에 쓸 수 있는 시간(초), 60~900 (기본값 240)
-i, --identity VALUE benchmark: ssh -i에 전달할 개인 키 파일
--no-save benchmark: 결과를 기록하지 않고 출력
--print benchmark: ssh 명령을 실행하지 않고 출력
--preview bulk --tag: 태그로 선택되는 서버를 나열하고 아무것도 변경하지 않음
-y, --yes 묻지 않습니다

API: GET /servers, GET /servers/{id}, PATCH /servers/{id}, POST /servers/tags, GET /servers/{id}/events, GET /servers/{id}/metrics, GET /servers/{id}/max-price, POST /servers/{id}/max-price, GET /servers/{id}/usage, GET /servers/{id}/launch-file, GET /servers/{id}/benchmarks, POST /servers/{id}/benchmarks.

API: POST /servers/bulk.

apidly deploy

새 서버를 요청합니다.

apidly deploy -f FILE.json [--label L] [--env K=V ...] [...any option below overrides the file]   (a launch file from `apidly servers export ID`)
apidly deploy --plan SLUG --template SLUG [--disk GB] [--ssh-key ID ...] [--label L] [--tag TAG ...] [--env K=V ...] [--env-file FILE] [--var-set NAME ...] [--interruptible] [--web-terminal] [--self-stop] [--fallback-plan SLUG ...] [--volume ID --mount PATH] [--wait] [--idempotency-key KEY] [--yes] [--dry-run]
  placement: [--region na|eu|ap|other] [--hosting datacenter|independent] [--reliability LEVEL] [--min-cpu N] [--min-ram GB] [--min-down MBPS] [--min-up MBPS] [--min-cuda MAJOR] [--direct-ports]
옵션 동작
-f, --file VALUE 시작 파일(apidly servers export ID가 쓰는 것과 같은 POST /servers 본문, -는 stdin). 함께 지정한 옵션이 우선합니다
--plan VALUE 플랜 슬러그 또는 ID(apidly plans 참조)
--template VALUE 템플릿 슬러그 또는 ID(apidly templates 참조)
--disk VALUE 디스크(GB)(기본값: 플랜 최소값과 템플릿 기본값 중 큰 쪽)
--ssh-key VALUE(반복 가능) SSH 키 ID. 반복 가능(apidly ssh-keys 참조)
--label VALUE 서버 라벨, 최대 60자
--tag VALUE(반복 가능) 새 서버의 태그. 반복 가능(최대 10개)
--env VALUE(반복 가능) 환경 변수 KEY=VALUE. 반복 가능
--env-file VALUE FILE에서 KEY=VALUE 줄을 읽습니다(stdin은 -). --env가 우선합니다
--var-set VALUE(반복 가능) 저장한 변수 세트를 붙입니다(ID 또는 이름, apidly variable-sets). 5개까지 반복할 수 있으며 나중 것이 우선하고 --env가 모두보다 우선합니다
--interruptible 더 낮은 가격. 수요가 늘면 서버가 일시 중지될 수 있습니다
--on-demand 고정 가격이며 일시 중지되지 않습니다(기본값)
--web-terminal 서버에서 브라우저 터미널도 실행합니다(플랫폼이 제공하는 경우에만. apidly terminal ID로 읽습니다)
--self-stop 이 서버를 중지하거나 삭제하는 것만 할 수 있는 키(GPU_SERVER_KEY)를 서버에 주어, 스크립트가 작업을 마치면 서버를 끝낼 수 있게 합니다
--dry-run 요청을 확인하고 시간당 가격(그리고 잔액 부족처럼 요청이 거절될 이유)을 보여 줍니다. 아무것도 만들지 않습니다
--region VALUE na, eu, ap 또는 other
--hosting VALUE datacenter 또는 independent
--reliability VALUE high로 설정하면 신뢰성이 높은 머신만 사용합니다
--min-cpu VALUE 최소 CPU 코어 수, 1에서 512
--min-ram VALUE 최소 RAM(GB), 1에서 4096
--min-down VALUE 최소 다운로드 속도(Mbps)
--min-up VALUE 최소 업로드 속도(Mbps)
--min-cuda VALUE 최소 CUDA 메이저 버전, 11에서 30
--direct-ports 포트에 직접 접근할 수 있는 머신만
--fallback-plan VALUE(반복 가능) 기본 플랜에 머신이 없을 때 시도할 플랜 슬러그 또는 ID. 반복 가능(최대 2개)
--volume VALUE 마운트할 영구 볼륨의 ID
--mount VALUE --volume의 마운트 경로
--idempotency-key VALUE 재시도를 안전하게 하려면 재사용하세요(기본값: 무작위)
--wait 서버가 목표 상태에 도달할 때까지 기다립니다
--timeout VALUE --wait로 기다릴 초(기본 600)
-y, --yes 확인을 요청하지 않습니다

API: POST /servers.

apidly start

중지된 서버를 시작합니다.

apidly start ID [ID...] [--wait] [--timeout SECONDS]
옵션 동작
--wait 서버가 목표 상태에 도달할 때까지 기다립니다
--timeout VALUE --wait로 기다릴 초(기본 600)

API: POST /servers/{id}/{action}.

apidly stop

실행 중인 서버를 중지합니다(디스크는 유지되며 계속 청구됩니다).

apidly stop ID [ID...] [--wait] [--timeout SECONDS]
apidly stop --all [--older-than 2h] [--yes] [--wait]
옵션 동작
--wait 서버가 목표 상태에 도달할 때까지 기다립니다
--timeout VALUE --wait로 기다릴 초(기본 600)
--all 모든 서버 (stop: 실행 중인 서버). 나열한 뒤 먼저 묻습니다
--older-than VALUE --all과 함께: 최소 이만큼 전에 만든 서버만 (30m, 2h, 1d)
-y, --yes --all과 함께: 먼저 묻지 않음

API: POST /servers/{id}/{action}.

apidly restart

서버를 다시 시작합니다.

apidly restart ID [ID...]

API: POST /servers/{id}/{action}.

apidly reboot

서버를 다시 시작합니다(restart와 동일하며, --hard는 먼저 중지한 뒤 다시 시작합니다).

apidly reboot ID [ID...] [--hard]
옵션 동작
--hard 서버를 멈추고 다시 시작합니다(다음 매분 작업이 시작). 더 깨끗한 재시작이며 파일(/workspace 포함)은 유지됩니다

API: POST /servers/{id}/{action}, POST /servers/{id}/hard-reboot.

apidly recreate

서버의 모든 파일(/workspace 포함)을 지우고 새로 받은 이미지에서 다시 만듭니다(먼저 묻습니다).

apidly recreate ID [ID...] [--yes]
옵션 동작
-y, --yes 입력 확인을 건너뜁니다(터미널이 아닌 곳에서 실행할 때 필요)

API: POST /servers/{id}/recreate.

apidly recycle

apidly recreate의 지원 중단된 이전 이름: 서버의 모든 파일을 지우고 다시 만듭니다 (먼저 확인함).

apidly recycle ID [ID...] [--yes]
옵션 동작
-y, --yes 입력 확인을 건너뜁니다(터미널이 아닌 곳에서 실행할 때 필요)

API: POST /servers/{id}/recycle.

apidly destroy

서버와 해당 디스크를 삭제합니다(되돌릴 수 없습니다).

apidly destroy ID [ID...] [--yes]
apidly destroy --all [--older-than 2h] [--yes]
옵션 동작
--all 모든 서버 (stop: 실행 중인 서버). 나열한 뒤 먼저 묻습니다
--older-than VALUE --all과 함께: 최소 이만큼 전에 만든 서버만 (30m, 2h, 1d)
-y, --yes 입력 확인을 건너뜁니다

API: DELETE /servers/{id}.

apidly logs

서버의 로그를 표시합니다.

apidly logs ID [--tail N] [--since TIME] [--until TIME] [--follow] [--download [--out FILE]]
옵션 동작
--download 마지막 1000줄을 출력하는 대신 텍스트 파일로 저장합니다
--out VALUE --download: 파일 이름(기본 ID-logs.txt)
--tail VALUE 줄 수, 1에서 1000(기본 200)
--since VALUE TIME 이후 시각의 줄만: 2026-11-24T10:00:00Z 또는 15m, 2h, 1d 전(날짜, 시각, 시간대로 시작하는 줄에 적용됩니다)
--until VALUE TIME 이전 시각의 줄만(--since와 같은 형식)
-f, --follow Ctrl-C를 누를 때까지 새 줄을 계속 출력합니다(--since를 쓰면 이전 줄은 계속 숨겨집니다)

API: GET /servers/{id}/logs, GET /servers/{id}/logs/download.

apidly up

목표에서 실행 중인 서버까지 명령 하나로 (chat, images, notebook, train, api).

apidly up chat|images|notebook|train|api|transcribe|server [--budget USD_PER_HOUR] [--hours H] [--yes]
  [--no-auto-stop] [--ssh-key ID] [--label L] [--detach] [--timeout SECONDS]
옵션 동작
--budget VALUE 실행 시간당 최대 금액, USD, 디스크 포함 (예: 0.50)
--hours VALUE 필요한 기간: 미리 가격을 계산하고 자동 중지를 설정 (기본값 2, 0.25~720)
--no-auto-stop 자동 중지를 설정하지 않음 (직접 중지할 때까지 실행)
--ssh-key VALUE(반복 가능) SSH로 쓰는 템플릿의 SSH 키 ID (기본값: 유일한 키)
--label VALUE 서버 이름표
--detach 서버가 실행될 때까지 기다리지 않음
--timeout VALUE 서버를 기다릴 초 (기본값 900)
-y, --yes 확인을 요청하지 않습니다

API: GET /quickstart, POST /servers, PUT /servers/{id}/automation, GET /servers/{id}.

apidly avoided-machines

특정 머신에 서버를 다시는 배치하지 않기: 해당 서버로 지정, 목록, 삭제.

apidly avoided-machines
apidly avoided-machines add SERVER [--reason TEXT]
apidly avoided-machines rm ENTRY_ID [--yes]
옵션 동작
--reason VALUE 피하는 이유, 내 목록용 (최대 200자)
-y, --yes 묻지 않습니다

API: POST /servers/{id}/avoid-machine, GET /avoided-machines, DELETE /avoided-machines/{id}.

apidly deployments

서버 요청을 나열하거나 하나를 표시, 취소 또는 다시 시작합니다.

apidly deployments [--status STATUS] [--limit N | --all]
apidly deployments show ID
apidly deployments cancel ID
apidly deployments again ID [--label LABEL] [--env K=V ...] [--env-file FILE]   (a new request with the same settings, at today's price)
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
--label VALUE again: 새 서버의 레이블(기본값: 동일)
--env VALUE(반복 가능) 저장된 값이 지워진 변수의 값을 다시 지정 (secret_values_cleared), KEY=VALUE, 반복 가능
--env-file VALUE 해당 KEY=VALUE 줄을 FILE에서 읽기 (- 는 stdin); --env 우선
--idempotency-key VALUE again: 직접 정한 Idempotency-Key(이 키로 한 재시도는 두 번 실행되지 않음)
--status VALUE pending_approval, approved, provisioning, active, rejected, failed 또는 cancelled

API: GET /deployments, GET /deployments/{id}, POST /deployments/{id}/cancel, POST /deployments/{id}/launch-again.

apidly exec

서버에서 명령을 실행합니다. 실행 중이면 본인의 ssh로, 중지된 상태면 API를 통한 ls/du/rm으로 실행합니다.

apidly exec ID [-i KEYFILE] [--print] -- COMMAND [ARGS...]
apidly exec ID -- ls|du|rm [ARGS...]   (stopped server)
옵션 동작
-i, --identity VALUE ssh -i에 전달되는 개인 키 파일(실행 중인 서버)
--print ssh 명령을 실행하지 않고 출력합니다(실행 중인 서버)

API: POST /servers/{id}/exec.

apidly terminal

실행 중인 서버의 브라우저 터미널 주소와 비밀번호(--web-terminal로 배포).

apidly terminal ID [--show-password]
옵션 동작
--show-password 표 출력에 비밀번호를 출력합니다(JSON 출력에는 항상 포함됩니다)

API: POST /servers/{id}/terminal.

apidly automation

서버의 자동화 규칙을 읽거나 설정하거나 지웁니다.

apidly automation get ID
apidly automation set ID [--max-runtime-hours H] [--idle-threshold PCT --idle-minutes M] [--destroy-at TIME] [--stop-at TIME | --stop-after-hours H] [--spend-cap USD] [--schedule-file FILE.json] [--clear RULE ...]
apidly automation clear ID [--yes]
apidly automation calendar ID [--weeks N] [--out FILE.ics]   (planned starts and stops for a calendar app)
옵션 동작
--weeks VALUE calendar: 몇 주 앞까지(1~12, 기본값 4)
--out VALUE calendar: 이 파일에 씁니다(기본값: 출력)
--max-runtime-hours VALUE 이 시간(시간 단위) 후에 중지합니다(0.25에서 2160)
--idle-threshold VALUE GPU 사용률이 이 비율(1에서 50) 미만이면 유휴로 간주합니다
--idle-minutes VALUE 중지 전 유휴 시간(분)(10에서 1440)
--destroy-at VALUE 이 시각에 삭제합니다(Z로 끝나는 ISO 타임스탬프)
--stop-at VALUE 이 시각에 서버를 중지합니다(Z로 끝나는 ISO 타임스탬프. 최소 1분 이후여야 합니다)
--stop-after-hours VALUE 지금부터 이 시간 후에 서버를 중지합니다(--stop-at와 같은 규칙)
--spend-cap VALUE 이 금액(USD)을 사용하면 중지합니다(0.10 이상)
--schedule-file VALUE JSON {timezone, windows:[{days,start,stop,count?}]}(stdin은 -)
--clear VALUE(반복 가능) 규칙 제거: max-runtime, idle, destroy-at, stop-at, spend-cap 또는 schedule
-y, --yes 묻지 않습니다

API: GET /servers/{id}/automation, PUT /servers/{id}/automation, DELETE /servers/{id}/automation, GET /servers/{id}/automation/calendar.

apidly clone

서버 사본을 시작합니다(같은 요금제, 템플릿, 디스크, 키, 변수, 태그).

apidly clone SERVER_ID [--label LABEL] [--env K=V ...] [--env-file FILE] [--idempotency-key KEY]
옵션 동작
--label VALUE 사본의 레이블(기본값: " copy")
--env VALUE(반복 가능) 저장된 값이 지워진 변수의 값을 다시 지정 (secret_values_cleared), KEY=VALUE, 반복 가능
--env-file VALUE 해당 KEY=VALUE 줄을 FILE에서 읽기 (- 는 stdin); --env 우선
--idempotency-key VALUE 직접 정한 Idempotency-Key(이 키로 한 재시도는 두 번 실행되지 않음)

API: POST /servers/{id}/clone.

apidly ports

실행 중인 서버의 각 포트가 응답하는지 확인.

apidly ports SERVER_ID

API: GET /servers/{id}/portal-health.

apidly plan

apidly.yaml 파일에 대해 apidly apply가 만들거나 바꾸거나 그대로 둘 것과 가격을 보여 줍니다. 아무것도 바꾸지 않습니다.

apidly plan [-f apidly.yaml] [--max-hourly-usd USD] [--prune] [--detailed-exitcode]
옵션 동작
-f, --file VALUE 파일 (기본값은 이 폴더의 apidly.yaml, stdin은 -)
--max-hourly-usd VALUE 새로 만들 것이 시간당 이 금액(미국 달러)보다 비싸면 거부합니다
--prune 파일에서 빠진 이 스택의 서버를 삭제로 표시합니다
--detailed-exitcode apply가 무언가를 바꾸게 되면 종료 코드 3, 할 일이 없으면 0으로 끝냅니다(1은 실패, 2는 오타)

API: GET /servers, GET /deployments, GET /plans, GET /templates, GET /ssh-keys, GET /secrets, GET /volumes, GET /volumes/options, GET /endpoints, GET /servers/{id}/automation.

apidly apply

계획을 보여 주고 확인한 뒤 apidly.yaml 파일이 설명하는 것을 만들고 바꿉니다.

apidly apply [-f apidly.yaml] [--max-hourly-usd USD] [--prune] [--yes]
옵션 동작
-f, --file VALUE 파일 (기본값은 이 폴더의 apidly.yaml, stdin은 -)
--max-hourly-usd VALUE 새로 만들 것이 시간당 이 금액(미국 달러)보다 비싸면 거부합니다
--prune 이 스택의 태그가 있지만 파일에서 빠진 서버도 폐기합니다
-y, --yes 묻지 않습니다

API: GET /servers, GET /deployments, GET /plans, GET /templates, GET /ssh-keys, GET /secrets, GET /volumes, GET /volumes/options, GET /endpoints, GET /servers/{id}/automation, POST /ssh-keys, POST /volumes, POST /servers, PATCH /servers/{id}, PUT /servers/{id}/automation, GET /servers/{id}, DELETE /servers/{id}, POST /endpoints, PATCH /endpoints/{id}.

SSH

apidly ssh-keys

SSH 키를 나열, 추가, 이름 변경 또는 제거합니다.

apidly ssh-keys [--limit N | --all]
apidly ssh-keys show ID
apidly ssh-keys add FILE [--name NAME]
apidly ssh-keys import USER [--site github|gitlab]   (the public keys that account publishes)
apidly ssh-keys rename ID NAME
apidly ssh-keys rm ID [--yes]
apidly ssh-keys on SERVER
apidly ssh-keys attach SERVER KEY_ID
apidly ssh-keys detach SERVER KEY_ID [--yes]
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
--name VALUE 새 키의 이름(기본값: 키의 주석 또는 파일 이름)
--site VALUE import가 공개 키를 읽는 곳: github(기본값) 또는 gitlab
-y, --yes 묻지 않습니다

API: GET /ssh-keys, GET /ssh-keys/{id}, POST /ssh-keys, PATCH /ssh-keys/{id}, DELETE /ssh-keys/{id}, GET /servers/{id}/ssh-keys, POST /servers/{id}/ssh-keys, DELETE /servers/{id}/ssh-keys/{keyId}.

apidly ssh

실행 중인 서버에 SSH 세션을 엽니다.

apidly ssh ID [-i KEYFILE] [--print] [-- extra ssh args or a remote command]
옵션 동작
--print ssh 명령을 실행하지 않고 출력합니다
-i, --identity VALUE ssh -i에 전달되는 개인 키 파일

API: GET /servers/{id}.

apidly scp

scp로 실행 중인 서버와 파일을 복사합니다.

apidly scp ID SRC DST [-i KEYFILE] [-r] [--print]
  a path starting with : is on the server, for example:
  apidly scp ins_abc ./data.tar :/workspace/
  apidly scp ins_abc :/workspace/out ./out -r
옵션 동작
--print scp 명령을 실행하지 않고 출력합니다
-i, --identity VALUE scp -i에 전달되는 개인 키 파일
-r, --recursive 디렉터리를 복사합니다

API: GET /servers/{id}.

apidly ssh-config

실행 중인 서버의 SSH 설정 항목을 출력하거나 ~/.ssh/config에 유지합니다(그러면 ssh ID만으로 접속됩니다).

apidly ssh-config [ID...] [-i KEYFILE]
apidly ssh-config --write [--file PATH] [-i KEYFILE]
옵션 동작
-i, --identity VALUE IdentityFile로 추가할 개인 키 파일
--write 항목을 SSH 설정 파일의 표시된 블록에 유지합니다. 다음 실행은 그 블록만 바꿉니다
--file VALUE --write: 업데이트할 설정 파일(기본값 ~/.ssh/config)

API: GET /servers, GET /servers/{id}.

플랜과 템플릿

apidly plans

가격과 사용 가능 여부가 포함된 GPU 플랜 목록 또는 한 플랜의 가격 이력을 표시합니다.

apidly plans [--gpu NAME] [--gpus N] [--tier T] [--min-vram GB] [--max-vram GB] [--min-gpus N] [--max-gpus N] [--min-ram GB] [--min-cpu N] [--min-disk GB] [--max-price USD_PER_HOUR] [--region R] [--hosting H] [--min-perf INDEX] [--availability A] [--available] [--sort KEY] [--limit N]
apidly plans history SLUG|ID
apidly plans search 'vram>=24 gpus>=2 price<1.5 region=eu sort=perf_per_dollar' [other flags]
옵션 동작
-q, --query VALUE 모든 필터를 한 줄로 지정합니다. 예: 'vram>=24 gpus>=2 price<1.5' (키: gpu, gpus, vram, ram, cpu, disk, price, perf, region, hosting, availability, sort)
--gpu VALUE GPU 모델에 NAME 포함(대소문자 구분 없음)
--gpus VALUE 서버당 정확히 N개의 GPU
--tier VALUE standard, performance 또는 enterprise
--min-vram VALUE 각 GPU의 최소 VRAM(GB)(API가 필터링)
--max-vram VALUE 각 GPU의 최대 VRAM(GB)(API가 필터링)
--min-gpus VALUE 서버당 최소 N개의 GPU(API가 필터링)
--max-gpus VALUE 서버당 최대 N개의 GPU(API가 필터링)
--min-ram VALUE 최소 시스템 RAM(GB)(API가 필터링)
--min-cpu VALUE 최소 vCPU(API가 필터링)
--min-disk VALUE 최소 디스크(GB)
--max-price VALUE 시간당 최대 가격(USD)(API가 필터링)
--region VALUE na, eu, ap 또는 other(API가 필터링)
--hosting VALUE datacenter, independent 또는 any(API가 필터링)
--min-perf VALUE 최소 Apidly 성능 지수, 기준 GPU = 100(API에서 필터링)
--availability VALUE available, limited 또는 unavailable(API가 필터링)
--available 지금 요청할 수 있는 플랜만
--sort VALUE recommended(기본), price(저렴한 순), perf, perf-per-dollar, vram, price-desc, ram, cpu, gpus 또는 name
--limit VALUE 최대 N개의 플랜을 표시합니다

API: GET /plans, GET /plans/{id}/history.

apidly templates

템플릿을 나열, 표시, 생성, 업데이트 또는 삭제합니다.

apidly templates [--search TEXT] [--category C] [--own | --builtin] [--vram GB] [--limit N | --all]
apidly templates show ID
apidly templates create -f FILE.json
apidly templates update ID -f FILE.json
apidly templates rm ID [--yes]
apidly templates share ID [--name TEXT] [--include-start-script] [--expires-days N]
apidly templates unshare ID [--yes]
apidly templates duplicate ID
apidly templates save SERVER_ID [--name TEXT] [--summary TEXT] [--idempotency-key KEY]   (secret values are not copied)
apidly templates revisions ID
apidly templates restore ID REVISION
apidly templates export ID [-f FILE.json]
apidly templates import -f FILE.json   (an exported file, or a create body)
apidly templates shares ID
apidly templates use SHARE_TOKEN
apidly templates report SHARE_TOKEN --reason malware|illegal|secrets|other [--details "TEXT"]
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
--reason VALUE report: malware, illegal, secrets 또는 other
--details VALUE report: 본 내용
--search VALUE 목록: 이름, slug, 요약, 이미지 또는 카테고리에 이 텍스트가 포함된 템플릿만
--category VALUE 목록: 이 카테고리만 (base, llm, image, notebook, training 또는 custom)
--own 목록: 조직의 자체 템플릿만
--builtin 목록: 공개 카탈로그만
--vram VALUE 목록: 이만큼의 메모리(GB)를 가진 GPU에서 실행되는 템플릿만
-f, --file VALUE create/update용 JSON 본문(stdin은 -)
--name VALUE 공유 링크에 표시되는 이름; save: 새 템플릿의 이름(기본값: 서버 레이블)
--summary VALUE save: 새 템플릿의 짧은 요약
--idempotency-key VALUE save: 직접 정한 Idempotency-Key(이 키로 한 재시도는 두 번 실행되지 않음)
--include-start-script 공유 링크를 여는 사람이 시작 스크립트를 볼 수 있게 합니다
--expires-days VALUE 공유 링크의 수명(일), 1에서 365(기본값: 만료 없음)
-y, --yes 묻지 않습니다

API: GET /templates, POST /templates, GET /templates/{id}, PATCH /templates/{id}, DELETE /templates/{id}, POST /templates/{id}/share, DELETE /templates/{id}/share, POST /templates/{id}/duplicate, POST /servers/{id}/template, GET /templates/{id}/revisions, POST /templates/{id}/revisions/{rev}/restore, GET /templates/{id}/share, GET /templates/{id}/export, POST /templates/import, POST /template-shares/{token}/import, POST /template-shares/{token}/report.

apidly benchmarks

GPU 클래스별 측정 성능 (저희가 직접 실행한 벤치마크).

apidly benchmarks [--gpu MODEL] [--limit N | --all]
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
--gpu VALUE 이 GPU 모델만 (정확한 이름)

API: GET /benchmarks.

apidly gpus

최저 가격과 사용 가능 여부가 포함된 GPU 모델을 나열합니다.

apidly gpus [--limit N | --all]
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다

API: GET /gpus.

apidly regions

서버가 실행되는 리전을 나열합니다.

apidly regions [--limit N | --all]
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다

API: GET /regions.

apidly filters

저장된 플랜 필터 나열, 저장 또는 삭제 (배포 마법사에 저장한 검색).

apidly filters
apidly filters save NAME -f FILTERS.json   (FILTERS.json: { core: {...}, hw: {...} }, as `filters --json` prints; every field is optional)
apidly filters save 4090-eu -f - <<< '{"core":{"query":"RTX 4090"},"hw":{"region":"eu"}}'
apidly filters rm ID [--yes]
옵션 동작
-f, --file VALUE JSON 필터 세트 (stdin은 -)
--idempotency-key VALUE 직접 정한 Idempotency-Key (이것으로 다시 시도해도 두 번 실행되지 않음)
-y, --yes 묻지 않습니다

API: GET /plan-filters, POST /plan-filters, DELETE /plan-filters/{id}.

apidly watch

재고가 없는 플랜이 돌아오면 이메일 한 통 받기 (14일 지켜보기).

apidly watch
apidly watch add PLAN_ID
apidly watch rm PLAN_ID [--yes]
옵션 동작
-y, --yes 묻지 않습니다

API: GET /plan-watches, POST /plan-watches, DELETE /plan-watches/{planId}.

서버 그룹

apidly groups

서버 그룹(원하는 수의 동일한 서버)을 관리합니다.

apidly groups [list]
apidly groups create -f FILE.json
apidly groups show ID
apidly groups scale ID N
apidly groups update ID -f FILE.json
apidly groups pause ID
apidly groups resume ID
apidly groups rm ID [--yes]
옵션 동작
-f, --file VALUE create용 JSON 본문(stdin은 -)
-y, --yes 묻지 않습니다

API: GET /groups, POST /groups, GET /groups/{id}, PATCH /groups/{id}, DELETE /groups/{id}, POST /groups/{id}/{action}.

서버리스 엔드포인트

apidly endpoints

서버리스 엔드포인트: 생성, 확장, 일시 중지, 지표 읽기, 호출.

apidly endpoints
apidly endpoints show ID
apidly endpoints create [-f FILE.json] --name N --plan SLUG --template SLUG [--disk GB] [scaling flags] [placement flags] [--env K=V ...] [--env-file FILE]
apidly endpoints update ID [-f FILE.json] [scaling flags] [--template SLUG] [--disk GB] [--env K=V ...] [--env-file FILE] [--keep-env NAME ... | --keep-other-env] [constraint flags]
apidly endpoints rollout ID resume|cancel|start|rollback
apidly endpoints groups ID
apidly endpoints set-groups ID (-f FILE.json | --clear)
apidly endpoints rm ID [--yes]
apidly endpoints pause ID
apidly endpoints resume ID
apidly endpoints stop ID   (stop every worker but keep its disk, billed; resume comes back faster than from pause)
apidly endpoints metrics ID [--window 1h|24h|7d]
apidly endpoints invoke ID PATH [-X METHOD] [-d DATA | -d @FILE | -d -] [--content-type T] [--openai] [--session ID]
apidly endpoints jobs ID [--limit N]
apidly endpoints submit ID PATH [-X GET|POST|PUT] [-d DATA | -d @FILE | -d -] [--content-type T] [--query QS] [--webhook] [--cost N] [--priority N] [--queue-ttl SECONDS] [--result-ttl SECONDS] [--keep-request]
apidly endpoints job ID JOB_ID [--wait] [--wait-timeout SECONDS]
apidly endpoints cancel-job ID JOB_ID [--yes]
apidly endpoints retry-job ID JOB_ID [--priority N] [--queue-ttl SECONDS] [--result-ttl SECONDS] [--idempotency-key KEY]
apidly endpoints purge ID [--older-than SECONDS] [--yes]   (cancel every job still waiting; running jobs are not touched)
apidly endpoints health ID
apidly endpoints requests ID [--status S] [--kind K] [--limit N] [--before CURSOR] [--csv]
apidly endpoints logs ID [--tail N] [--worker SERVER_ID]
apidly endpoints job-logs ID JOB_ID [--tail N]   (the log tail of the worker that ran the job)
apidly endpoints presets ID   (scale_to_zero, always_warm, burst, with their hourly cost)
apidly endpoints preset ID scale_to_zero|always_warm|burst
apidly endpoints releases ID [--limit N]
apidly endpoints restore ID VERSION [--yes]   (put an earlier release back)
옵션 동작
-f, --file VALUE create/update용 JSON 본문. 플래그가 우선합니다(stdin은 -)
--name VALUE 엔드포인트 이름, 최대 40자
--plan VALUE 플랜 슬러그 또는 ID(create)
--template VALUE 템플릿 슬러그 또는 ID(create)
--disk VALUE 디스크(GB)(create. 기본값: 플랜 최소값과 템플릿 기본값 중 큰 쪽)
--clear set-groups: 모든 그룹 제거 (다시 암묵적 그룹 하나)
--tail VALUE logs의 워커당 로그 줄 수(1-500, 기본 100)
--health-path VALUE 상태 확인 경로
--cold-start-note VALUE 워커가 시작되는 동안 표시되는 메모
--max-spend VALUE 시간당 지출 상한(USD) 또는 none
--rate-limit VALUE 엔드포인트의 분당 프록시 요청 수(모든 키 합계, 1~1200), 또는 플랫폼 한도 1200을 쓰려면 none
--auto-rollback VALUE on: 롤링 업데이트 중 새 워커가 상태 확인에 실패하면 자동으로 롤백합니다. off(기본값): 업데이트가 일시 중지됩니다
--fallback-plan VALUE(반복 가능) 대체 플랜 슬러그 또는 ID. 반복 가능(최대 2개)
--job-mode VALUE sync 또는 kit
--env VALUE(반복 가능) 환경 변수 KEY=VALUE. 반복 가능(create)
--env-file VALUE FILE에서 KEY=VALUE 줄을 읽습니다(create)
--keep-env VALUE(반복 가능) update: 저장된 이 변수를 그대로 유지합니다. 반복 가능(값은 다시 표시되지 않음). 유지하지 않고 --env에도 없는 변수는 제거됩니다
--keep-other-env update: --env/--env-file에 없는 저장된 변수를 모두 유지하므로, 나머지를 보내지 않고 값 하나만 바꿀 수 있습니다
--region VALUE na, eu, ap 또는 other
--hosting VALUE datacenter 또는 independent
--reliability VALUE high로 설정하면 신뢰성이 높은 머신만 사용합니다
--min-cpu VALUE 최소 CPU 코어 수, 1에서 512
--min-ram VALUE 최소 RAM(GB), 1에서 4096
--min-down VALUE 최소 다운로드 속도(Mbps)
--min-up VALUE 최소 업로드 속도(Mbps)
--min-cuda VALUE 최소 CUDA 메이저 버전, 11에서 30
--direct-ports 포트에 직접 접근할 수 있는 머신만
--http-port VALUE 워커가 수신하는 포트(1에서 65535)
--min-workers VALUE 계속 실행 상태로 유지할 워커 수(0에서 10)
--max-workers VALUE 동시에 실행할 최대 워커 수(1에서 20)
--idle-seconds VALUE 워커를 해제하기 전 유휴 시간(초)(60에서 86400)
--target-concurrency VALUE 워커 하나가 동시에 처리하는 요청 수(1에서 256)
--startup-seconds VALUE 워커가 준비되는 데 걸릴 수 있는 시간(초)(120에서 7200)
--min-warm-workers VALUE 웜 상태로 유지할 워커 수(0에서 10)
--warm-percent VALUE 추가 웜 용량(퍼센트)(0에서 500)
--max-queue-seconds VALUE 요청이 대기열에서 기다릴 수 있는 최대 시간(0에서 120)
--target-queue-seconds VALUE 스케일러가 목표로 하는 대기열 시간(1에서 120)
--job-timeout-seconds VALUE 작업 제한 시간(10에서 3600)
--max-surge VALUE 롤링 업데이트 중 원하는 수보다 더 시작하는 새 워커 (1~5)
--range VALUE 지표 창: 1h, 24h 또는 7d(기본 24h)
--window VALUE metrics: 시간 범위, 1h, 24h 또는 7d (기본값 24h, --range와 같음)
--worker VALUE logs: 이 워커만 (서버 ID)
--monthly-cap VALUE USD 단위의 엄격한 월간 지출 한도(도달하면 엔드포인트가 스스로 일시 중지), 또는 none
--resume-at-new-month VALUE on: 월간 한도로 일시 중지된 엔드포인트가 한도 아래에서 새 달이 시작되면 스스로 재개됩니다. off(기본값): 일시 중지 상태로 유지됩니다
--release-stopped-at-cap VALUE on: 중지된 엔드포인트가 월간 한도에서 중지된 워커를 해제해 디스크 청구가 멈춥니다. off(기본값): 워커가 유지됩니다
-X, --method VALUE invoke의 HTTP 메서드(GET 또는 POST)
-d, --data VALUE invoke의 요청 본문: 텍스트, @FILE 또는 stdin은 -
--content-type VALUE 본문의 콘텐츠 유형(기본 application/json)
--openai OpenAI 스타일 기본 URL로 전송합니다. PATH는 워커의 /v1에 대한 상대 경로입니다
--session VALUE invoke: 고정 세션. 같은 ID의 호출은 같은 워커로 갑니다(X-Session-Id)
--query VALUE submit의 쿼리 문자열(? 제외)
--webhook 작업이 끝나면 endpoint.job.completed 웹훅을 보냅니다
--cost VALUE 작업의 부하 단위, 1에서 100
--priority VALUE submit: 우선순위 -10~10(기본값 0). 대기 중인 작업은 우선순위가 높은 것부터 워커로 보내집니다. 음수 값은 --priority=-5처럼 쓰세요
--queue-ttl VALUE submit: 작업이 만료되기 전에 워커를 기다릴 수 있는 초, 60~3600(기본값 3600)
--result-ttl VALUE submit: 응답을 보관하는 초, 60~86400(기본값 86400)
--keep-request submit: 작업이 끝난 뒤에도 요청을 보관해 retry-job으로 다시 보낼 수 있게 함
--wait job: 작업이 끝날 때까지 대기(호출마다 서버에서 최대 60초 대기)
--wait-timeout VALUE job --wait: 이 초가 지나면 대기 중단, 1~86400(기본값 600)
--older-than VALUE purge: 최소 이 초 이상 기다린 작업만, 0~3600
--idempotency-key VALUE retry-job: 같은 키로 반복하면 두 번째 작업 대신 같은 새 작업을 받음
--status VALUE 요청 로그 필터: all, 2xx, 4xx, 5xx 또는 queued_out
--kind VALUE 요청 로그 필터: all, proxy 또는 job
--limit VALUE 반환할 행 수(jobs, requests)
--before VALUE 요청 로그: 이 커서보다 오래된 행
--csv CSV 텍스트로 된 요청 로그
-y, --yes 묻지 않습니다

API: GET /endpoints, POST /endpoints, GET /endpoints/{id}, PATCH /endpoints/{id}, DELETE /endpoints/{id}, POST /endpoints/{id}/{action}, GET /endpoints/{id}/metrics, GET /endpoints/{id}/proxy/{...path}, POST /endpoints/{id}/proxy/{...path}, GET /endpoints/{id}/openai/v1/{...path}, POST /endpoints/{id}/openai/v1/{...path}, GET /endpoints/{id}/jobs, POST /endpoints/{id}/jobs, GET /endpoints/{id}/jobs/{jobId}, POST /endpoints/{id}/jobs/{jobId}/cancel, POST /endpoints/{id}/jobs/{jobId}/retry, POST /endpoints/{id}/jobs/purge, GET /endpoints/{id}/health, GET /endpoints/{id}/requests, GET /endpoints/{id}/logs, POST /endpoints/{id}/rollout, GET /endpoints/{id}/groups, PUT /endpoints/{id}/groups, GET /endpoints/{id}/jobs/{jobId}/logs, GET /endpoints/{id}/presets, POST /endpoints/{id}/presets, GET /endpoints/{id}/releases, POST /endpoints/{id}/releases/{version}/restore.

스토리지

apidly secrets

조직 시크릿을 나열, 설정 또는 삭제합니다(값은 쓰기 전용).

apidly secrets ls
printf %s "$VALUE" | apidly secrets set NAME
apidly secrets rm NAME [--yes]
옵션 동작
-y, --yes 묻지 않습니다

API: GET /secrets, PUT /secrets, DELETE /secrets.

apidly volumes

영구 볼륨 목록, 보기, 생성, 가격 확인, 이름 변경 또는 삭제.

apidly volumes [--limit N | --all]
apidly volumes show ID
apidly volumes options SIZE_GB [--plan PLAN]   ("offers" is its deprecated name)
apidly volumes create NAME --size GB --plan PLAN [--yes]
apidly volumes availability ID
apidly volumes fit PLAN_SLUG   (free volumes a server of this plan can mount)
apidly volumes rename ID NAME
apidly volumes rm ID [--yes]
apidly volumes upload ID LOCAL_PATH [--dest DIR] [--plan PLAN] [--ssh-key ID] [-i KEYFILE] [-r] [--yes]   (a short-lived server you pay for; destroyed after)
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
--size VALUE 크기(GB), 10에서 2000
--plan VALUE 볼륨이 쓰일 GPU 플랜 (ID 또는 slug): 이 플랜을 제공하는 머신에 만들어지며, 이 플랜의 서버가 그곳에서 실행됩니다
--region VALUE 생성 시 더 이상 사용하지 않음 (볼륨은 --plan으로 배치)
--dest VALUE upload: 볼륨 안의 폴더(기본값은 루트)
--template VALUE upload: 임시 서버의 템플릿(기본값 ubuntu-cuda)
--ssh-key VALUE(반복 가능) upload: 임시 서버의 SSH 키 ID(기본값은 조직의 기본 키 또는 유일한 키)
-i, --identity VALUE upload: scp -i에 넘기는 개인 키 파일
-r, --recursive upload: 디렉터리를 복사합니다
--timeout VALUE upload: 임시 서버가 시작될 때까지 기다리는 초(기본값 600)
-y, --yes 묻지 않습니다

API: GET /volumes, POST /volumes, GET /volumes/options, GET /volumes/offers, GET /volumes/{id}, GET /volumes/{id}/availability, GET /volumes/fit, DELETE /volumes/{id}, PATCH /volumes/{id}.

apidly transfers

서버 간에 데이터를 복사하거나 클라우드 스토리지로 백업하고 복원합니다.

apidly transfers [--limit N | --all]
apidly transfers show ID
apidly transfers cancel ID [--yes]
apidly transfers copy SERVER:PATH SERVER:PATH
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
-y, --yes 묻지 않습니다

API: GET /transfers, POST /transfers, GET /transfers/{id}, DELETE /transfers/{id}.

apidly registries

비공개 이미지 레지스트리 로그인 정보를 나열, 추가 또는 제거합니다.

apidly registries [--limit N | --all]
printf %s "$TOKEN" | apidly registries add HOST --username USER
apidly registries update ID [--username USER] [--rotate-token]   (the new token is read from stdin)
apidly registries rm ID [--yes]
apidly registries check ID   (tries the login against the registry; nothing is pulled)
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
--username VALUE 레지스트리 사용자 이름
--rotate-token update: 새 토큰을 stdin에서 읽습니다
-y, --yes 묻지 않습니다

API: GET /registries, POST /registries, PATCH /registries/{id}, DELETE /registries/{id}, POST /registries/{id}/check.

apidly variable-sets

이름 있는 환경 변수 세트(비밀 값 포함)를 저장하고 시작할 때 붙입니다(값은 쓰기 전용입니다).

apidly var-sets로도 사용할 수 있습니다.

apidly variable-sets [ls]
apidly variable-sets show ID|NAME
apidly variable-sets create NAME --env-file FILE   (KEY=VALUE lines; - reads stdin)
apidly variable-sets update ID|NAME [--env-file FILE] [--unset KEY]... [--name NEW_NAME]
apidly variable-sets rm ID|NAME [--yes]
apidly deploy ... --var-set NAME [--var-set NAME2]   (attach at launch; a --env of the same name wins)
옵션 동작
--env-file VALUE create, update: KEY=VALUE 줄로 된 파일(-는 stdin을 읽음). 값은 인수에서 받지 않습니다
--unset VALUE(반복 가능) update: 세트에서 이 변수를 제거합니다
--name VALUE update: 세트 이름을 바꿉니다
-y, --yes 묻지 않습니다

API: GET /variable-sets, POST /variable-sets, GET /variable-sets/{id}, PATCH /variable-sets/{id}, DELETE /variable-sets/{id}.

액세스

apidly team

조직의 구성원과 역할을 나열합니다.

apidly team [members] [--limit N | --all]
apidly team roles
apidly team invitations [--limit N | --all]
apidly team invite EMAIL [--role admin|member|ROLE_ID] [--idempotency-key KEY]
apidly team revoke INVITATION_ID [--yes]
apidly team resend INVITATION_ID
apidly team role-create NAME --permissions a,b,c [--description TEXT]
apidly team role-update ROLE_ID NAME --permissions a,b,c [--description TEXT]
apidly team role-rm ROLE_ID [--yes]
apidly team role USER_ID ROLE
apidly team remove USER_ID [--yes]
apidly team limit USER_ID USD | --clear   (monthly spending limit of the servers the member launches; only where spending limits are available)
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
--clear limit: 멤버의 지출 한도를 삭제합니다
--permissions VALUE role-create, role-update: 쉼표로 구분된 권한 이름(team roles 참조)
--description VALUE role-create, role-update: 짧은 메모, 최대 200자
--role VALUE invite: admin, member(기본값) 또는 사용자 지정 역할의 ID
--idempotency-key VALUE invite: 재시도를 안전하게 하려면 키를 재사용하세요
-y, --yes 묻지 않습니다

API: GET /team/members, GET /team/roles, GET /team/invitations, POST /team/invitations, DELETE /team/invitations/{id}, POST /team/invitations/{id}/resend, POST /team/roles, PATCH /team/roles/{id}, DELETE /team/roles/{id}, PATCH /team/members/{userId}, DELETE /team/members/{userId}.

API: PUT /team/members/{userId}/spending-limit.

apidly webhooks

웹훅 엔드포인트를 나열, 추가 또는 제거하고 전송 내역을 읽습니다.

apidly webhooks list
apidly webhooks add URL --events a,b [--format json|slack|discord|teams] [--description TEXT]
apidly webhooks update ID [--url URL] [--format json|slack|discord|teams] [--events a,b] [--description TEXT] [--active on|off]
apidly webhooks rotate-secret ID
apidly webhooks test ID
apidly webhooks redeliver DELIVERY_ID
apidly webhooks rm ID [--yes]
apidly webhooks deliveries ID [--limit N]
옵션 동작
--url VALUE update: 새 HTTPS 주소
--format VALUE json(서명된 봉투, 기본값), slack, discord 또는 teams(해당 앱의 수신 웹훅 URL로 게시되는 짧은 메시지, 서명 없음)
--active VALUE update: on 또는 off(off는 전송을 일시 중지합니다)
--events VALUE 쉼표로 구분된 이벤트 유형(webhooks list 참조)
--description VALUE 짧은 메모, 최대 120자
--limit VALUE 표시할 전송 수, 1에서 100
-y, --yes 묻지 않습니다

API: GET /webhooks, POST /webhooks, PATCH /webhooks/{id}, DELETE /webhooks/{id}, GET /webhooks/{id}/deliveries, POST /webhooks/{id}/rotate-secret, POST /webhooks/{id}/test, POST /webhooks/deliveries/{deliveryId}/redeliver.

apidly support

지원 티켓을 열고, 읽고, 답하고, 닫습니다.

apidly support [--status open|pending|closed] [--limit N | --all]
apidly support show ID
apidly support open SUBJECT --message TEXT|- [--category C] [--priority low|normal|high] [--server ID]
apidly support reply ID MESSAGE|-
apidly support close ID [--yes]
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
--status VALUE 열림, 대기 중 또는 닫힌 티켓만
--message VALUE open: 티켓 본문(- 는 stdin을 읽습니다)
--category VALUE open: 티켓 카테고리
--priority VALUE open: low, normal 또는 high
--server VALUE open: 관련 서버의 ID
-y, --yes 묻지 않습니다

API: GET /support/tickets, POST /support/tickets, GET /support/tickets/{id}, POST /support/tickets/{id}/messages, POST /support/tickets/{id}/close.

apidly api-keys

API 키 목록, 생성, 편집, 교체 또는 폐기.

apidly api-keys
apidly api-keys create NAME [--scope read|servers|full] [--expires 30d|DATE] [--allowed-ip CIDR ...] [--permission NAME ...] [--endpoint ID]
apidly api-keys update ID [--name NAME] [--scope read|servers|full] [--expires 30d|DATE] [--allowed-ip CIDR ... | --any-ip] [--permission NAME ...]
apidly api-keys rotate ID [--grace 0|30m|1h|24h] [--yes]
apidly api-keys revoke ID [--yes]
apidly api-keys create NAME --monthly-limit USD   (stop new launches with the key at a monthly spend; running servers keep running)
apidly api-keys limit ID --monthly-limit USD|none
옵션 동작
--scope VALUE read, servers 또는 full(기본 full)
--expires VALUE 만료: 30d, 12h, 날짜(2027-01-31) 또는 ISO 타임스탬프
--allowed-ip VALUE(반복 가능) 이 IP 또는 CIDR에서만 키를 허용합니다. 반복 가능(최대 20개)
--permission VALUE(반복 가능) 키를 이 권한(예: servers.view)으로 제한합니다. 반복 가능
--endpoint VALUE 키를 서버리스 엔드포인트 하나(ID)에 묶습니다. 그러면 그 엔드포인트만 호출할 수 있습니다
--name VALUE update: 새 이름
--any-ip update: 허용 IP 목록 제거
--grace VALUE rotate: 이전 시크릿이 계속 작동하는 시간: 0 (기본값, 즉시 폐기), 30m, 1h ... 최대 24h
--monthly-limit VALUE create, limit: 이 키로 시작한 서버와 엔드포인트에 대한 월 지출 한도(USD, none은 삭제). 한도에 도달하면 이 키로 하는 새 시작이 거부됩니다. 실행 중인 서버는 중지되지 않습니다
-y, --yes 묻지 않습니다

API: GET /api-keys, POST /api-keys, DELETE /api-keys/{id}, PATCH /api-keys/{id}, POST /api-keys/{id}/rotate.

API: PUT /api-keys/{id}/spending-limit.

apidly activity

조직의 활동 로그를 읽습니다.

apidly activity [--category C] [--actor TEXT] [--from DATE] [--to DATE] [--limit N | --all]
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
--category VALUE signIn, team, keys, servers, billing 또는 settings
--actor VALUE 이 행위자만(구성원의 사용자 ID 또는 API 키 ID)
--from VALUE 시작(포함)
--to VALUE 끝(제외)

API: GET /activity.

apidly notifications

알림 스위치를 표시하거나 변경합니다.

apidly notifications [get]
apidly notifications set CATEGORY [--email on|off] [--in-app on|off] [--webhook on|off]
apidly notifications reminder HOURS|off
apidly notifications weekly [on|off]   (the weekly spend summary mail; off unless switched on; no argument shows it)
apidly notifications inbox [--limit N]
apidly notifications read
옵션 동작
--limit VALUE inbox: 1에서 100(기본 20)
--email VALUE 이 카테고리의 이메일: on 또는 off
--in-app VALUE 이 카테고리의 앱 내 알림: on 또는 off
--webhook VALUE 이 카테고리의 조직 웹훅: on 또는 off

API: GET /notification-preferences, PUT /notification-preferences, GET /notifications, POST /notifications/read.

결제

apidly usage

청구된 내역.

apidly usage [--from DATE] [--to DATE] [--by-day] [--limit N]
apidly usage --by template|tag|gpu|member|api-key|day|instance [--from DATE] [--to DATE]
apidly usage --server ID [--by-day] [--from DATE] [--to DATE]   (one server's charges, per day with --by-day)
옵션 동작
--from VALUE 시작(포함), 2026-11-01 또는 타임스탬프
--to VALUE 끝(제외)
--by-day 서버 대신 날짜별로 그룹화합니다
--by VALUE instance, day, gpu, member, template, tag(태그가 여러 개인 서버는 각 태그에 집계) 또는 api-key(각 서버를 시작한 키)로 그룹화
--server VALUE 이 서버의 컴퓨팅 및 디스크 요금만 (--by instance 또는 day와 함께)
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다

API: GET /usage.

apidly balance

선불 잔액, 사용 속도, 남은 가동 시간을 표시합니다.

apidly balance [--below USD]
apidly balance --watch [--interval SECONDS] [--below USD]
옵션 동작
--below VALUE 잔액이 이 미국 달러 금액보다 적으면 코드 3으로 종료 (스크립트, cron). --watch와 함께 쓰면 처음으로 그보다 낮아질 때 중지
--watch Ctrl-C를 누를 때까지 60초마다 (또는 --interval) 잔액을 다시 읽기
--interval VALUE --watch: 읽기 사이의 초, 10~3600

API: GET /balance.

apidly ledger

크레딧과 요금을 최신순으로 나열합니다.

apidly ledger [--type TYPE] [--server ID] [--from DATE] [--to DATE] [--limit N | --all]
apidly ledger receipt ENTRY_ID [--out FILE] [--lang CODE]
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
--type VALUE topup, usage, refund, adjustment, subscription_credit 또는 promo
--server VALUE 이 서버의 요금과 크레딧만
--from VALUE 이 날짜 또는 시각부터(포함), 예: 2026-11-01
--to VALUE 이 날짜 또는 시각 이전(제외)
--out VALUE PDF 출력 파일(기본값: apidly-statement-YYYY-MM.pdf 또는 apidly-receipt-ID.pdf)
--lang VALUE PDF 라벨의 언어(de 같은 언어 코드. PDF 글꼴이 그릴 수 없으면 영어)

API: GET /ledger, GET /ledger/{id}/receipt.

apidly invoices

청구서, 영수증, 명세서를 나열합니다.

apidly invoices [--kind topup|subscription|statement] [--from DATE] [--to DATE] [--limit N | --all]
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
--kind VALUE topup, subscription 또는 statement
--from VALUE 이 날짜 또는 시각부터(포함), 예: 2026-11-01
--to VALUE 이 날짜 또는 시각 이전(제외)

API: GET /invoices.

apidly statements

월별 명세서를 나열하거나 한 달(합계, 서버, 볼륨)을 표시합니다.

apidly statements [--limit N | --all]
apidly statements show YYYY-MM [--csv | --pdf [--out FILE] [--lang CODE]]
옵션 동작
--limit VALUE 최대 N개 항목을 반환합니다(기본 50)
--all 모든 페이지를 따라갑니다
--cursor VALUE nextCursor부터 이어서 가져옵니다
--csv show: CSV 다운로드를 출력합니다
--pdf show: 명세서를 PDF 파일로 저장합니다
--out VALUE PDF 출력 파일(기본값: apidly-statement-YYYY-MM.pdf 또는 apidly-receipt-ID.pdf)
--lang VALUE PDF 라벨의 언어(de 같은 언어 코드. PDF 글꼴이 그릴 수 없으면 영어)

API: GET /statements, GET /statements/{month}.

apidly topup

크레딧을 추가하기 위한 결제를 시작합니다(결제 링크를 출력합니다).

apidly topup AMOUNT --accept-terms [--idempotency-key KEY]
옵션 동작
--accept-terms 콘솔이 요구하는 명시적 요청과 인지 사항을 확인합니다
--idempotency-key VALUE 재시도를 안전하게 하려면 재사용하세요(기본값: 무작위)

API: POST /topups.

apidly budget

월별 예산과 알림 임계값을 표시하거나 변경합니다.

apidly budget [get]
apidly budget status   (this month's spend against the budget)
apidly budget set [--monthly USD|none] [--alert 50,80,100] [--hard-stop | --no-hard-stop] [--confirm-hard-stop] [--low-balance USD|none]
옵션 동작
--monthly VALUE 월별 예산(USD) 또는 none
--alert VALUE 50, 80, 100 중에서 쉼표로 구분한 퍼센트 임계값
--hard-stop 예산에 도달하면 서버를 중지합니다
--no-hard-stop 예산에 도달했을 때만 알립니다
--confirm-hard-stop 강제 중지가 실행 중인 서버를 중지함을 확인합니다
--low-balance VALUE 잔액이 이 금액(USD) 아래로 떨어지면 경고합니다. 또는 none

API: GET /budget, PUT /budget, GET /budget/status.

apidly billing-details

청구 이름, 주소, 세금 ID를 표시하거나 변경합니다.

apidly billing details [get]
apidly billing details set [--name N] [--line1 L] [--line2 L] [--city C] [--state S] [--postal-code Z] [--country CC] [--tax-id ID] [-f FILE.json]
옵션 동작
--name VALUE 청구 이름
--line1 VALUE 주소 1행
--line2 VALUE 주소 2행
--city VALUE 도시
--state VALUE 주 또는 지역
--postal-code VALUE 우편번호
--country VALUE 국가 코드
--tax-id VALUE 세금 ID 또는 VAT ID
-f, --file VALUE 변경할 필드의 JSON(stdin은 -)

API: GET /billing/details, PUT /billing/details.

apidly billing

잔액, 원장, 청구서, 사용량, 충전, 결제 정보.

apidly billing [summary]   (balance, auto top-up, default card, subscription and top-up limits; read-only)
apidly billing bonus   (top-up bonus tiers: promotional credit a paid top-up earns; read-only)
apidly billing auto-topup off [--yes]   (turn auto top-up off; turning it on is done in the console)
apidly billing balance | ledger | invoices | usage | topup AMOUNT | details [get|set]   (same as the top-level commands)

바로 가기: apidly billing balance 명령은 apidly balance 명령을 실행합니다. apidly billing ledger 명령은 apidly ledger 명령을 실행합니다. apidly billing invoices 명령은 apidly invoices 명령을 실행합니다. apidly billing statements 명령은 apidly invoices 명령을 실행합니다. apidly billing usage 명령은 apidly usage 명령을 실행합니다. apidly billing topup 명령은 apidly topup 명령을 실행합니다. apidly billing details 명령은 apidly billing-details 명령을 실행합니다.

옵션 동작
-y, --yes 묻지 않기

API: GET /billing/summary.

API: GET /billing/topup-bonus.

API: PATCH /billing/auto-topup.

apidly cost

서버 한 대의 비용 (생성 이후와 이번 달).

apidly cost SERVER_ID

API: GET /servers/{id}/billing.

apidly invoice

청구서 하나를 인쇄용 HTML 페이지로 저장.

apidly invoice INVOICE_ID [--out FILE.html] [--lang CODE]
옵션 동작
--out VALUE 출력 파일 (기본값: apidly-invoice-ID.html, -는 화면에 출력)
--lang VALUE 이름표 언어 (de 같은 로캘 코드)

API: GET /invoices/{id}.

apidly export

서버, 볼륨, SSH 키를 apidly.yaml 파일로 쓰거나 사용량, 원장, 활동을 CSV 파일로 내려받습니다.

apidly export [stack] [--stack NAME] [--out FILE]
apidly export usage [--group-by instance|day|gpu|member|template|tag|detail] [--from DATE] [--to DATE] [--out FILE]
apidly export ledger [--type TYPE] [--from DATE] [--to DATE] [--out FILE]
apidly export activity [--category C] [--actor ID] [--from DAY] [--to DAY] [--out FILE]
옵션 동작
--stack VALUE stack: 쓸 스택 이름 (기본값 main). 다른 스택의 서버는 제외됩니다
--group-by VALUE usage: 행을 묶는 방식 (기본값 instance)
--type VALUE ledger: topup, usage, refund, adjustment, subscription_credit 또는 promo
--category VALUE activity: signIn, team, keys, servers, billing 또는 settings
--actor VALUE activity: 멤버의 사용자 ID 또는 API 키 ID
--from VALUE 시작 (포함), 예: 2026-11-01
--to VALUE 끝 (usage와 ledger: 미포함, activity: 마지막 날)
--out VALUE 출력 파일 (기본값: 파일을 출력)

API: GET /billing/export, GET /activity/export, GET /servers, GET /servers/{id}/automation, GET /plans, GET /templates, GET /ssh-keys, GET /volumes, GET /endpoints.

apidly refund

환불 요청 (결제 티켓을 엽니다. 사람이 결정하기 전까지 돈은 움직이지 않습니다).

apidly refund AMOUNT_USD --reason "TEXT" [--idempotency-key KEY] [--yes]
옵션 동작
--reason VALUE 이유, 10~2000자
--idempotency-key VALUE 직접 정한 Idempotency-Key (이것으로 다시 시도해도 두 번 실행되지 않음)
-y, --yes 묻지 않습니다

API: POST /billing/refund-requests.

apidly promo

프로모션 코드 사용(프로모션 크레딧은 환불되지 않습니다).

apidly promo CODE

API: POST /billing/promo.

목록, 페이지, 출력

모든 목록 명령은 --limit N(기본 50), 모든 페이지를 따라가는 --all, nextCursor부터 이어서 가져오는 --cursor C를 받습니다. 목록이 잘리면 명령이 stderr로 알려 줍니다.

--output table이 기본입니다. --output json(또는 --json)은 nextCursor를 포함한 API 자체의 JSON을 출력합니다. --output yaml은 같은 데이터를 YAML로 출력합니다. 오류는 stderr로 나가며, 출력이 표가 아니면 JSON으로 나갑니다. 종료 코드 0은 성공, 1은 실패, 2는 오타, 3은 apidly plan --detailed-exitcode에서 적용하면 무언가가 바뀌는 경우, 130은 Ctrl-C로 대기를 중단한 경우입니다(서버는 그대로 남습니다).

id=$(apidly deploy --plan rtx-4090-1x --template pytorch --ssh-key ssh_abc --yes --json | jq -r '.server.id')
apidly servers --all --json | jq -r '.servers[].id'

셸 자동 완성

같은 명령 표에서 생성되므로, 새 명령과 플래그는 스크립트를 바꾸지 않아도 나타납니다.

source <(apidly completion bash)    # add to ~/.bashrc
source <(apidly completion zsh)     # add to ~/.zshrc
apidly completion fish > ~/.config/fish/completions/apidly.fish

오류

API 오류마다 API가 보낸 문장, 오류 코드, 실행할 명령이 있으면 그 명령이 담긴 Next: 줄, API가 보냈다면 도움말 링크, 지원팀에 알려 줄 요청 ID를 출력합니다. --debug를 붙이면 원본 응답(주소, 상태, 헤더, 본문)도 출력합니다. 모르는 명령이면 가장 가까운 명령을 제안합니다.

  • 키가 없거나 거부됨: apidly init을 실행하세요.
  • 잔액이 너무 적습니다. 메시지에 콘솔의 결제 페이지 링크가 포함됩니다. 결제 및 잔액을 참고하세요.
  • 요청이 너무 많습니다. 메시지에 기다려야 할 초가 표시됩니다. 한도는 API 레퍼런스에 있습니다.

서버를 삭제하려면 소유자 또는 관리자가 만든 키가 필요합니다.

설정

APIDLY_API_KEY는 저장된 키를 덮어씁니다. --api-url, APIDLY_API_URL 또는 apidly config set api-url URL로 서비스 주소를 설정합니다. 예를 들어 자체 도메인을 사용하는 경우입니다.

셸 대신 코드가 필요하다면 SDK를 참고하세요.

써볼 준비가 되셨나요?

무료 계정을 만들고, 서버를 시작하고 싶을 때 크레딧을 충전하세요. 최소 충전 금액은 $10입니다.

무료 계정 만들기

도움이 되었나요?

해결되지 않았나요? 문의하기