Agents
Get Agents Versions Dropdown
Retrieve all agents with their versions for dropdowns.
GET
Get Agents Versions Dropdown
Autorizaciones
Get Agents Versions Dropdown
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve all agents with their versions for dropdowns.
import requests
url = "https://api.diga.io/v1/agent/versions-dropdown/dashboard"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.diga.io/v1/agent/versions-dropdown/dashboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.diga.io/v1/agent/versions-dropdown/dashboard \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.diga.io/v1/agent/versions-dropdown/dashboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"versions": [
{
"version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version_number": 123,
"version_name": "<string>",
"is_published": false,
"is_draft": false
}
],
"name": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}import requests
url = "https://api.diga.io/v1/agent/versions-dropdown/dashboard"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.diga.io/v1/agent/versions-dropdown/dashboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.diga.io/v1/agent/versions-dropdown/dashboard \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.diga.io/v1/agent/versions-dropdown/dashboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"versions": [
{
"version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version_number": 123,
"version_name": "<string>",
"is_published": false,
"is_draft": false
}
],
"name": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}