Skip to Content
dropshelf
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

NameTypeRequiredDescription
slugstringyesthe drop's name, the first label of its address

Output

FieldTypeAlways presentDescription
createdAtstringyes
currentDeployobject, nullableyesnull until the first deploy is live.
currentDeploy.createdAtstringyesWhen the deploy was accepted.
currentDeploy.errorstringnoWhy the deploy failed. Present only when status is failed.
currentDeploy.fileCountintegeryes
currentDeploy.finishedAtstring, nullablenoWhen it became live or failed.
currentDeploy.heldobjectno
currentDeploy.held.changedarray of objectyes
currentDeploy.held.changed[].change"added" or "modified" or "removed"yes
currentDeploy.held.changed[].pathstringyesA file's path.
currentDeploy.held.liveobjectyes
currentDeploy.held.live.atstringyesWhen it finished.
currentDeploy.held.live.bystringyesThe member who made it.
currentDeploy.held.live.deploystringyesThe live version's id.
currentDeploy.held.live.notestringnoIts note, when it has one.
currentDeploy.held.live.versionintegeryes
currentDeploy.held.rootstringnoThe published version the refused one was started from.
currentDeploy.held.rootGonebooleannoThe root's files are no longer kept, so nothing could be compared; changed and yours are empty.
currentDeploy.held.yoursarray of stringyes
currentDeploy.idstringyesULID.
currentDeploy.notestringnoOne line on what this version changes, when its writer gave one.
currentDeploy.source"web" or "api" or "mcp" or "demo"yesweb 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.totalBytesintegeryes
currentDeploy.versionintegeryesThis deploy's number within its drop, counting from 1. It is what a preview address names; id stays the handle every other route takes.
descriptionstring, nullableyesFrom the request or the page's meta description; null when it has none.
expiresAtstring, nullableyesnull when the retention is forever.
namestring, nullableyesThe drop's name, from the request or the page's title; null when it has none.
ownerobjectyes
owner.emailstringyes
owner.idstringyesULID.
owner.namestringyes
queriesarray of objectnothe live version's queries from _dropshelf/queries.yaml with their state, for the drop's owner, editors and admins
queries[].boundToarray of objectyes
queries[].boundTo[].idstringnoThe 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[].kindstringyesOne of email, everyone, role; role is an admin's deploy with no covering grant, the source's whole role.
queries[].boundTo[].valuestringnoWho the grant names, such as an email; absent for a kind that names nobody, such as everyone, and for role.
queries[].cachestringyesThe query's own cache time, empty for the source's default.
queries[].columnsarray of objectyes
queries[].columns[].namestringyes
queries[].columns[].typestringyes
queries[].namestringyes
queries[].reasonstringyes
queries[].runs7dobjectyes
queries[].runs7d.avgMsintegeryes
queries[].runs7d.cacheHitsintegeryes
queries[].runs7d.errorsintegeryes
queries[].runs7d.lastErrorstringnoThe newest failure's words.
queries[].runs7d.lastRunAtstring, nullableyes
queries[].runs7d.maxMsintegeryes
queries[].runs7d.runsintegeryes
queries[].sourcestringyes
queries[].state"approved" or "pending" or "denied" or "blocked"yes
queries[].toolstringnoFor a query that calls an MCP server: the tool it calls.
queries[].viewerParamsarray of stringyes
retentionstringyesAlways 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 nullyesThe 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.
slugstringyesThe subdomain label.
socialobjectyes
social.bookmarkedByMebooleanyesThe caller's own bookmark. Nobody else's answer reports it.
social.commentsintegeryesEveryone's comments on this drop.
social.likedByMebooleanyes
social.likesintegeryesEveryone's likes on this drop.
social.openChangeRequestsintegeryesOpen change requests on this drop: comments marked as change requests that nobody has resolved. Other comments never count.
typestringyesWhat kind of drop it is, fixed when it was created.
updatedAtstringyes
urlstringyesWhere the drop is served.
visibility"public" or "restricted" or "private"yespublic: 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.
waitingVersionobject, nullableyesThe 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.idstringyesThe deploy's id, which publishes it.
waitingVersion.versionintegeryesIts 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.

On this page