Skip to content
dimmiDocs

AI agent

Check an action connection

POST/api/v1/ai/action-connections/{connection}/tests

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the ai:actions ability

Path parameters

connectionstringrequired

Id of the action connection, starting with acn_, such as acn_01jx2m8k4t. Find it with GET /ai/action-connections.

Body

application/json
pathstring

Optional path under the base url to probe, such as /health.

Maximum length: 512

Response 201

Created
dataobjectrequired
Show child attributes
http_statusinteger | nullrequired

HTTP status the server answered the test with, such as 200. Null when no answer was received.

Format: int64

latency_msintegerrequired

How long the test took, in milliseconds.

Format: int64

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

statusstringrequired

How the test went: ok or error.

status_reasonstring | nullrequired

Why the test failed, such as credentials, url_escape, auth or unreachable. Null when it passed.

tools_countinteger | nullrequired

How many tools the MCP server listed. Null for an http connection.

Format: int64

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.