registries
List registries
Returns a paginated list of registries in a gateway.
GET
/
v1
/
gateways
/
{gateway_id}
/
registries
List registries
curl --request GET \
--url https://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries \
--header 'Authorization: <api-key>'import requests
url = "https://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries', 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://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <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://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"auth": {
"api_key": {
"api_key": "<string>",
"header_name": "<string>",
"header_value": "<string>",
"param_location": "<string>",
"param_name": "<string>",
"param_value": "<string>"
},
"aws": {
"access_key_id": "<string>",
"region": "<string>",
"role": "<string>",
"secret_access_key": "<string>",
"session_token": "<string>",
"use_role": true
},
"azure": {
"api_key": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"endpoint": "<string>",
"tenant_id": "<string>",
"use_managed_identity": true,
"version": "<string>"
},
"gcp_service_account": "<string>",
"oauth": {
"audience": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"extra": {},
"grant_type": "<string>",
"refresh_token": "<string>",
"scopes": [
"<string>"
],
"token_url": "<string>",
"use_basic_auth": true
},
"type": "<string>"
},
"created_at": "<string>",
"description": "<string>",
"enabled": true,
"gateway_id": "<string>",
"health_checks": {
"headers": {},
"interval": 123,
"passive": true,
"path": "<string>",
"threshold": 123
},
"id": "<string>",
"mcp_target": {
"auth": {
"actor": "<string>",
"audience": "<string>",
"authorize_url": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"expected_audience": "<string>",
"header": "<string>",
"mode": "<string>",
"pattern": "<string>",
"provider": "<string>",
"registration": "<string>",
"resource": "<string>",
"scope": "<string>",
"scopes": [
"<string>"
],
"token_url": "<string>",
"value": "<string>"
},
"code": "<string>",
"headers": {},
"transport": "<string>",
"url": "<string>"
},
"name": "<string>",
"provider": "<string>",
"provider_options": {},
"type": "<string>",
"updated_at": "<string>"
}
],
"page": 123,
"size": 123,
"total": 123
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}⌘I
List registries
curl --request GET \
--url https://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries \
--header 'Authorization: <api-key>'import requests
url = "https://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries', 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://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <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://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://agentgateway-admin.dev.neuraltrust.ai/v1/gateways/{gateway_id}/registries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"auth": {
"api_key": {
"api_key": "<string>",
"header_name": "<string>",
"header_value": "<string>",
"param_location": "<string>",
"param_name": "<string>",
"param_value": "<string>"
},
"aws": {
"access_key_id": "<string>",
"region": "<string>",
"role": "<string>",
"secret_access_key": "<string>",
"session_token": "<string>",
"use_role": true
},
"azure": {
"api_key": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"endpoint": "<string>",
"tenant_id": "<string>",
"use_managed_identity": true,
"version": "<string>"
},
"gcp_service_account": "<string>",
"oauth": {
"audience": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"extra": {},
"grant_type": "<string>",
"refresh_token": "<string>",
"scopes": [
"<string>"
],
"token_url": "<string>",
"use_basic_auth": true
},
"type": "<string>"
},
"created_at": "<string>",
"description": "<string>",
"enabled": true,
"gateway_id": "<string>",
"health_checks": {
"headers": {},
"interval": 123,
"passive": true,
"path": "<string>",
"threshold": 123
},
"id": "<string>",
"mcp_target": {
"auth": {
"actor": "<string>",
"audience": "<string>",
"authorize_url": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"expected_audience": "<string>",
"header": "<string>",
"mode": "<string>",
"pattern": "<string>",
"provider": "<string>",
"registration": "<string>",
"resource": "<string>",
"scope": "<string>",
"scopes": [
"<string>"
],
"token_url": "<string>",
"value": "<string>"
},
"code": "<string>",
"headers": {},
"transport": "<string>",
"url": "<string>"
},
"name": "<string>",
"provider": "<string>",
"provider_options": {},
"type": "<string>",
"updated_at": "<string>"
}
],
"page": 123,
"size": 123,
"total": 123
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}