curl -X POST https://api.60db.ai/agents/integrations/INTEGRATION_ID/test \
-H "Authorization: Bearer your-api-key"
Agent Integrations
Test Integration
Run the live connection test again and store the result
POST
/
agents
/
integrations
/
{id}
/
test
curl -X POST https://api.60db.ai/agents/integrations/INTEGRATION_ID/test \
-H "Authorization: Bearer your-api-key"
Run the live test of a connection. For a key provider, this checks the credentials. For a custom MCP server, it checks the server. For a custom webhook, it sends a signed
or, when the test failed:
ping event to the URL of the first action.
The result is stored on the connection. A failed test is not an HTTP error. It comes back as ok: false with a fixed message.
A webhook counts as connected when your endpoint answers any 2xx status. The body is not read. See The ping test.
Request
Headers
Path
Response
200 OK{ "success": true, "data": { "ok": true } }
{ "success": true, "data": { "ok": false, "error": "The provider rejected the credentials" } }
Errors
| Status | Code | Meaning |
|---|---|---|
| 403 | POLICY_DENY | Your role cannot manage integrations, or the API key lacks the agents scope |
| 404 | INTEGRATION_NOT_FOUND | No connection with this ID in your workspace |
| 422 | INTEGRATION_PROVIDER_REMOVED | The provider is no longer offered. Delete the connection |
| 429 | RATE_LIMITED | More than 30 checks in the last minute |
Example
curl -X POST https://api.60db.ai/agents/integrations/INTEGRATION_ID/test \
-H "Authorization: Bearer your-api-key"