Agents
Get agent details
Get detailed information about a specific agent.
GET
/
api
/
agents
/
{id}
cURL
curl http://localhost:18080/api/agents/slackconst options = {method: 'GET'};
fetch('http://localhost:18080/api/agents/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:18080/api/agents/{id}"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:18080/api/agents/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "slack",
"name": "Slack",
"description": "<string>",
"type": "<string>"
}⌘I
cURL
curl http://localhost:18080/api/agents/slackconst options = {method: 'GET'};
fetch('http://localhost:18080/api/agents/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:18080/api/agents/{id}"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:18080/api/agents/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "slack",
"name": "Slack",
"description": "<string>",
"type": "<string>"
}
