Skip to Content
dropshelf
REST API

Deploy status

With wait=, long-polls until the deploy is terminal or the wait elapses (capped at the instance's longPollMax), then answers 200 with whatever the status is. Includes drop when the deploy is live. A deploy of a drop the caller may not see is a 404, the same as an unknown id.

GET
/api/v1/deploys/{id}

With wait=, long-polls until the deploy is terminal or the wait elapses (capped at the instance's longPollMax), then answers 200 with whatever the status is. Includes drop when the deploy is live. A deploy of a drop the caller may not see is a 404, the same as an unknown id.

Authorization

headerAuthorizationBearer <token>

A personal access token, odp_ followed by 43 characters. Create one in the dashboard.

Path Parameters

id*string

The deploy id from createDrop or redeployDrop.

Query Parameters

wait?string

How long to wait for a terminal status, e.g. 30s.

Response Body

The deploy.

application/json
  1. response
createdAt*string

When the deploy was accepted.

Formatdate-time
drop?

Present when the deploy is live, ready or superseded.

error?string

Why the deploy failed. Present only when status is failed.

fileCount*integer
finishedAt?|

When it became live or failed.

Formatdate-time
held?

Present on a version asked to go live and kept as a draft because something was published after it was started, while that is still so.

id*string

ULID.

note?string

One line on what this version changes, when its writer gave one.

source*string

web for a session, api for a bearer token, mcp for the instance's MCP server acting for a token, demo for the drops dropshelf-server demo install made.

Value in"web""api""mcp""demo"
status*string
Value in"planned""pending""live""ready""superseded""failed"
totalBytes*integer
Formatint64
version*integer

This deploy's number within its drop, counting from 1. It is what a preview address names; id stays the handle every other route takes.

Example Request
curl -X GET 'https://drop.example.com/api/v1/deploys/string'
Example Response
{  "createdAt": "2019-08-24T14:15:22Z",  "drop": {    "createdAt": "2019-08-24T14:15:22Z",    "currentDeploy": {},    "description": "string",    "expiresAt": "2019-08-24T14:15:22Z",    "name": "string",    "owner": {      "email": "string",      "id": "string",      "name": "string"    },    "retention": "string",    "role": "owner",    "slug": "string",    "social": {      "bookmarkedByMe": true,      "comments": 0,      "likedByMe": true,      "likes": 0,      "openChangeRequests": 0    },    "type": "string",    "updatedAt": "2019-08-24T14:15:22Z",    "url": "string",    "visibility": "public",    "waitingVersion": {      "id": "string",      "version": 0    }  },  "error": "string",  "fileCount": 0,  "finishedAt": "2019-08-24T14:15:22Z",  "held": {    "changed": [      {        "change": "added",        "path": "string"      }    ],    "live": {      "at": "2019-08-24T14:15:22Z",      "by": "string",      "deploy": "string",      "note": "string",      "version": 0    },    "root": "string",    "rootGone": true,    "yours": [      "string"    ]  },  "id": "string",  "note": "string",  "source": "web",  "status": "planned",  "totalBytes": 0,  "version": 0}

Generated from dropshelf core at 6a548b2, 26 Nov 2026.