curl --request GET \
--url https://api.nekt.ai/api/v1/live-connections/{slug}/tools/ \
--header 'x-api-key: <api-key>'import requests
url = "https://api.nekt.ai/api/v1/live-connections/{slug}/tools/"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.nekt.ai/api/v1/live-connections/{slug}/tools/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nekt.ai/api/v1/live-connections/{slug}/tools/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.nekt.ai/api/v1/live-connections/{slug}/tools/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nekt.ai/api/v1/live-connections/{slug}/tools/")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nekt.ai/api/v1/live-connections/{slug}/tools/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connector": "<string>",
"connector_version": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connector_config": {},
"has_callback_webhook": true,
"credentials_version": 123,
"draft": true,
"error": true,
"archived": true,
"tags": [
"<unknown>"
],
"permission_level": "<string>",
"created_by": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"active": true,
"slug": "<string>",
"description": "<string>",
"available_tools": [
"<string>"
]
}List Connection Tools
List the connection’s tools (GET), or edit its available set (PATCH). The available set is streams-style — a tool is either in it or gone, there is no per-tool status.
GET returns the caller’s view: managers/bypassed principals (and flag-off orgs) get
the full snapshot with the transitional enabled flag (the management view);
everyone else gets only the tools their accesses give them (spec §5.7).
PATCH accepts the declarative replace {tools: [names]} (the full desired set,
mirror of stream selection) or, transitionally until the FE ships, the legacy
{name, enabled} toggle mapped onto the set. Writes serialize on the connection
row lock, and removals cascade into existing access tool scopes (§5.3) — re-adding
a tool later does not restore explicitly-scoped accesses.
curl --request GET \
--url https://api.nekt.ai/api/v1/live-connections/{slug}/tools/ \
--header 'x-api-key: <api-key>'import requests
url = "https://api.nekt.ai/api/v1/live-connections/{slug}/tools/"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.nekt.ai/api/v1/live-connections/{slug}/tools/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nekt.ai/api/v1/live-connections/{slug}/tools/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.nekt.ai/api/v1/live-connections/{slug}/tools/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nekt.ai/api/v1/live-connections/{slug}/tools/")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nekt.ai/api/v1/live-connections/{slug}/tools/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connector": "<string>",
"connector_version": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connector_config": {},
"has_callback_webhook": true,
"credentials_version": 123,
"draft": true,
"error": true,
"archived": true,
"tags": [
"<unknown>"
],
"permission_level": "<string>",
"created_by": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"active": true,
"slug": "<string>",
"description": "<string>",
"available_tools": [
"<string>"
]
}Authorizations
API Key authentication. Format: 'x-api-key: api_key'
Path Parameters
Stable identifier and tool namespace; globally unique. Defaults to the connector slug (uniquified) when left blank.
Response
A connection to an external system that AI agents can call tools against.
Connector of this connection (Expandable)
Show child attributes
Show child attributes
Bumped whenever connector_config changes (in the viewset/serializer, not a signal); the MCP uses it to invalidate its credential cache
Not yet activated for the first time; the setup-link flow is only valid while draft (or error).
Set by the credential broker on a refused OAuth refresh; the connection needs a reconnect and is not served while set.
Set via the archive/unarchive endpoints (mirrors Pipeline.archived); archived connections are never served to the MCP server.
Show child attributes
Show child attributes
The user on/off toggle. Activating clears draft and error.
Stable identifier and tool namespace; globally unique. Defaults to the connector slug (uniquified) when left blank.
256^[-a-zA-Z0-9_]+$Was this page helpful?