Listar Herramientas Disponibles
curl --request GET \
--url https://api.example.com/tools/availablesimport requests
url = "https://api.example.com/tools/availables"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/tools/availables', 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/tools/availables",
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://api.example.com/tools/availables"
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://api.example.com/tools/availables")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/tools/availables")
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_bodyHerramientas
Listar Herramientas Disponibles
Devuelve la lista de herramientas pre-disponibles para uso (plantillas, integraciones o tipos soportados).
GET
/
tools
/
availables
Listar Herramientas Disponibles
curl --request GET \
--url https://api.example.com/tools/availablesimport requests
url = "https://api.example.com/tools/availables"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/tools/availables', 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/tools/availables",
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://api.example.com/tools/availables"
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://api.example.com/tools/availables")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/tools/availables")
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_bodyEndpoint
GET https://gateway.orkeia.ai/tools/availables
AutenticaciónRequiere el encabezado
authorization: <tu_token>.
Encabezados
authorization: <tu_token>
Ejemplo (cURL)
curl -X GET "https://gateway.orkeia.ai/tools/availables" \
-H "authorization: <tu_token>"
Respuestas
Response - Éxito
response
{
"status": "OK",
"data": [
{
"key": "http_webhook",
"name": "HTTP Webhook",
"description": "Dispara solicitudes HTTP a servicios externos",
"category": "integration"
},
{
"key": "code_python",
"name": "Ejecución de Código (Python)",
"description": "Ejecuta scripts Python en sandbox",
"category": "runtime"
}
]
}
500 — Error del Servidor
{
"status": "ERROR",
"code": "server/error",
"data": null
}
400 — Error del Cliente
{
"status": "ERROR",
"code": "client/error",
"data": null
}
Campos
| Campo | Tipo | Descripción |
|---|---|---|
| key | string | Identificador del tipo/modelo de herramienta |
| name | string | Nombre amigable |
| description | string | Descripción del tipo |
| category | string | Categoría (ej.: integration, runtime) |
¿Esta página le ayudó?
⌘I
