Discover the API
curl --request GET \
--url https://preuve.ai/api/agentimport requests
url = "https://preuve.ai/api/agent"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://preuve.ai/api/agent', 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://preuve.ai/api/agent",
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://preuve.ai/api/agent"
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://preuve.ai/api/agent")
.asString();require 'uri'
require 'net/http'
url = URI("https://preuve.ai/api/agent")
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{
"name": "<string>",
"version": "<string>",
"baseUrl": "<string>",
"openapi": {
"json": "<string>",
"yaml": "<string>"
},
"authentication": {
"type": "apiKey",
"header": "<string>",
"keyPrefix": "<string>",
"selfServe": "<string>",
"oauth": "<string>",
"note": "<string>"
},
"endpoints": [
{
"method": "<string>",
"path": "<string>",
"operationId": "<string>"
}
],
"description": "<string>",
"apiCatalog": "<string>",
"docs": {},
"pricing": {},
"rateLimits": {},
"errors": {},
"mcp": {}
}{
"error": "<string>",
"code": "<string>",
"details": {},
"limit": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z",
"tokenBalance": 123,
"scansUsed": 123,
"scansRemaining": 123,
"limitType": "<string>",
"upgradeHint": "<string>",
"paused": true,
"upsell": {
"offer": "founder_report",
"price": "<string>",
"guarantee": "<string>",
"url": "<string>",
"locked": [
"<string>"
],
"note": "<string>"
}
}Discovery
Discover the API
Unauthenticated discovery document: base URL, where the OpenAPI spec and the docs live, how authentication works, what a call costs, the rate limits and the full endpoint list. Read this first when you know nothing else about the API.
GET
/
api
/
agent
Discover the API
curl --request GET \
--url https://preuve.ai/api/agentimport requests
url = "https://preuve.ai/api/agent"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://preuve.ai/api/agent', 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://preuve.ai/api/agent",
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://preuve.ai/api/agent"
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://preuve.ai/api/agent")
.asString();require 'uri'
require 'net/http'
url = URI("https://preuve.ai/api/agent")
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{
"name": "<string>",
"version": "<string>",
"baseUrl": "<string>",
"openapi": {
"json": "<string>",
"yaml": "<string>"
},
"authentication": {
"type": "apiKey",
"header": "<string>",
"keyPrefix": "<string>",
"selfServe": "<string>",
"oauth": "<string>",
"note": "<string>"
},
"endpoints": [
{
"method": "<string>",
"path": "<string>",
"operationId": "<string>"
}
],
"description": "<string>",
"apiCatalog": "<string>",
"docs": {},
"pricing": {},
"rateLimits": {},
"errors": {},
"mcp": {}
}{
"error": "<string>",
"code": "<string>",
"details": {},
"limit": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z",
"tokenBalance": 123,
"scansUsed": 123,
"scansRemaining": 123,
"limitType": "<string>",
"upgradeHint": "<string>",
"paused": true,
"upsell": {
"offer": "founder_report",
"price": "<string>",
"guarantee": "<string>",
"url": "<string>",
"locked": [
"<string>"
],
"note": "<string>"
}
}Response
The discovery document.
The unauthenticated GET /api/agent document.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
RFC 9727 api-catalog Linkset.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes