Connect a source
Admin only. name, driver, config and secret are required; policy defaults to open and visibility to any; cache times and limits default to the instance's connectors.defaults. secret is the credential, sealed at rest, or ${DROPSHELF_CONNECTOR_NAME} to read it from the server's environment. grants say who may use the source and what each may read; none means admins only.
Admin only. name, driver, config and secret are required; policy defaults to open and visibility to any; cache times and limits default to the instance's connectors.defaults. secret is the credential, sealed at rest, or ${DROPSHELF_CONNECTOR_NAME} to read it from the server's environment. grants say who may use the source and what each may read; none means admins only.
AuthorizationBearer <token>A personal access token, odp_ followed by 43 characters. Create one in the dashboard.
The source.
application/json- body
cacheDefault?stringA duration.
cacheMin?stringA duration.
config?driver?stringpostgres or snowflake.
grants?array<>grantsVersion?integerThe grantsVersion the grants were read at.
int64maxBytes?integerint64maxConcurrent?integermaxRows?integername?stringLower-case letters, digits, _ and -.
secret?stringThe credential, or ${DROPSHELF_CONNECTOR_NAME}.
timeout?stringA duration.
Created.
application/json- response
cacheDefault*stringA duration such as 15m.
cacheMin*stringA duration such as 1m.
config*The driver's fields, never the credential.
connections?integerFor an MCP server: how many members are connected. On the list and on one source read.
createdAt*stringWhen it was connected.
date-timedriver*stringpostgres, snowflake or mcp.
grants*array<>grantsVersion*integerSend it back with grants, so a save over another admin's is refused.
int64id*stringThe source id.
kind*stringsql for a database, mcp for an MCP server.
maxBytes*integerint64maxConcurrent*integermaxRows*integername*stringThe name queries files use.
secret*stringset, or env:NAME when the credential is read from the server's environment. Empty for an MCP server with no client secret.
timeout*stringA duration such as 30s.
updatedAt*stringWhen it last changed.
date-timeusage?On the list and on one source read; not on a write's answer.
curl -X POST 'https://drop.example.com/api/v1/admin/connectors' \ -H 'Content-Type: application/json' \ -d '{}'{ "cacheDefault": "string", "cacheMin": "string", "config": {}, "connections": 0, "createdAt": "2019-08-24T14:15:22Z", "driver": "string", "grants": [ { "all": true, "id": "string", "kind": "string", "note": "string", "policy": "string", "scope": [ { "database": "string", "schema": "string", "table": "string" } ], "value": "string", "visibility": "any" } ], "grantsVersion": 0, "id": "string", "kind": "string", "maxBytes": 0, "maxConcurrent": 0, "maxRows": 0, "name": "string", "secret": "string", "timeout": "string", "updatedAt": "2019-08-24T14:15:22Z", "usage": { "blocked": 0, "drops": 0, "errorsDay": 0, "grantQueries": [ { "id": "string", "kind": "string", "queries": 0, "value": "string" } ], "grants": 0, "waiting": 0 }}Generated from dropshelf core at 6a548b2, 26 Nov 2026.
Connect to a source POST
Connects you to an MCP server. For a server that takes a token, send the token: it is checked against the server and stored sealed; the answer is 204. For a server that signs in with OAuth, send returnTo or nothing: the answer is the address to open in the browser, and the sign-in ends back on this instance. A token is never returned by any route.
Create a drop from a zip POST
Answers 202 as soon as the rows exist; the upload runs in the background. Poll getDeploy with wait= for the outcome. deploy.source is web for a session and api for a bearer token.