---
title: "IDT-1994: try the connection against a real URL before publishing. A single SSRF-guarded GET with the connection's auth headers; the response body is never returned. A failed test is still HTTP 200 — the outcome is data, not an API error."
method: POST
path: "/v1/chatbots/connections/{id}/test"
tags: ["ChatbotConnection"]
---

# IDT-1994: try the connection against a real URL before publishing. A single SSRF-guarded GET with the connection's auth headers; the response body is never returned. A failed test is still HTTP 200 — the outcome is data, not an API error.

`POST /v1/chatbots/connections/{id}/test`

## Path parameters

- `id` integer, required

## Request body

- ChatbotConnectionTestRequest
  - `url` string, required

## Response `200`

OK

- ChatbotConnectionTestResponse
  - `ok` boolean
  - `status` integer, nullable
  - `reason` string, nullable
  - `durationMs` integer

## Other responses

- `404` — Not Found

---

[API](https://skmtc.dev/infoset/apis/infoset-rest-api.md) · [All operations](https://skmtc.dev/infoset/apis/infoset-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infoset/infoset-rest-api/revisions/f5bc39a1ac15/schema)
