curl --request GET \
--url https://api.getoneprofile.ai/table-enrichments/models/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/table-enrichments/models/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getoneprofile.ai/table-enrichments/models/', 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.getoneprofile.ai/table-enrichments/models/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.getoneprofile.ai/table-enrichments/models/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.getoneprofile.ai/table-enrichments/models/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/table-enrichments/models/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"models": [
{
"best_for": "<string>",
"credits_per_row": 123,
"description": "<string>",
"display_name": "<string>",
"is_default": true,
"is_variable_price": true,
"key": "<string>",
"lookup_credits_per_find": {},
"speed": "<string>",
"supported_actions": [
"<string>"
],
"web_research_credits_per_row": 123
}
],
"second_check_share_without_history": 123,
"usual_share_without_history": 123,
"usual_share_without_history_plain": 123,
"agent_tools": [
{
"available": true,
"key": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}List enrichment models
The user-facing model catalog: named tiers with per-row credit costs, cheapest first. The default is marked.
curl --request GET \
--url https://api.getoneprofile.ai/table-enrichments/models/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/table-enrichments/models/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getoneprofile.ai/table-enrichments/models/', 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.getoneprofile.ai/table-enrichments/models/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.getoneprofile.ai/table-enrichments/models/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.getoneprofile.ai/table-enrichments/models/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/table-enrichments/models/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"models": [
{
"best_for": "<string>",
"credits_per_row": 123,
"description": "<string>",
"display_name": "<string>",
"is_default": true,
"is_variable_price": true,
"key": "<string>",
"lookup_credits_per_find": {},
"speed": "<string>",
"supported_actions": [
"<string>"
],
"web_research_credits_per_row": 123
}
],
"second_check_share_without_history": 123,
"usual_share_without_history": 123,
"usual_share_without_history_plain": 123,
"agent_tools": [
{
"available": true,
"key": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Response
Successful Response
The user-facing model catalog, cheapest first.
Show child attributes
Show child attributes
For a column with its second check on (an enrichment with offers_second_check, settings.second_check true): the share of rows usually charged a second check, for a column with no history yet. Its 'usually about' figure is the action's credits_per_row times (1 + this share); its most is twice credits_per_row. A saved column reads its own usual_credits_per_row from the credit-rates route.
The share of its per-row maximum a Use AI row that researches (web research on, or a lookup it may buy) is usually charged, for a column with no charged history yet, such as a draft not saved. Multiply the draft's per-row maximum by it for its 'usually about' figure. A saved column reads its own from GET /tables/{table_id}/columns/credit-rates/ (usual_credits_per_row). 1.0 means no usual figure.
The same share for a Use AI row that makes one plain model call: web research off and no lookup switched on. Such a row is charged far under its maximum, so a draft like that is quoted at this share, not usual_share_without_history. 1.0 means no usual figure.
The enrichment tools a research agent can be given, with whether each can be switched on for this organisation and which models afford it.
Show child attributes
Show child attributes
Was this page helpful?