Skip to Content
dropshelf
REST API

Test typed connector fields

Admin only. Test connection before a save: signs in with the fields in the body, on a connection of its own, and counts the catalog against the grants in the body as the stored test does. With ?source=, the body is laid over that source and its stored credential is used when the body has none. Stores nothing.

POST
/api/v1/admin/connectors/test

Admin only. Test connection before a save: signs in with the fields in the body, on a connection of its own, and counts the catalog against the grants in the body as the stored test does. With ?source=, the body is laid over that source and its stored credential is used when the body has none. Stores nothing.

Authorization

headerAuthorizationBearer <token>

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

Query Parameters

source?string

Optional. The id of the source being edited.

Request Body

The fields as typed.

application/json
  1. body
cacheDefault?string

A duration.

cacheMin?string

A duration.

config?
driver?string

postgres or snowflake.

grants?array<>
grantsVersion?integer

The grantsVersion the grants were read at.

Formatint64
maxBytes?integer
Formatint64
maxConcurrent?integer
maxRows?integer
name?string

Lower-case letters, digits, _ and -.

secret?string

The credential, or ${DROPSHELF_CONNECTOR_NAME}.

timeout?string

A duration.

Response Body

The result.

application/json
  1. response
covered?integer

How many of them the grants together admit directly.

error*string

The database's words when ok is false.

ok*boolean
relations?integer

Tables and views the role can read.

roleWider?boolean

The role can read more than the grants admit, and no grant is everything; the role is the hard limit.

tools?array<>

For an MCP server: every tool it offers, read with your own connection. The counts below are for a database.

Example Request
curl -X POST 'https://drop.example.com/api/v1/admin/connectors/test' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "covered": 0,  "error": "string",  "ok": true,  "relations": 0,  "roleWider": true,  "tools": [    {      "description": "string",      "inputSchema": {},      "name": "string",      "readOnly": true,      "writes": true    }  ]}

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