스토리지: API v1의 모든 작업을 필요한 스코프, 매개변수, curl·JavaScript·Python 예시와 응답으로 설명합니다. 인증, 오류, 페이지 나누기, 속도 제한, 멱등성은 API 레퍼런스 개요를 참고하세요. SDK와 명령줄 도구도 확인해 보세요.
내 키로 시도해 보기: 콘솔에서 API 키를 만들고 터미널에서
export APIDLY_API_KEY=...를 실행한 다음 아래 curl 예시를 붙여 넣으세요. 예시 값은 설명용입니다. 이 페이지에는 키를 입력하는 곳이 없습니다.
작업과 필드 설명은 API 정의에서 가져오며 영어로 되어 있습니다.
| 작업 | 필요한 스코프 | 요약 |
|---|---|---|
GET /volumes |
read |
영구 볼륨 |
POST /volumes |
full |
볼륨 만들기 |
GET /volumes/options |
read |
GPU 요금제용 볼륨 가격 |
GET /volumes/offers |
read |
Deprecated alias of GET /volumes/options |
GET /volumes/{id}/availability |
read |
이 볼륨을 쓰는 서버를 지금 시작할 수 있나요 |
GET /volumes/{id} |
read |
볼륨 하나 |
PATCH /volumes/{id} |
full |
볼륨 이름 변경 |
DELETE /volumes/{id} |
full |
볼륨 삭제(?confirm= 에 해당 이름) |
GET /transfers |
read |
데이터 전송(최신순) |
POST /transfers |
servers |
서버 간 데이터 복사 |
GET /transfers/{id} |
read |
전송 하나 |
DELETE /transfers/{id} |
full |
실행 중인 전송 취소 |
GET /volumes/fit |
read |
이 플랜의 서버가 연결할 수 있는 빈 볼륨 |
GET /volumes
영구 볼륨
Mount one by passing volumeId (and optionally volumeMountPath) when you request a server with POST /deployments.
필요한 스코프: read · 권한: servers.view
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
limit |
query | integer | 아니요 | |
cursor |
query | string | 아니요 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/volumes?limit=20" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.volumes.list({ limit: 20 });Python (SDK)
client.volumes.list()명령줄 도구: apidly volumes, apidly export, apidly plan, apidly apply (CLI 레퍼런스)
응답 예시 (200)
{
"volumes": [
{
"id": "example",
"name": "example",
"sizeGb": 1,
"status": "example",
"instanceId": "id_example",
"region": "South Korea",
"regionCode": "KR",
"planId": "id_example",
"hourlyPriceMicros": "1000000",
"hourlyPriceUsd": "1.000000",
"scheduledDeletionAt": "2026-11-21T10:00:00.000Z",
"attachable": false,
"legacy": false,
"createdAt": "2026-11-21T10:00:00.000Z"
}
],
"limits": {
"minGb": 1,
"maxGb": 1
},
"nextCursor": "example"
}오류 상태: 401, 403, 429.
POST /volumes
볼륨 만들기
A volume lives on one machine and only a server on that machine can mount it. Send the planId of the GPU plan you will use and the shownHourlyMicros from GET /volumes/options?planId=: the volume is created on a machine that offers that plan right now, and every server that mounts it runs there. Billed per second from creation until it is deleted; the balance must cover its first day (402). Refused when the price rose (409 price_changed), when no machine of the plan has room for the size (409 no_volume_space), and without planId (400 volume_plan_required; region alone is no longer accepted).
필요한 스코프: full · 권한: servers.deploy · 안전하게 재시도할 수 있는 헤더: Idempotency-Key
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 예 | |
sizeGb |
integer | 예 | |
planId |
string | 아니요 | |
region |
string | 아니요 | |
shownHourlyMicros |
string | 예 |
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/volumes" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"name":"example","sizeGb":10,"shownHourlyMicros":"example"}'JavaScript (SDK)
await apidly.volumes.create({
name: "example",
sizeGb: 10,
shownHourlyMicros: "example"
});Python (SDK)
client.volumes.create(name="example", size_gb=10)명령줄 도구: apidly volumes, apidly apply (CLI 레퍼런스)
응답 예시 (201)
{
"volume": {
"id": "example",
"name": "example",
"sizeGb": 1,
"status": "example",
"instanceId": "id_example",
"region": "South Korea",
"regionCode": "KR",
"planId": "id_example",
"hourlyPriceMicros": "1000000",
"hourlyPriceUsd": "1.000000",
"scheduledDeletionAt": "2026-11-21T10:00:00.000Z",
"attachable": false,
"legacy": false,
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 402, 403, 409, 429.
GET /volumes/options
GPU 요금제용 볼륨 가격
With planId: option is the price of a volume of sizeGb on a machine that has that plan now (offer is its deprecated name, same object) (409 no_volume_space when none has room). perGbMonthMicros is our price per GB per 30-day month. Without planId: storage prices by region only, kept for older clients (a volume cannot be created from them).
필요한 스코프: read
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
sizeGb |
query | integer | 예 | |
planId |
query | string | 아니요 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/volumes/options?sizeGb=10" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.volumes.options(10);Python (SDK)
client.volumes.options(size_gb="example")명령줄 도구: apidly volumes, apidly plan, apidly apply (CLI 레퍼런스)
응답 예시 (200)
{
"sizeGb": 1,
"option": {
"planId": "id_example",
"region": "example",
"hourlyMicros": "1000000",
"hourlyUsd": "1.000000",
"monthlyMicros": "1000000",
"monthlyUsd": "1.000000",
"perGbMonthMicros": "1000000",
"perGbMonthUsd": "1.000000",
"maxSizeGb": 1
},
"offer": {
"planId": "id_example",
"region": "example",
"hourlyMicros": "1000000",
"hourlyUsd": "1.000000",
"monthlyMicros": "1000000",
"monthlyUsd": "1.000000",
"perGbMonthMicros": "1000000",
"perGbMonthUsd": "1.000000",
"maxSizeGb": 1
},
"regions": [
{
"region": "example",
"hourlyMicros": "1000000",
"hourlyUsd": "1.000000",
"monthlyMicros": "1000000",
"monthlyUsd": "1.000000",
"maxSizeGb": 1
}
]
}오류 상태: 400, 401, 403, 404, 409, 429.
GET /volumes/offers
Deprecated alias of GET /volumes/options
Same query and answer as GET /volumes/options; answered until 2027-05-31. Use GET /volumes/options.
필요한 스코프: read
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
sizeGb |
query | integer | 예 | |
planId |
query | string | 아니요 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/volumes/offers?sizeGb=10" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.volumes.offers(10);Python (SDK)
client.volumes.offers(size_gb="example")명령줄 도구: apidly volumes (CLI 레퍼런스)
응답 예시 (200)
{
"sizeGb": 1,
"option": {
"planId": "id_example",
"region": "example",
"hourlyMicros": "1000000",
"hourlyUsd": "1.000000",
"monthlyMicros": "1000000",
"monthlyUsd": "1.000000",
"perGbMonthMicros": "1000000",
"perGbMonthUsd": "1.000000",
"maxSizeGb": 1
},
"offer": {
"planId": "id_example",
"region": "example",
"hourlyMicros": "1000000",
"hourlyUsd": "1.000000",
"monthlyMicros": "1000000",
"monthlyUsd": "1.000000",
"perGbMonthMicros": "1000000",
"perGbMonthUsd": "1.000000",
"maxSizeGb": 1
},
"regions": [
{
"region": "example",
"hourlyMicros": "1000000",
"hourlyUsd": "1.000000",
"monthlyMicros": "1000000",
"monthlyUsd": "1.000000",
"maxSizeGb": 1
}
]
}오류 상태: 400, 401, 403, 404, 409, 429.
GET /volumes/{id}/availability
이 볼륨을 쓰는 서버를 지금 시작할 수 있나요
A volume is tied to one machine. state: available_now (the plans listed can start there now), busy (its GPU is rented by someone else; try again later), no_fit (an older volume placed by region only, where none of the plans checked can run: delete it to stop its charge), in_use (mounted by a server), legacy (no storage behind it), unknown (the host could not be asked).
필요한 스코프: read · 권한: servers.view
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/volumes/volume_example/availability" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.volumes.availability("volume_example");Python (SDK)
client.volumes.availability("volume_example")명령줄 도구: apidly volumes (CLI 레퍼런스)
응답 예시 (200)
{
"availability": {
"volumeId": "id_example",
"state": "available_now",
"plans": [
{
"id": "example",
"slug": "example",
"name": "example",
"gpuModel": "example",
"gpuCount": 1,
"hourlyPriceMicros": "1000000",
"hourlyPriceUsd": "1.000000"
}
],
"checkedAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 401, 403, 404, 429.
GET /volumes/{id}
볼륨 하나
필요한 스코프: read · 권한: servers.view
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/volumes/volume_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.volumes.get("volume_example");Python (SDK)
client.volumes.get("volume_example")명령줄 도구: apidly volumes (CLI 레퍼런스)
응답 예시 (200)
{
"volume": {
"id": "example",
"name": "example",
"sizeGb": 1,
"status": "example",
"instanceId": "id_example",
"region": "South Korea",
"regionCode": "KR",
"planId": "id_example",
"hourlyPriceMicros": "1000000",
"hourlyPriceUsd": "1.000000",
"scheduledDeletionAt": "2026-11-21T10:00:00.000Z",
"attachable": false,
"legacy": false,
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 401, 403, 404, 429.
PATCH /volumes/{id}
볼륨 이름 변경
Changes the volume's name only. Nothing changes on the host and a mounted volume keeps working; deleting it then asks for the new name.
필요한 스코프: full · 권한: storage.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
name |
string | 예 |
요청 예시 (curl)
curl -X PATCH "https://apidly.com/api/v1/volumes/volume_example" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example"}'JavaScript (SDK)
await apidly.volumes.rename("volume_example", "example");Python (SDK)
client.volumes.rename("volume_example", name="example")명령줄 도구: apidly volumes (CLI 레퍼런스)
응답 예시 (200)
{
"volume": {
"id": "example",
"name": "example",
"sizeGb": 1,
"status": "example",
"instanceId": "id_example",
"region": "South Korea",
"regionCode": "KR",
"planId": "id_example",
"hourlyPriceMicros": "1000000",
"hourlyPriceUsd": "1.000000",
"scheduledDeletionAt": "2026-11-21T10:00:00.000Z",
"attachable": false,
"legacy": false,
"createdAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 404, 429.
DELETE /volumes/{id}
볼륨 삭제(?confirm= 에 해당 이름)
The data is deleted for good.
필요한 스코프: full · 권한: storage.manage
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 | |
confirm |
query | string | 예 |
요청 예시 (curl)
curl -X DELETE "https://apidly.com/api/v1/volumes/volume_example?confirm=example" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.volumes.delete("volume_example", "example");Python (SDK)
client.volumes.delete("volume_example", confirm="example")명령줄 도구: apidly volumes (CLI 레퍼런스)
응답 예시 (200)
{
"key": null
}오류 상태: 400, 401, 403, 404, 409, 429.
GET /transfers
데이터 전송(최신순)
필요한 스코프: read
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
limit |
query | integer | 아니요 | |
cursor |
query | string | 아니요 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/transfers?limit=20" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.transfers.list({ limit: 20 });Python (SDK)
client.transfers.list()명령줄 도구: apidly transfers (CLI 레퍼런스)
응답 예시 (200)
{
"transfers": [
{
"id": "example",
"kind": "copy",
"status": "running",
"srcInstanceId": "id_example",
"dstInstanceId": "id_example",
"srcPath": "example",
"dstPath": "example",
"connectionId": "id_example",
"scheduled": false,
"percent": 1,
"phase": "copying",
"reason": "example",
"message": "example",
"createdAt": "2026-11-21T10:00:00.000Z",
"finishedAt": "2026-11-21T10:00:00.000Z"
}
],
"nextCursor": "example"
}오류 상태: 401, 403, 429.
POST /transfers
서버 간 데이터 복사
Both servers must be running. Other transfer kinds answer 404 feature_unavailable while they are not available on your account.
필요한 스코프: servers · 안전하게 재시도할 수 있는 헤더: Idempotency-Key
요청 예시 (curl)
curl -X POST "https://apidly.com/api/v1/transfers" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"kind":"copy","srcInstanceId":"id_example","dstInstanceId":"id_example","srcPath":"example","dstPath":"example"}'JavaScript (SDK)
await apidly.transfers.start({
kind: "copy",
srcInstanceId: "id_example",
dstInstanceId: "id_example",
srcPath: "example",
dstPath: "example"
});Python (SDK)
client.transfers.start(body={
"kind": "copy",
"srcInstanceId": "id_example",
"dstInstanceId": "id_example",
"srcPath": "example",
"dstPath": "example",
})명령줄 도구: apidly transfers (CLI 레퍼런스)
응답 예시 (201)
{
"transfer": {
"id": "example",
"kind": "copy",
"status": "running",
"srcInstanceId": "id_example",
"dstInstanceId": "id_example",
"srcPath": "example",
"dstPath": "example",
"connectionId": "id_example",
"scheduled": false,
"percent": 1,
"phase": "copying",
"reason": "example",
"message": "example",
"createdAt": "2026-11-21T10:00:00.000Z",
"finishedAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 400, 401, 403, 404, 409, 429.
GET /transfers/{id}
전송 하나
필요한 스코프: read
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/transfers/transfer_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.transfers.get("transfer_example");Python (SDK)
client.transfers.get("transfer_example")명령줄 도구: apidly transfers (CLI 레퍼런스)
응답 예시 (200)
{
"transfer": {
"id": "example",
"kind": "copy",
"status": "running",
"srcInstanceId": "id_example",
"dstInstanceId": "id_example",
"srcPath": "example",
"dstPath": "example",
"connectionId": "id_example",
"scheduled": false,
"percent": 1,
"phase": "copying",
"reason": "example",
"message": "example",
"createdAt": "2026-11-21T10:00:00.000Z",
"finishedAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 401, 403, 404, 429.
DELETE /transfers/{id}
실행 중인 전송 취소
필요한 스코프: full
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
id |
path | string | 예 |
요청 예시 (curl)
curl -X DELETE "https://apidly.com/api/v1/transfers/transfer_example" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.transfers.cancel("transfer_example");Python (SDK)
client.transfers.cancel("transfer_example")명령줄 도구: apidly transfers (CLI 레퍼런스)
응답 예시 (200)
{
"transfer": {
"id": "example",
"kind": "copy",
"status": "running",
"srcInstanceId": "id_example",
"dstInstanceId": "id_example",
"srcPath": "example",
"dstPath": "example",
"connectionId": "id_example",
"scheduled": false,
"percent": 1,
"phase": "copying",
"reason": "example",
"message": "example",
"createdAt": "2026-11-21T10:00:00.000Z",
"finishedAt": "2026-11-21T10:00:00.000Z"
}
}오류 상태: 401, 403, 404, 409, 429.
GET /volumes/fit
이 플랜의 서버가 연결할 수 있는 빈 볼륨
A volume lives on one machine, so a server that mounts it must run there. fits lists the ids of the organization's free volumes whose machine can host the plan now (a volume whose fit cannot be told right now counts as fitting); checked is how many were looked at (at most 20).
필요한 스코프: read · 권한: servers.view
매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
plan |
query | string | 예 |
요청 예시 (curl)
curl "https://apidly.com/api/v1/volumes/fit?plan=example" \
-H "Authorization: Bearer $APIDLY_API_KEY"JavaScript (SDK)
await apidly.volumes.fit("example");Python (SDK)
client.volumes.fit(plan="example")명령줄 도구: apidly volumes (CLI 레퍼런스)
응답 예시 (200)
{
"fits": [
"example"
],
"checked": 1
}오류 상태: 400, 401, 403, 429.
써볼 준비가 되셨나요?
무료 계정을 만들고, 서버를 시작하고 싶을 때 크레딧을 충전하세요. 최소 충전 금액은 $10입니다.
도움이 되었나요?