MCPToolsDrops
get_drop
One drop: its address, owner, visibility, retention, expiry and current version, and for its owner and editors the live version's queries with their state.
Read-only
The queries field is present only when the instance has connectors.enabled.
Input
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | yes | the drop's name, the first label of its address |
Output
| Field | Type | Always present | Description |
|---|---|---|---|
createdAt | string | yes | |
currentDeploy | object, nullable | yes | null until the first deploy is live. |
currentDeploy.createdAt | string | yes | When the deploy was accepted. |
currentDeploy.error | string | no | Why the deploy failed. Present only when status is failed. |
currentDeploy.fileCount | integer | yes | |
currentDeploy.finishedAt | string, nullable | no | When it became live or failed. |
currentDeploy.held | object | no | |
currentDeploy.held.changed | array of object | yes | |
currentDeploy.held.changed[].change | "added" or "modified" or "removed" | yes | |
currentDeploy.held.changed[].path | string | yes | A file's path. |
currentDeploy.held.live | object | yes | |
currentDeploy.held.live.at | string | yes | When it finished. |
currentDeploy.held.live.by | string | yes | The member who made it. |
currentDeploy.held.live.deploy | string | yes | The live version's id. |
currentDeploy.held.live.note | string | no | Its note, when it has one. |
currentDeploy.held.live.version | integer | yes | |
currentDeploy.held.root | string | no | The published version the refused one was started from. |
currentDeploy.held.rootGone | boolean | no | The root's files are no longer kept, so nothing could be compared; changed and yours are empty. |
currentDeploy.held.yours | array of string | yes | |
currentDeploy.id | string | yes | ULID. |
currentDeploy.note | string | no | One line on what this version changes, when its writer gave one. |
currentDeploy.source | "web" or "api" or "mcp" or "demo" | yes | 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. |
currentDeploy.status | "planned" or "pending" or "live" or "ready" or "superseded" or "failed" | yes | |
currentDeploy.totalBytes | integer | yes | |
currentDeploy.version | integer | yes | 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. |
description | string, nullable | yes | From the request or the page's meta description; null when it has none. |
expiresAt | string, nullable | yes | null when the retention is forever. |
name | string, nullable | yes | The drop's name, from the request or the page's title; null when it has none. |
owner | object | yes | |
owner.email | string | yes | |
owner.id | string | yes | ULID. |
owner.name | string | yes | |
queries | array of object | no | the live version's queries from _dropshelf/queries.yaml with their state, for the drop's owner, editors and admins |
queries[].boundTo | array of object | yes | |
queries[].boundTo[].id | string | no | The grant's id; absent for role. A query is bound to the grant itself, and kind and value say who it is for now, or who it was for when bound if the grant has since been removed. |
queries[].boundTo[].kind | string | yes | One of email, everyone, role; role is an admin's deploy with no covering grant, the source's whole role. |
queries[].boundTo[].value | string | no | Who the grant names, such as an email; absent for a kind that names nobody, such as everyone, and for role. |
queries[].cache | string | yes | The query's own cache time, empty for the source's default. |
queries[].columns | array of object | yes | |
queries[].columns[].name | string | yes | |
queries[].columns[].type | string | yes | |
queries[].name | string | yes | |
queries[].reason | string | yes | |
queries[].runs7d | object | yes | |
queries[].runs7d.avgMs | integer | yes | |
queries[].runs7d.cacheHits | integer | yes | |
queries[].runs7d.errors | integer | yes | |
queries[].runs7d.lastError | string | no | The newest failure's words. |
queries[].runs7d.lastRunAt | string, nullable | yes | |
queries[].runs7d.maxMs | integer | yes | |
queries[].runs7d.runs | integer | yes | |
queries[].source | string | yes | |
queries[].state | "approved" or "pending" or "denied" or "blocked" | yes | |
queries[].tool | string | no | For a query that calls an MCP server: the tool it calls. |
queries[].viewerParams | array of string | yes | |
retention | string | yes | Always whole days as Nd, or forever. Retention is stored and computed in whole days, so no finer value can appear here. |
role | "owner" or "editor" or "viewer" or null | yes | The caller's role on this drop; null for a member who sees a public drop with no grant. An admin's is what their ownership or grant gives them. |
slug | string | yes | The subdomain label. |
social | object | yes | |
social.bookmarkedByMe | boolean | yes | The caller's own bookmark. Nobody else's answer reports it. |
social.comments | integer | yes | Everyone's comments on this drop. |
social.likedByMe | boolean | yes | |
social.likes | integer | yes | Everyone's likes on this drop. |
social.openChangeRequests | integer | yes | Open change requests on this drop: comments marked as change requests that nobody has resolved. Other comments never count. |
type | string | yes | What kind of drop it is, fixed when it was created. |
updatedAt | string | yes | |
url | string | yes | Where the drop is served. |
visibility | "public" or "restricted" or "private" | yes | public: every member. restricted: the owner, admins and the people added. private: the owner and admins alone; the people added keep their rows and no access meanwhile. |
waitingVersion | object, nullable | yes | The version waiting to be made live: the newest ready version newer than the live one, or the newest ready version when nothing is live, never one purged or being purged. null when none waits. |
waitingVersion.id | string | yes | The deploy's id, which publishes it. |
waitingVersion.version | integer | yes | Its number within the drop, as in "v5 waiting". |
The output as JSON Schema
{
"properties": {
"createdAt": {
"format": "date-time",
"type": "string"
},
"currentDeploy": {
"description": "null until the first deploy is live.",
"oneOf": [
{
"properties": {
"createdAt": {
"description": "When the deploy was accepted.",
"format": "date-time",
"type": "string"
},
"error": {
"description": "Why the deploy failed. Present only when status is failed.",
"type": "string"
},
"fileCount": {
"type": "integer"
},
"finishedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"description": "When it became live or failed."
},
"held": {
"properties": {
"changed": {
"items": {
"properties": {
"change": {
"enum": [
"added",
"modified",
"removed"
],
"type": "string"
},
"path": {
"description": "A file's path.",
"type": "string"
}
},
"required": [
"path",
"change"
],
"type": "object"
},
"type": "array"
},
"live": {
"properties": {
"at": {
"description": "When it finished.",
"format": "date-time",
"type": "string"
},
"by": {
"description": "The member who made it.",
"type": "string"
},
"deploy": {
"description": "The live version's id.",
"type": "string"
},
"note": {
"description": "Its note, when it has one.",
"type": "string"
},
"version": {
"type": "integer"
}
},
"required": [
"deploy",
"version",
"by",
"at"
],
"type": "object"
},
"root": {
"description": "The published version the refused one was started from.",
"type": "string"
},
"rootGone": {
"description": "The root's files are no longer kept, so nothing could be compared; changed and yours are empty.",
"type": "boolean"
},
"yours": {
"items": {
"description": "A path the refused version changed against its root.",
"type": "string"
},
"type": "array"
}
},
"required": [
"live",
"changed",
"yours"
],
"type": "object"
},
"id": {
"description": "ULID.",
"type": "string"
},
"note": {
"description": "One line on what this version changes, when its writer gave one.",
"type": "string"
},
"source": {
"description": "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.",
"enum": [
"web",
"api",
"mcp",
"demo"
],
"type": "string"
},
"status": {
"enum": [
"planned",
"pending",
"live",
"ready",
"superseded",
"failed"
],
"type": "string"
},
"totalBytes": {
"format": "int64",
"type": "integer"
},
"version": {
"description": "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.",
"type": "integer"
}
},
"required": [
"id",
"status",
"fileCount",
"totalBytes",
"source",
"version",
"createdAt"
],
"type": "object"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "From the request or the page's meta description; null when it has none."
},
"expiresAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"description": "null when the retention is forever."
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The drop's name, from the request or the page's title; null when it has none."
},
"owner": {
"properties": {
"email": {
"type": "string"
},
"id": {
"description": "ULID.",
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"email",
"name"
],
"type": "object"
},
"queries": {
"description": "the live version's queries from _dropshelf/queries.yaml with their state, for the drop's owner, editors and admins",
"items": {
"properties": {
"boundTo": {
"items": {
"properties": {
"id": {
"description": "The grant's id; absent for role. A query is bound to the grant itself, and kind and value say who it is for now, or who it was for when bound if the grant has since been removed.",
"type": "string"
},
"kind": {
"description": "One of email, everyone, role; role is an admin's deploy with no covering grant, the source's whole role.",
"type": "string"
},
"value": {
"description": "Who the grant names, such as an email; absent for a kind that names nobody, such as everyone, and for role.",
"type": "string"
}
},
"required": [
"kind"
],
"type": "object"
},
"type": "array"
},
"cache": {
"description": "The query's own cache time, empty for the source's default.",
"type": "string"
},
"columns": {
"items": {
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"reason": {
"type": "string"
},
"runs7d": {
"properties": {
"avgMs": {
"type": "integer"
},
"cacheHits": {
"type": "integer"
},
"errors": {
"type": "integer"
},
"lastError": {
"description": "The newest failure's words.",
"type": "string"
},
"lastRunAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"maxMs": {
"type": "integer"
},
"runs": {
"type": "integer"
}
},
"required": [
"runs",
"cacheHits",
"errors",
"avgMs",
"maxMs",
"lastRunAt"
],
"type": "object"
},
"source": {
"type": "string"
},
"state": {
"enum": [
"approved",
"pending",
"denied",
"blocked"
],
"type": "string"
},
"tool": {
"description": "For a query that calls an MCP server: the tool it calls.",
"type": "string"
},
"viewerParams": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"source",
"state",
"reason",
"columns",
"viewerParams",
"cache",
"boundTo",
"runs7d"
],
"type": "object"
},
"type": "array"
},
"retention": {
"description": "Always whole days as Nd, or forever. Retention is stored and computed in whole days, so no finer value can appear here.",
"type": "string"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The caller's role on this drop; null for a member who sees a public drop with no grant. An admin's is what their ownership or grant gives them.",
"enum": [
"owner",
"editor",
"viewer",
null
]
},
"slug": {
"description": "The subdomain label.",
"type": "string"
},
"social": {
"properties": {
"bookmarkedByMe": {
"description": "The caller's own bookmark. Nobody else's answer reports it.",
"type": "boolean"
},
"comments": {
"description": "Everyone's comments on this drop.",
"type": "integer"
},
"likedByMe": {
"type": "boolean"
},
"likes": {
"description": "Everyone's likes on this drop.",
"type": "integer"
},
"openChangeRequests": {
"description": "Open change requests on this drop: comments marked as change requests that nobody has resolved. Other comments never count.",
"type": "integer"
}
},
"required": [
"likes",
"comments",
"likedByMe",
"bookmarkedByMe",
"openChangeRequests"
],
"type": "object"
},
"type": {
"description": "What kind of drop it is, fixed when it was created.",
"type": "string"
},
"updatedAt": {
"format": "date-time",
"type": "string"
},
"url": {
"description": "Where the drop is served.",
"type": "string"
},
"visibility": {
"description": "public: every member. restricted: the owner, admins and the people added. private: the owner and admins alone; the people added keep their rows and no access meanwhile.",
"enum": [
"public",
"restricted",
"private"
],
"type": "string"
},
"waitingVersion": {
"description": "The version waiting to be made live: the newest ready version newer than the live one, or the newest ready version when nothing is live, never one purged or being purged. null when none waits.",
"oneOf": [
{
"properties": {
"id": {
"description": "The deploy's id, which publishes it.",
"type": "string"
},
"version": {
"description": "Its number within the drop, as in \"v5 waiting\".",
"type": "integer"
}
},
"required": [
"id",
"version"
],
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"slug",
"type",
"url",
"owner",
"visibility",
"role",
"name",
"description",
"social",
"retention",
"expiresAt",
"currentDeploy",
"waitingVersion",
"createdAt",
"updatedAt"
],
"type": "object"
}Generated from dropshelf core at 6a548b2, 26 Nov 2026.