providers
List Providers
GET
/
api
/
v1
/
providers
List Providers
curl --request GET \
--url https://api.example.com/api/v1/providers \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.example.com/api/v1/providers"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.example.com/api/v1/providers', 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.example.com/api/v1/providers",
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: Basic <encoded-value>"
],
]);
$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.example.com/api/v1/providers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.example.com/api/v1/providers")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/providers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"items": [
{
"source": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"origin": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_card": {
"capabilities": {
"extensions": [
{
"uri": "<string>",
"description": "<string>",
"params": {},
"required": true
}
],
"pushNotifications": true,
"stateTransitionHistory": true,
"streaming": true
},
"defaultInputModes": [
"<string>"
],
"defaultOutputModes": [
"<string>"
],
"description": "<string>",
"name": "<string>",
"skills": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"examples": [
"I need a recipe for bread"
],
"inputModes": [
"<string>"
],
"outputModes": [
"<string>"
],
"security": [
{
"google": [
"oidc"
]
}
]
}
],
"url": "<string>",
"version": "<string>",
"additionalInterfaces": [
{
"transport": "<string>",
"url": "<string>"
}
],
"documentationUrl": "<string>",
"iconUrl": "<string>",
"preferredTransport": "JSONRPC",
"protocolVersion": "0.3.0",
"provider": {
"organization": "<string>",
"url": "<string>"
},
"security": [
{
"oauth": [
"read"
]
},
{
"api-key": [],
"mtls": []
}
],
"securitySchemes": {},
"signatures": [
{
"protected": "<string>",
"signature": "<string>",
"header": {}
}
],
"supportsAuthenticatedExtendedCard": true
},
"managed": true,
"env": [
{
"name": "<string>",
"description": "<string>",
"required": false
}
],
"auto_stop_timeout": "PT20M",
"version_info": {
"docker": {
"registry": "<string>",
"repository": "<string>",
"tag": "<string>",
"digest": "<string>",
"image_id": "<string>"
},
"github": {
"org": "<string>",
"repo": "<string>",
"version": "<string>",
"commit_hash": "<string>",
"host": "github.com",
"path": "<string>"
}
},
"registry": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_active_at": "2023-11-07T05:31:56Z",
"last_error": {
"message": "<string>"
},
"missing_configuration": [
{
"name": "<string>",
"description": "<string>",
"required": false
}
]
}
],
"total_count": 123,
"next_page_token": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"has_more": false
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
HTTPBasicHTTPBearer
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
⌘I
List Providers
curl --request GET \
--url https://api.example.com/api/v1/providers \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.example.com/api/v1/providers"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.example.com/api/v1/providers', 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.example.com/api/v1/providers",
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: Basic <encoded-value>"
],
]);
$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.example.com/api/v1/providers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.example.com/api/v1/providers")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/providers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"items": [
{
"source": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"origin": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_card": {
"capabilities": {
"extensions": [
{
"uri": "<string>",
"description": "<string>",
"params": {},
"required": true
}
],
"pushNotifications": true,
"stateTransitionHistory": true,
"streaming": true
},
"defaultInputModes": [
"<string>"
],
"defaultOutputModes": [
"<string>"
],
"description": "<string>",
"name": "<string>",
"skills": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"examples": [
"I need a recipe for bread"
],
"inputModes": [
"<string>"
],
"outputModes": [
"<string>"
],
"security": [
{
"google": [
"oidc"
]
}
]
}
],
"url": "<string>",
"version": "<string>",
"additionalInterfaces": [
{
"transport": "<string>",
"url": "<string>"
}
],
"documentationUrl": "<string>",
"iconUrl": "<string>",
"preferredTransport": "JSONRPC",
"protocolVersion": "0.3.0",
"provider": {
"organization": "<string>",
"url": "<string>"
},
"security": [
{
"oauth": [
"read"
]
},
{
"api-key": [],
"mtls": []
}
],
"securitySchemes": {},
"signatures": [
{
"protected": "<string>",
"signature": "<string>",
"header": {}
}
],
"supportsAuthenticatedExtendedCard": true
},
"managed": true,
"env": [
{
"name": "<string>",
"description": "<string>",
"required": false
}
],
"auto_stop_timeout": "PT20M",
"version_info": {
"docker": {
"registry": "<string>",
"repository": "<string>",
"tag": "<string>",
"digest": "<string>",
"image_id": "<string>"
},
"github": {
"org": "<string>",
"repo": "<string>",
"version": "<string>",
"commit_hash": "<string>",
"host": "github.com",
"path": "<string>"
}
},
"registry": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_active_at": "2023-11-07T05:31:56Z",
"last_error": {
"message": "<string>"
},
"missing_configuration": [
{
"name": "<string>",
"description": "<string>",
"required": false
}
]
}
],
"total_count": 123,
"next_page_token": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"has_more": false
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}