Endpoints
Every /v1 route, grouped by resource, with a curl example for each.
Every route needs Authorization: Bearer $DEXBY_API_KEY. Successful REST responses usually wrap
the result in { "data": ... }; MCP responses use JSON-RPC. The API key decides the project.
Base URL, errors, paging and Idempotency-Key are in the REST API overview.
Connectors
GET /v1/connectors
One page of the full catalog: built-in connectors (most popular first, then by id) plus the
project's own MCP servers and imported REST APIs. What the project's end users can connect is
GET /v1/auth-configs.
| Query | Type | Default | What it does |
|---|---|---|---|
query | string | none | Search text in id, name, and description. 1 to 200 characters. |
category | string | none | communication, developer-tools, crm, productivity, marketing, analytics, finance, storage, security, or commerce. |
popular | boolean | none | true: only the most popular, in rank order. |
facets | boolean | false | Adds facets: { category, popular } counts. |
limit | integer | 100 | 1 to 500. |
cursor | string | none | The previous page's nextCursor. |
curl "https://api.harryy.ai/v1/connectors?query=chat&limit=1" \
-H "Authorization: Bearer $DEXBY_API_KEY"{
"data": [
{
"id": "slack",
"name": "Slack",
"description": "Channels, messages, and users.",
"category": "communication",
"logo": "https://assets.dexby.ai/logos/slack",
"authMethods": [{ "id": "oauth2", "type": "oauth2", "name": "OAuth" }],
"mcp": false
}
],
"nextCursor": "00001slack"
}GET /v1/connectors/:id
One connector with its authMethods and toolIds. toolIds is absent for MCP servers, whose
tools come from the server. An unknown id answers 404 CONNECTOR_NOT_FOUND.
| Path | Where to get it |
|---|---|
:id | Connector id, such as slack. From GET /v1/connectors, Build → Catalog in the dashboard, or the connectors page. |
curl "https://api.harryy.ai/v1/connectors/slack" \
-H "Authorization: Bearer $DEXBY_API_KEY"{
"data": {
"id": "slack",
"name": "Slack",
"category": "communication",
"authMethods": [{ "id": "oauth2", "type": "oauth2", "name": "OAuth" }],
"toolIds": ["slack_list_conversations", "slack_post_message"]
}
}Tools
GET /v1/tools
One page of the project's tools, sorted by id. Tools turned off in the project are left out.
| Query | Type | Default | What it does |
|---|---|---|---|
query | string | none | Search text, 1 to 200 characters. |
connectorId | string | none | Only this connector's tools. |
category | string | none | Same values as for connectors. |
dataClassification | string | none | standard, pii, or phi. |
view | string | full | index leaves out requiredScopes, inputSchema, and outputSchema. |
facets | boolean | false | Adds counts per category and dataClassification. |
limit, cursor | See pagination. |
curl "https://api.harryy.ai/v1/tools?connectorId=slack&view=index" \
-H "Authorization: Bearer $DEXBY_API_KEY"{
"data": [
{
"id": "slack_post_message",
"name": "Post message",
"description": "Post a message to a channel.",
"connectorId": "slack",
"effect": "write",
"category": "communication",
"dataClassification": "pii"
}
],
"nextCursor": null
}effect is read, write, or destructive.
GET /v1/tools/:toolId
One tool with its schemas, by the rules the list applies. An unknown tool, or one turned off in the
project, answers 404 TOOL_NOT_FOUND.
curl "https://api.harryy.ai/v1/tools/slack_post_message" \
-H "Authorization: Bearer $DEXBY_API_KEY"POST /v1/tools/execute
Runs one tool for one user with their stored credential, outside any session.
| Body | Type | Default | What it is |
|---|---|---|---|
toolId | string | required | Tool id, such as slack_post_message. From GET /v1/tools or Build → Catalog. |
input | object | {} | Must match the tool's inputSchema. |
userId | string | required | Your own id for the end user. A call without one answers 400 VALIDATION_ERROR. |
connectionId | string | none | One of the user's accounts. From GET /v1/connections?userId=user_123. Otherwise the default account. |
allowGlobalAccounts | boolean | false | Lets the call choose one of the project's global accounts. Without it, a global account is used only when connectionId names it. |
curl "https://api.harryy.ai/v1/tools/execute" \
-H "Authorization: Bearer $DEXBY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"toolId":"slack_post_message","userId":"user_123","input":{"channel":"general","text":"Deploy finished"}}'{ "data": { "ok": true, "channel": "C0123", "ts": "1727500000.000100" } }data is the tool's result. Failures answer an HTTP error such as 400 MISSING_CONNECTION. A
global account runs only the tools an admin allowed it; any other answers 403 ACTION_DISABLED.
POST /v1/tools/proxy
Sends a raw request to a connector's API with the user's credential, for endpoints no tool covers. The path stays on the connector's API host.
| Body | Type | Default | What it is |
|---|---|---|---|
connectorId | string | required | Connector id. |
userId | string | required | Your own id for the end user. |
endpoint | string | required | Path relative to the connector's API base URL. |
method | GET, POST, PUT, PATCH, DELETE | GET | HTTP method. |
query | object | none | Query parameters. |
body | any JSON | none | Request body. |
headers | Record<string, string> | none | Extra headers. authorization, proxy-authorization, cookie, and host are dropped. |
connectionId | string | none | One of the user's accounts, as for execute. |
allowGlobalAccounts | boolean | false | As for execute. A global account also needs its Allow proxy permission, else 403 ACTION_DISABLED. |
curl "https://api.harryy.ai/v1/tools/proxy" \
-H "Authorization: Bearer $DEXBY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"connectorId":"github","userId":"user_123","endpoint":"/user"}'{ "data": { "login": "octocat", "id": 1 } }data is the provider's response body. A connector without a proxy base URL, or a path that
leaves its host, answers 403 FORBIDDEN_ENDPOINT. A provider error answers 502 UPSTREAM_ERROR.
Sessions
POST /v1/sessions
Creates a session for one user. Answers 201.
| Body | Type | Default | What it is |
|---|---|---|---|
userId | string | required | Your own id for the end user, up to 256 characters. |
connectors | string[] | all | Only these connector ids. 1 to 200. |
actions | string[] | all | Only these tool ids, or prefixes ending in * (such as slack_*). 1 to 500. |
pinned | string[] | [] | Tool ids listed as full definitions next to the meta tools. At most 20, all in scope. |
accounts | Record<string, string> | {} | Connector id to account id, name, or label, for when a call names no account. |
allowGlobalAccounts | boolean | false | Lets the agent see and use the project's global accounts. Off, they do not exist for the session. |
policy.readOnly | boolean | false | Only read tools. |
policy.maxDataClass | standard, pii, phi | phi | Most sensitive data class allowed. |
policy.allowDisconnect | boolean | false | Adds dexby_disconnect_account. |
policy.allowProxy | boolean | false | Adds dexby_proxy. |
ttlMinutes | integer | 1440 | Lifetime, 5 to 43200 minutes. |
curl "https://api.harryy.ai/v1/sessions" \
-H "Authorization: Bearer $DEXBY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId":"user_123","connectors":["slack"],"pinned":["slack_post_message"]}'{
"data": {
"id": "ags_01j9x3k7m2q8w4e6r5t7y9b1cd",
"userId": "user_123",
"expiresAt": "2026-09-29T10:00:00.000Z",
"scopeHash": "c3a1f0",
"actionCount": 12,
"pinned": ["slack_post_message"],
"policy": {
"readOnly": false,
"maxDataClass": "phi",
"allowDisconnect": false,
"allowProxy": false
},
"allowGlobalAccounts": false,
"connectors": [
{ "id": "slack", "name": "Slack", "actions": 12, "connection": { "status": "missing" } }
],
"mcpUrl": "https://api.harryy.ai/v1/sessions/ags_01j9x3k7m2q8w4e6r5t7y9b1cd/mcp"
}
}connection.status is connected, missing, or reauth_required. accounts is added when the
user has more than one account for the connector. scopeHash changes when the scope changes.
GET /v1/sessions/:id
The session with current connection states. Same shape as create. An unknown or expired session
answers 404 SESSION_NOT_FOUND.
| Path | Where to get it |
|---|---|
:id | Session id: data.id from POST /v1/sessions, or Operate → Sessions in the dashboard. |
curl "https://api.harryy.ai/v1/sessions/<session-id>" \
-H "Authorization: Bearer $DEXBY_API_KEY"GET /v1/sessions
The project's sessions a page at a time, newest first. Expired sessions are listed, as expired,
until they are pruned.
| Query | What it is |
|---|---|
userId | Optional. One user's sessions. |
limit, cursor | 1 to 200, default 50. See pagination. |
curl "https://api.harryy.ai/v1/sessions?userId=user_123" \
-H "Authorization: Bearer $DEXBY_API_KEY"{
"data": [
{
"id": "ags_01j9x3k7m2q8w4e6r5t7y9b1cd",
"userId": "user_123",
"createdAt": "2026-09-28T10:00:00.000Z",
"expiresAt": "2026-09-29T10:00:00.000Z",
"status": "active"
}
],
"nextCursor": null
}DELETE /v1/sessions/:id
Ends a session before it expires, as on the user's sign-out or an incident. Its REST calls and its
MCP server answer SESSION_NOT_FOUND from then on, and the results it kept go with it. The audit
trail records agent_session.revoke with the API key. An unknown, expired or already revoked
session answers 404 SESSION_NOT_FOUND.
curl -X DELETE "https://api.harryy.ai/v1/sessions/<session-id>" \
-H "Authorization: Bearer $DEXBY_API_KEY"{ "data": { "id": "ags_01j9x3k7m2q8w4e6r5t7y9b1cd", "revoked": true } }GET /v1/sessions/:id/tools
Tool definitions for the model: the meta tools, then the pinned tools.
| Param | Where | What it is |
|---|---|---|
:id | path | Session id, as above. |
format | query, default json-schema | json-schema, or openai-strict for OpenAI strict mode. |
curl "https://api.harryy.ai/v1/sessions/<session-id>/tools?format=openai-strict" \
-H "Authorization: Bearer $DEXBY_API_KEY"{
"data": {
"scopeHash": "c3a1f0",
"tools": [
{
"kind": "meta",
"name": "dexby_search_actions",
"description": "Find actions you can run for this user. ...",
"inputSchema": { "type": "object", "properties": { "queries": { "type": "array" } } },
"annotations": { "readOnlyHint": true, "destructiveHint": false },
"strict": true
}
]
}
}kind is meta or action (a pinned tool). The meta tools are described in
sessions.
POST /v1/sessions/:id/tools/:name
Runs one session tool with the model's arguments. Answers 200 with { ok: true, result }, or a
refusal { ok: false, error: { code, message } } for the model to act on
(see errors). An unknown tool answers 404 TOOL_NOT_FOUND.
| Param | Where | What it is |
|---|---|---|
:id | path | Session id, as above. |
:name | path | Tool name from GET /v1/sessions/:id/tools, such as dexby_execute. |
arguments | body | The model's arguments for the tool. |
curl "https://api.harryy.ai/v1/sessions/<session-id>/tools/dexby_execute" \
-H "Authorization: Bearer $DEXBY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"arguments":{"action":"slack_post_message","input":{"channel":"general","text":"Deploy finished"}}}'If Slack is not connected for the session's user, execution returns this refusal:
{
"data": {
"ok": false,
"error": {
"code": "connection_required",
"message": "Slack is not connected for this user. ...",
"connector": "slack"
}
}
}POST /v1/sessions/:id/mcp
The session as an MCP server over Streamable HTTP (JSON responses), with the same tools and scope.
GET and DELETE answer 405 with Allow: POST. An unknown session answers a JSON-RPC error
with status 404.
| Path | Where to get it |
|---|---|
:id | Session id. The full URL is data.mcpUrl from POST /v1/sessions. |
curl "https://api.harryy.ai/v1/sessions/<session-id>/mcp" \
-H "Authorization: Bearer $DEXBY_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Client configs are in MCP.
Auth configs
GET /v1/auth-configs
The project's auth configs a page at a time, oldest first: the apps its end
users can connect and how each signs in, for a connect screen of your own. GET /v1/connectors
browses the whole catalog instead. The project's own MCP servers and imported REST APIs appear when
they have an auth config. No OAuth client, secret or credential is returned.
| Query | What it is |
|---|---|
userId | Optional. Your own id for the end user. Adds connections: the user's accounts through each config and the project's global accounts ("global": true). |
connectorId | Optional. Only this app's configs. |
limit, cursor | See pagination. |
curl "https://api.harryy.ai/v1/auth-configs?userId=user_123" \
-H "Authorization: Bearer $DEXBY_API_KEY"{
"data": [
{
"id": "cfg_01j9x1a3b5c7d9e1f3g5h7j9kz",
"key": "slack",
"name": "Slack",
"connector": {
"id": "slack",
"name": "Slack",
"category": "communication",
"logo": "https://assets.dexby.ai/logos/slack"
},
"authMethod": { "id": "oauth2", "type": "oauth2", "name": "OAuth 2.0" },
"scopes": ["chat:write", "channels:read"],
"connections": [
{
"id": "con_01j9x2f4g6h8j0k2m4n6p8r0st",
"name": "default",
"status": "active",
"isDefault": true,
"global": false
}
]
}
],
"nextCursor": null
}authMethod.type is oauth2, api_key, basic or another sign-in method, or none for an app
that needs no sign-in. scopes is empty for methods other than OAuth. status is active,
reauth_required or revoked. Without userId, connections is absent. Pass a config's key
to POST /v1/connect-links as authConfigs.
GET /v1/auth-configs/:id
One auth config (cfg_…), the same shape as a list item. userId adds connections, as for the
list. Another project's config answers 404 NOT_FOUND.
curl "https://api.harryy.ai/v1/auth-configs/<auth-config-id>?userId=user_123" \
-H "Authorization: Bearer $DEXBY_API_KEY"POST /v1/auth-configs
Sets up a way for the project's users to connect an app. Answers 201 with the config as the list
shows it. An OAuth config signs in with this deployment's own OAuth app, or answers
400 VALIDATION_ERROR when there is none for the app. An OAuth client ID and secret of your own are
set in the dashboard, where it takes a second factor: a body with oauth, clientId or
clientSecret answers 400 VALIDATION_ERROR, and an unknown field does too. A key the project
already has answers 409 KEY_TAKEN. The audit trail records auth_config.create with the API key.
| Body | Type | Default | What it is |
|---|---|---|---|
connectorId | string | required | Connector id. |
authMethodId | string | none | One of the connector's authMethods. Omitted only for an app that needs no sign-in. |
key | string | the app's id | What links name it by. Lowercase letters and numbers joined by -, _, : or .. |
scopes | string[] | null | method defaults | OAuth only. |
baseUrl | string | the app's host | Only for an app that also runs elsewhere: a public https address. |
disabledActions | string[] | [] | Actions accounts connected through it may not run. |
curl "https://api.harryy.ai/v1/auth-configs" \
-H "Authorization: Bearer $DEXBY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"connectorId":"linear","authMethodId":"api_key","key":"linear"}'PATCH /v1/auth-configs/:id
Changes key, authMethodId, scopes, baseUrl (null returns to the app's host),
disabledActions, or useManagedOAuth: true (back to this deployment's OAuth app). The method
changes only while no account is connected through the config, else 409 AUTH_CONFIG_IN_USE. The
OAuth client fields are refused as on create. Recorded as auth_config.update.
DELETE /v1/auth-configs/:id
Removes the config and every account connected through it, erasing their credentials and its own
OAuth client. It cannot be undone. Recorded as auth_config.delete.
{ "data": { "id": "cfg_01j9x1a3b5c7d9e1f3g5h7j9kz", "accountsRemoved": 2 } }Connections
GET /v1/connections
The project's accounts a page at a time, newest first. With userId, that user's accounts and the
project's global accounts, which carry
"global": true; listing shows global accounts whether or not a call may use them. Members'
Playground accounts are never listed.
| Query | What it is |
|---|---|
userId | Optional. Your own id for the end user. |
scope | all (default), user (end users' accounts only) or global. |
connectorId | Only this app's accounts. |
authConfigId | Only accounts connected through this auth config (cfg_…). |
authConfig | The same, by the config's key. |
status | active, reauth_required or revoked. |
query | Part of the user id, account name or label, or the app's id or name. |
createdAfter | Only accounts connected after this ISO timestamp (with offset). |
limit, cursor | 1 to 200, default 50. See pagination. |
curl "https://api.harryy.ai/v1/connections?userId=user_123" \
-H "Authorization: Bearer $DEXBY_API_KEY"{
"data": [
{
"id": "con_01j9x2f4g6h8j0k2m4n6p8r0st",
"connectorId": "slack",
"authConfigId": "cfg_01j9x1a3b5c7d9e1f3g5h7j9kz",
"name": "default",
"label": "Acme workspace",
"isDefault": true,
"status": "active",
"scopes": ["chat:write"],
"lastUsedAt": null,
"createdAt": "2026-09-28T10:00:00.000Z",
"global": false,
"userId": "user_123"
}
],
"nextCursor": null
}userId is null for a global account.
GET /v1/connections/:id
One account, the same shape as a list item, such as the one a connection.created webhook names.
Another project's account, or a member's Playground account, answers 404 NOT_FOUND.
curl "https://api.harryy.ai/v1/connections/<connection-id>" \
-H "Authorization: Bearer $DEXBY_API_KEY"POST /v1/connections
Stores a credential you already hold as a new account of one of your users. Answers 200. A name
the user already has for this connector answers 409 CONFLICT. Global accounts are added in the
dashboard, where adding one takes a second factor: "global": true answers 403 FORBIDDEN.
| Body | Type | Default | What it is |
|---|---|---|---|
connectorId | string | required | Connector id. |
userId | string | required | Your own id for the end user. |
credential | object | required | type is oauth2, oauth2_client_credentials, api_key, basic, aws_iam, custom, or none. Unknown fields are rejected. |
authConfig | string | the first | Auth config key, from the "Key" field in Build → Auth configs. |
name | string | next free name | Account name, up to 64 characters. The user's first account for a connector is default. |
curl "https://api.harryy.ai/v1/connections" \
-H "Authorization: Bearer $DEXBY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"connectorId":"linear","userId":"user_123","credential":{"type":"api_key","apiKey":"<linear-api-key>"}}'<linear-api-key> is the user's own key from the provider.
{
"data": {
"id": "con_01j9x2f4g6h8j0k2m4n6p8r0st",
"connectorId": "linear",
"userId": "user_123",
"global": false,
"name": "default",
"label": null,
"isDefault": true,
"status": "active"
}
}PATCH /v1/connections/:id
Renames an account with { name }, or rotates its credential with
{ credential, expectedRevision }.
| Param | Where | What it is |
|---|---|---|
:id | path | Connection id (con_…): id from GET /v1/connections?userId=user_123, or Operate → Connections → "Connection ID". |
name | body | New account name. A name the user already has answers 409 NAME_TAKEN. |
credential | body | The new credential, same shape as on create. |
expectedRevision | body | The revision you are replacing. A stale revision answers 409 CONFLICT. |
curl -X PATCH "https://api.harryy.ai/v1/connections/<connection-id>" \
-H "Authorization: Bearer $DEXBY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"work"}'{ "data": { "id": "con_01j9x2f4g6h8j0k2m4n6p8r0st", "name": "work" } }A rotation answers { id, revision } and sets a reauth_required connection back to active.
POST /v1/connections/:id/default
Makes the account the user's default for its connector. A global account answers
400 VALIDATION_ERROR: it is shared, so it is no one's default.
| Path | Where to get it |
|---|---|
:id | Connection id, as for PATCH. |
curl -X POST "https://api.harryy.ai/v1/connections/<connection-id>/default" \
-H "Authorization: Bearer $DEXBY_API_KEY"{
"data": {
"id": "con_01j9x2f4g6h8j0k2m4n6p8r0st",
"connectorId": "slack",
"isDefault": true
}
}DELETE /v1/connections/:id
Removes the account, its credential, and its triggers. When it was the default, the user's next account becomes the default.
| Path | Where to get it |
|---|---|
:id | Connection id, as for PATCH. |
curl -X DELETE "https://api.harryy.ai/v1/connections/<connection-id>" \
-H "Authorization: Bearer $DEXBY_API_KEY"{ "data": { "id": "con_01j9x2f4g6h8j0k2m4n6p8r0st", "erased": true } }Users
GET /v1/users
The project's end users with at least one account, a page at a time by user id, each with their accounts' app and status. Members' Playground users are never listed.
| Query | What it is |
|---|---|
query | Part of the user id. |
connectorId | Only users with an account for this app. |
limit, cursor | 1 to 200, default 50. See pagination. |
{
"data": [
{
"userId": "user_123",
"firstSeenAt": "2026-09-28T10:00:00.000Z",
"erasing": false,
"connections": [
{ "id": "con_01j9x2f4g6h8j0k2m4n6p8r0st", "connectorId": "slack", "status": "active" }
]
}
],
"nextCursor": null
}GET /v1/users/:userId
One end user: userId, firstSeenAt, connectionCount, and erasing (an erasure is queued or
running). A user the project does not have answers 404 NOT_FOUND. The request log keeps the
route's pattern, /v1/users/:userId, never the id in the path.
curl "https://api.harryy.ai/v1/users/user_123" \
-H "Authorization: Bearer $DEXBY_API_KEY"DELETE /v1/users/:userId
Erases one end user from the project, the same erasure as Operate → Users → a user →
Erase user: their triggers, credentials, connections and sessions, the payloads stored for
their calls, and their id on request logs. Their open Connect links and pending sign-ins stop
working before the response. The rest runs in the background. Answers 202. Asking again while
the erasure is queued or running answers the same erasure. The audit trail records the API key as
the one that asked.
| Path | Where to get it |
|---|---|
:userId | Your own id for the end user, percent-encoded as one segment. A user the project does not have, including one already erased, answers 404 NOT_FOUND. Global accounts are never touched. |
curl -X DELETE "https://api.harryy.ai/v1/users/user_123" \
-H "Authorization: Bearer $DEXBY_API_KEY"{ "data": { "id": "era_01j9x6a8b0c2d4e6f8g0h2j4kl", "status": "pending", "userId": "user_123" } }status is pending or running. When it is done, the user no longer appears in
Operate → Users and this route answers 404.
Connect links
POST /v1/connect-links
Creates a single-use link to the hosted Connect page, where the user connects their own accounts.
Answers 201. Send url to the user.
| Body | Type | Default | What it is |
|---|---|---|---|
userId | string | required | Your own id for the end user, up to 256 characters. |
connectors | string[] | all | Offer every auth config of these connector ids. |
authConfigs | string[] | all | Offer these auth configs, by key from Build → Auth configs. |
redirectUrl | string | none | Where the user goes afterward. Must be allowed in Configure → Connect UI, or 400. |
expiresInMinutes | integer | 30 | 5 to 1440. |
skipConsent | boolean | false | Open the app's sign-in without the consent screen, where it can. See skip the consent screen. |
curl "https://api.harryy.ai/v1/connect-links" \
-H "Authorization: Bearer $DEXBY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId":"user_123","connectors":["slack"]}'{
"data": {
"id": "lnk_01j9x4v6w8x0y2z4a6b8c0d2ef",
"url": "https://dexby.ai/connect/<token>",
"userId": "user_123",
"authConfigs": ["slack"],
"expiresAt": "2026-09-28T10:30:00.000Z"
}
}authConfigs is null when the link offers every auth config. See
connect accounts.
GET /v1/connect-links
The project's links, newest first, with whether each still works. Never a link's URL: only its hash is kept, and the URL is shown once, on create. Links of erased users are left out.
| Query | What it is |
|---|---|
userId | Optional. One user's links. |
limit, cursor | 1 to 200, default 50. See pagination. |
{
"data": [
{
"id": "lnk_01j9x4v6w8x0y2z4a6b8c0d2ef",
"userId": "user_123",
"authConfigs": ["slack"],
"status": "active",
"expiresAt": "2026-09-28T10:30:00.000Z",
"usedAt": null,
"createdAt": "2026-09-28T10:00:00.000Z"
}
],
"nextCursor": null
}status is active, used, expired or revoked.
DELETE /v1/connect-links/:id
Revokes a link before it expires, as one sent to the wrong person. The hosted page then answers it
as no link at all. Revoking it again answers the same. The audit trail records
connect_link.revoke with the API key when the link still worked.
curl -X DELETE "https://api.harryy.ai/v1/connect-links/<link-id>" \
-H "Authorization: Bearer $DEXBY_API_KEY"{ "data": { "id": "lnk_01j9x4v6w8x0y2z4a6b8c0d2ef", "revoked": true } }Triggers
GET /v1/triggers
The project's triggers a page at a time, newest first. Triggers on members' Playground accounts are never listed.
| Query | What it is |
|---|---|
userId | Only triggers on this user's accounts. |
connectionId | Only triggers on this account. |
connectorId | Only this app's triggers. |
limit, cursor | 1 to 200, default 50. See pagination. |
curl "https://api.harryy.ai/v1/triggers" \
-H "Authorization: Bearer $DEXBY_API_KEY"{
"data": [
{
"id": "trg_01j9x5m7n9p1q3r5s7t9v1w3xy",
"connectionId": "con_01j9x2f4g6h8j0k2m4n6p8r0st",
"connectorId": "slack",
"event": "app_mention",
"userId": "user_123",
"fireCount": 3,
"lastFiredAt": "2026-09-28T09:12:00.000Z",
"createdAt": "2026-09-27T10:00:00.000Z"
}
],
"nextCursor": null
}GET /v1/triggers/:id
One trigger, with fires: its latest events as they went out to the project's webhooks (id,
eventId, receivedAt, endpointUrl, status, attempts, lastResponseStatus, createdAt).
Another project's trigger answers 404 NOT_FOUND.
GET /v1/trigger-types
The apps that offer triggers, by connector id, each with events: the ids POST /v1/triggers
takes, and the options each asks the user to choose. The same for every project.
| Query | What it is |
|---|---|
connectorId | Only this app. |
limit, cursor | See pagination. |
curl "https://api.harryy.ai/v1/trigger-types?connectorId=slack" \
-H "Authorization: Bearer $DEXBY_API_KEY"POST /v1/triggers
Subscribes to one event on one connection. Answers 201. Events reach your webhooks as
trigger.fired.
| Body | Type | What it is |
|---|---|---|
connectionId | string | Required. From GET /v1/connections?userId=user_123, or Operate → Connections → "Connection ID". |
event | string | Required. Trigger event id, such as app_mention. From GET /v1/trigger-types?connectorId= → events[].id, or the connector page in Build → Catalog. |
secret | string | Manual setup only (such as Slack): the provider's signing secret, up to 512 characters. |
curl "https://api.harryy.ai/v1/triggers" \
-H "Authorization: Bearer $DEXBY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"connectionId":"<connection-id>","event":"app_mention","secret":"<slack-signing-secret>"}'<slack-signing-secret> is in your Slack app's Basic Information page.
{
"data": {
"id": "trg_01j9x5m7n9p1q3r5s7t9v1w3xy",
"connectorId": "slack",
"event": "app_mention",
"fireCount": 0,
"url": "https://api.harryy.ai/triggers/<token>"
}
}url appears only for manual setup, only on create. Paste it into the provider's settings. See
triggers.
DELETE /v1/triggers/:id
Removes a trigger.
| Path | Where to get it |
|---|---|
:id | Trigger id: id from GET /v1/triggers or create. |
curl -X DELETE "https://api.harryy.ai/v1/triggers/<trigger-id>" \
-H "Authorization: Bearer $DEXBY_API_KEY"{ "data": { "id": "trg_01j9x5m7n9p1q3r5s7t9v1w3xy" } }MCP
POST https://mcp.dexby.ai/:slug/:userId
Serves one of the project's MCP endpoints over Streamable HTTP (JSON responses). Each call uses
the connected accounts of the user in the path. When the user has not connected the app, the tool result carries a connect
link. GET and DELETE answer 405 with Allow: POST. An unknown slug answers a JSON-RPC error
with status 404, and any other path on the MCP host answers 404. Both MCP routes answer 403 to
browser requests whose Origin is not Dexby's web app.
| Param | Where | What it is |
|---|---|---|
:slug | path | Endpoint slug you chose in Distribute → MCP endpoints → New endpoint ("URL slug"), or from GET /v1/mcp-endpoints. |
:userId | path | Required. Your own id for the end user, percent-encoded as one segment. A URL without it answers 400 with a JSON-RPC error (-32602) saying to add it. |
curl "https://mcp.dexby.ai/<endpoint-slug>/user_123" \
-H "Authorization: Bearer $DEXBY_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'The API host also serves the endpoint at POST /v1/mcp/:slug/:userId.
Self-hosted deployment packaging is planned.
Legacy: POST /v1/mcp/:slug?user=<userId> still works and behaves the same; without user it is refused too.
The endpoint page in the dashboard shows the full URL and ready configs for Claude Code and Cursor. See MCP.
MCP endpoints
GET /v1/mcp-endpoints
The project's MCP endpoints, a page at a time by slug. Read-only: creating and changing them stays in
Distribute → MCP endpoints. Each has id, slug, name, toolIds, connectorIds,
allowGlobalAccounts, calls7d, users7d, createdAt, updatedAt and url; a user's URL is
url with /<userId> added.
curl "https://api.harryy.ai/v1/mcp-endpoints" \
-H "Authorization: Bearer $DEXBY_API_KEY"GET /v1/mcp-endpoints/:slug
One endpoint, by slug. Another project's answers 404 NOT_FOUND.
Logs
GET /v1/logs
The project's logged tool runs and proxy calls, a page at a time, newest first: metadata only. What a
call sent and got back is never answered here, whatever the project keeps; an owner or admin opens it
in Operate → Logs. Nor the upstream path or Dexby's error message. For a project that handles
health data, userId is always null and the userId filter answers 400 VALIDATION_ERROR.
Empty while the project keeps no request logs; rows are kept 30 days.
| Query | What it is |
|---|---|
status | error: only failed calls. |
userId | One user's calls. |
since | 1h, 24h or 7d. |
limit, cursor | 1 to 200, default 100. See pagination. |
{
"data": [
{
"id": "req_01j9x7c9d1e3f5g7h9j1k3m5np",
"method": "POST",
"path": "/v1/tools/execute",
"status": 400,
"durationMs": 42,
"requestBytes": 96,
"responseBytes": 120,
"errorCode": "MISSING_CONNECTION",
"toolId": "slack_post_message",
"connectorId": "slack",
"userId": "user_123",
"upstreamMethod": null,
"keyName": "Backend",
"keyPrefix": "dx_live_",
"createdAt": "2026-09-28T10:00:00.000Z"
}
],
"nextCursor": null
}GET /v1/logs/:id
One logged call, the same shape, by the Request-Id (req_…) it answered with.
Usage
GET /v1/usage
The project's usage in a range, as the dashboard's usage page counts it: requests, executions
(tool runs), errors, requestBytes, responseBytes and medianMs, with the range's from and
to. Counts hold whether or not the project keeps request logs; the median, and one user's share,
come from request logs, so they cover logged calls alone.
| Query | What it is |
|---|---|
from | Required. ISO timestamp with offset, in the timezone you count in. |
to | Default now. After from. |
userId | Optional. One end user's share. |
curl "https://api.harryy.ai/v1/usage?from=2026-09-01T00:00:00Z" \
-H "Authorization: Bearer $DEXBY_API_KEY"