Dexby

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.

QueryTypeDefaultWhat it does
querystringnoneSearch text in id, name, and description. 1 to 200 characters.
categorystringnonecommunication, developer-tools, crm, productivity, marketing, analytics, finance, storage, security, or commerce.
popularbooleannonetrue: only the most popular, in rank order.
facetsbooleanfalseAdds facets: { category, popular } counts.
limitinteger1001 to 500.
cursorstringnoneThe previous page's nextCursor.
terminal
curl "https://api.harryy.ai/v1/connectors?query=chat&limit=1" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
200 OK
{
	"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.

PathWhere to get it
:idConnector id, such as slack. From GET /v1/connectors, Build → Catalog in the dashboard, or the connectors page.
terminal
curl "https://api.harryy.ai/v1/connectors/slack" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
200 OK
{
	"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.

QueryTypeDefaultWhat it does
querystringnoneSearch text, 1 to 200 characters.
connectorIdstringnoneOnly this connector's tools.
categorystringnoneSame values as for connectors.
dataClassificationstringnonestandard, pii, or phi.
viewstringfullindex leaves out requiredScopes, inputSchema, and outputSchema.
facetsbooleanfalseAdds counts per category and dataClassification.
limit, cursorSee pagination.
terminal
curl "https://api.harryy.ai/v1/tools?connectorId=slack&view=index" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
200 OK
{
	"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.

terminal
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.

BodyTypeDefaultWhat it is
toolIdstringrequiredTool id, such as slack_post_message. From GET /v1/tools or Build → Catalog.
inputobject{}Must match the tool's inputSchema.
userIdstringrequiredYour own id for the end user. A call without one answers 400 VALIDATION_ERROR.
connectionIdstringnoneOne of the user's accounts. From GET /v1/connections?userId=user_123. Otherwise the default account.
allowGlobalAccountsbooleanfalseLets the call choose one of the project's global accounts. Without it, a global account is used only when connectionId names it.
terminal
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"}}'
200 OK
{ "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.

BodyTypeDefaultWhat it is
connectorIdstringrequiredConnector id.
userIdstringrequiredYour own id for the end user.
endpointstringrequiredPath relative to the connector's API base URL.
methodGET, POST, PUT, PATCH, DELETEGETHTTP method.
queryobjectnoneQuery parameters.
bodyany JSONnoneRequest body.
headersRecord<string, string>noneExtra headers. authorization, proxy-authorization, cookie, and host are dropped.
connectionIdstringnoneOne of the user's accounts, as for execute.
allowGlobalAccountsbooleanfalseAs for execute. A global account also needs its Allow proxy permission, else 403 ACTION_DISABLED.
terminal
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"}'
200 OK
{ "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.

BodyTypeDefaultWhat it is
userIdstringrequiredYour own id for the end user, up to 256 characters.
connectorsstring[]allOnly these connector ids. 1 to 200.
actionsstring[]allOnly these tool ids, or prefixes ending in * (such as slack_*). 1 to 500.
pinnedstring[][]Tool ids listed as full definitions next to the meta tools. At most 20, all in scope.
accountsRecord<string, string>{}Connector id to account id, name, or label, for when a call names no account.
allowGlobalAccountsbooleanfalseLets the agent see and use the project's global accounts. Off, they do not exist for the session.
policy.readOnlybooleanfalseOnly read tools.
policy.maxDataClassstandard, pii, phiphiMost sensitive data class allowed.
policy.allowDisconnectbooleanfalseAdds dexby_disconnect_account.
policy.allowProxybooleanfalseAdds dexby_proxy.
ttlMinutesinteger1440Lifetime, 5 to 43200 minutes.
terminal
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"]}'
201 Created
{
	"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.

PathWhere to get it
:idSession id: data.id from POST /v1/sessions, or Operate → Sessions in the dashboard.
terminal
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.

QueryWhat it is
userIdOptional. One user's sessions.
limit, cursor1 to 200, default 50. See pagination.
terminal
curl "https://api.harryy.ai/v1/sessions?userId=user_123" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
200 OK
{
	"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.

terminal
curl -X DELETE "https://api.harryy.ai/v1/sessions/<session-id>" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
200 OK
{ "data": { "id": "ags_01j9x3k7m2q8w4e6r5t7y9b1cd", "revoked": true } }

GET /v1/sessions/:id/tools

Tool definitions for the model: the meta tools, then the pinned tools.

ParamWhereWhat it is
:idpathSession id, as above.
formatquery, default json-schemajson-schema, or openai-strict for OpenAI strict mode.
terminal
curl "https://api.harryy.ai/v1/sessions/<session-id>/tools?format=openai-strict" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
200 OK
{
	"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.

ParamWhereWhat it is
:idpathSession id, as above.
:namepathTool name from GET /v1/sessions/:id/tools, such as dexby_execute.
argumentsbodyThe model's arguments for the tool.
terminal
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:

200 OK
{
	"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.

PathWhere to get it
:idSession id. The full URL is data.mcpUrl from POST /v1/sessions.
terminal
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.

QueryWhat it is
userIdOptional. Your own id for the end user. Adds connections: the user's accounts through each config and the project's global accounts ("global": true).
connectorIdOptional. Only this app's configs.
limit, cursorSee pagination.
terminal
curl "https://api.harryy.ai/v1/auth-configs?userId=user_123" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
200 OK
{
	"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.

terminal
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.

BodyTypeDefaultWhat it is
connectorIdstringrequiredConnector id.
authMethodIdstringnoneOne of the connector's authMethods. Omitted only for an app that needs no sign-in.
keystringthe app's idWhat links name it by. Lowercase letters and numbers joined by -, _, : or ..
scopesstring[] | nullmethod defaultsOAuth only.
baseUrlstringthe app's hostOnly for an app that also runs elsewhere: a public https address.
disabledActionsstring[][]Actions accounts connected through it may not run.
terminal
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.

200 OK
{ "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.

QueryWhat it is
userIdOptional. Your own id for the end user.
scopeall (default), user (end users' accounts only) or global.
connectorIdOnly this app's accounts.
authConfigIdOnly accounts connected through this auth config (cfg_…).
authConfigThe same, by the config's key.
statusactive, reauth_required or revoked.
queryPart of the user id, account name or label, or the app's id or name.
createdAfterOnly accounts connected after this ISO timestamp (with offset).
limit, cursor1 to 200, default 50. See pagination.
terminal
curl "https://api.harryy.ai/v1/connections?userId=user_123" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
200 OK
{
	"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.

terminal
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.

BodyTypeDefaultWhat it is
connectorIdstringrequiredConnector id.
userIdstringrequiredYour own id for the end user.
credentialobjectrequiredtype is oauth2, oauth2_client_credentials, api_key, basic, aws_iam, custom, or none. Unknown fields are rejected.
authConfigstringthe firstAuth config key, from the "Key" field in Build → Auth configs.
namestringnext free nameAccount name, up to 64 characters. The user's first account for a connector is default.
terminal
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.

200 OK
{
	"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 }.

ParamWhereWhat it is
:idpathConnection id (con_…): id from GET /v1/connections?userId=user_123, or Operate → Connections → "Connection ID".
namebodyNew account name. A name the user already has answers 409 NAME_TAKEN.
credentialbodyThe new credential, same shape as on create.
expectedRevisionbodyThe revision you are replacing. A stale revision answers 409 CONFLICT.
terminal
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"}'
200 OK
{ "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.

PathWhere to get it
:idConnection id, as for PATCH.
terminal
curl -X POST "https://api.harryy.ai/v1/connections/<connection-id>/default" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
200 OK
{
	"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.

PathWhere to get it
:idConnection id, as for PATCH.
terminal
curl -X DELETE "https://api.harryy.ai/v1/connections/<connection-id>" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
200 OK
{ "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.

QueryWhat it is
queryPart of the user id.
connectorIdOnly users with an account for this app.
limit, cursor1 to 200, default 50. See pagination.
200 OK
{
	"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.

terminal
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.

PathWhere to get it
:userIdYour 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.
terminal
curl -X DELETE "https://api.harryy.ai/v1/users/user_123" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
202 Accepted
{ "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.

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.

BodyTypeDefaultWhat it is
userIdstringrequiredYour own id for the end user, up to 256 characters.
connectorsstring[]allOffer every auth config of these connector ids.
authConfigsstring[]allOffer these auth configs, by key from Build → Auth configs.
redirectUrlstringnoneWhere the user goes afterward. Must be allowed in Configure → Connect UI, or 400.
expiresInMinutesinteger305 to 1440.
skipConsentbooleanfalseOpen the app's sign-in without the consent screen, where it can. See skip the consent screen.
terminal
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"]}'
201 Created
{
	"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.

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.

QueryWhat it is
userIdOptional. One user's links.
limit, cursor1 to 200, default 50. See pagination.
200 OK
{
	"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.

terminal
curl -X DELETE "https://api.harryy.ai/v1/connect-links/<link-id>" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
200 OK
{ "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.

QueryWhat it is
userIdOnly triggers on this user's accounts.
connectionIdOnly triggers on this account.
connectorIdOnly this app's triggers.
limit, cursor1 to 200, default 50. See pagination.
terminal
curl "https://api.harryy.ai/v1/triggers" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
200 OK
{
	"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.

QueryWhat it is
connectorIdOnly this app.
limit, cursorSee pagination.
terminal
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.

BodyTypeWhat it is
connectionIdstringRequired. From GET /v1/connections?userId=user_123, or Operate → Connections → "Connection ID".
eventstringRequired. Trigger event id, such as app_mention. From GET /v1/trigger-types?connectorId= → events[].id, or the connector page in Build → Catalog.
secretstringManual setup only (such as Slack): the provider's signing secret, up to 512 characters.
terminal
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.

201 Created
{
	"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.

PathWhere to get it
:idTrigger id: id from GET /v1/triggers or create.
terminal
curl -X DELETE "https://api.harryy.ai/v1/triggers/<trigger-id>" \
  -H "Authorization: Bearer $DEXBY_API_KEY"
200 OK
{ "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.

ParamWhereWhat it is
:slugpathEndpoint slug you chose in Distribute → MCP endpoints → New endpoint ("URL slug"), or from GET /v1/mcp-endpoints.
:userIdpathRequired. 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.
terminal
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.

terminal
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.

QueryWhat it is
statuserror: only failed calls.
userIdOne user's calls.
since1h, 24h or 7d.
limit, cursor1 to 200, default 100. See pagination.
200 OK
{
	"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.

QueryWhat it is
fromRequired. ISO timestamp with offset, in the timezone you count in.
toDefault now. After from.
userIdOptional. One end user's share.
terminal
curl "https://api.harryy.ai/v1/usage?from=2026-09-01T00:00:00Z" \
  -H "Authorization: Bearer $DEXBY_API_KEY"

On this page