Read the Anthropic key
curl --request GET \
--url https://api.getoneprofile.ai/provider-keys/claude/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/provider-keys/claude/"
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/provider-keys/claude/', 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/provider-keys/claude/",
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/provider-keys/claude/"
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/provider-keys/claude/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/provider-keys/claude/")
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{
"can_change": true,
"key": {
"added_by_display_name": "<string>",
"checked_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"credits_remaining": 123,
"health": "unchecked",
"health_detail": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"integration_type": "<string>",
"key_hint": "<string>",
"provider_name": "<string>",
"running_low": true,
"updated_at": "2023-11-07T05:31:56Z",
"updated_by_user_id": "<string>",
"month_cost_usd": 0,
"month_rows": 0
},
"key_fee_credits": 123,
"keys": [
{
"added_by_display_name": "<string>",
"checked_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"credits_remaining": 123,
"health": "unchecked",
"health_detail": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"integration_type": "<string>",
"key_hint": "<string>",
"provider_name": "<string>",
"running_low": true,
"updated_at": "2023-11-07T05:31:56Z",
"updated_by_user_id": "<string>",
"month_cost_usd": 0,
"month_rows": 0
}
],
"limit_lifts_at": "2023-11-07T05:31:56Z",
"limit_reached": true,
"max_keys": 123,
"month": {
"cost_usd": 123,
"month": "2023-12-25",
"rows": 123
},
"monthly_limit_usd": 123,
"paid": true,
"paused": true,
"requests_per_minute": 123,
"slow": true,
"use_for_columns": true,
"use_for_research": true,
"use_for_writing": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}provider-keys
Read the Anthropic key
The workspace’s own Anthropic key, which pays for Claude in the AI work that costs credits (AI columns, research cells, sequence and reply writing): never the key, its last four characters and how it stands. With how it is used (paused, the three areas, the monthly limit), this month’s work on it, and whether the caller may change it. A row on the key costs the key fee plus the web pages it read.
GET
/
provider-keys
/
claude
/
Read the Anthropic key
curl --request GET \
--url https://api.getoneprofile.ai/provider-keys/claude/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/provider-keys/claude/"
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/provider-keys/claude/', 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/provider-keys/claude/",
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/provider-keys/claude/"
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/provider-keys/claude/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/provider-keys/claude/")
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{
"can_change": true,
"key": {
"added_by_display_name": "<string>",
"checked_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"credits_remaining": 123,
"health": "unchecked",
"health_detail": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"integration_type": "<string>",
"key_hint": "<string>",
"provider_name": "<string>",
"running_low": true,
"updated_at": "2023-11-07T05:31:56Z",
"updated_by_user_id": "<string>",
"month_cost_usd": 0,
"month_rows": 0
},
"key_fee_credits": 123,
"keys": [
{
"added_by_display_name": "<string>",
"checked_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"credits_remaining": 123,
"health": "unchecked",
"health_detail": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"integration_type": "<string>",
"key_hint": "<string>",
"provider_name": "<string>",
"running_low": true,
"updated_at": "2023-11-07T05:31:56Z",
"updated_by_user_id": "<string>",
"month_cost_usd": 0,
"month_rows": 0
}
],
"limit_lifts_at": "2023-11-07T05:31:56Z",
"limit_reached": true,
"max_keys": 123,
"month": {
"cost_usd": 123,
"month": "2023-12-25",
"rows": 123
},
"monthly_limit_usd": 123,
"paid": true,
"paused": true,
"requests_per_minute": 123,
"slow": true,
"use_for_columns": true,
"use_for_research": true,
"use_for_writing": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Response
Successful Response
The workspace's own Anthropic keys and how its paid AI work uses them.
Never a key: its last four characters. With a key, the AI work that costs credits (the areas switched on) runs on one of the working keys, picked at random, and a row costs the key fee plus the web pages it read.
Was this page helpful?