Obter Modelos de IA
curl --request GET \
--url https://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-infoimport requests
url = "https://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-info"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-info', 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://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-info",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-info"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-info")
.asString();require 'uri'
require 'net/http'
url = URI("https://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-info")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"isValid": true,
"models": [
{
"name": "<string>"
}
]
}Modelos de IA
Obter Modelos de IA
Endpoint para obter modelos do provider
GET
/
api
/
v1
/
credential
/
{credentialId}
/
validation-info
Obter Modelos de IA
curl --request GET \
--url https://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-infoimport requests
url = "https://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-info"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-info', 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://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-info",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-info"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-info")
.asString();require 'uri'
require 'net/http'
url = URI("https://chat.api.toolzz.com.br/api/v1/credential/{credentialId}/validation-info")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"isValid": true,
"models": [
{
"name": "<string>"
}
]
}Token de Acesso
string
Token de acesso (“Bearer” deve estar antes do token)
Corpo da Requisição
uuid
required
Identificador da credencial
Descrição da Resposta
Abaixo está a descrição da resposta da integraçãoboolean
Indica se a chave de API ou credencial fornecida é válida e possui acesso aos serviços.

