curl --request POST \
--url https://api.getoneprofile.ai/provider-keys/claude/verify/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/provider-keys/claude/verify/"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getoneprofile.ai/provider-keys/claude/verify/', 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/verify/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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/verify/"
req, _ := http.NewRequest("POST", 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.post("https://api.getoneprofile.ai/provider-keys/claude/verify/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/provider-keys/claude/verify/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.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>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Check the Anthropic key
Ask Anthropic whether the workspace’s key works now: a run checks it before it starts. A key Anthropic answered as working in the last minute is answered as it stands, without asking again. A key that works again lets the rows it stopped run with Run failed rows. Anyone in the workspace may check; only a workspace admin’s check with record=true adds an entry to the key’s history, and record=false (a run’s check) never does.
curl --request POST \
--url https://api.getoneprofile.ai/provider-keys/claude/verify/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/provider-keys/claude/verify/"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getoneprofile.ai/provider-keys/claude/verify/', 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/verify/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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/verify/"
req, _ := http.NewRequest("POST", 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.post("https://api.getoneprofile.ai/provider-keys/claude/verify/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/provider-keys/claude/verify/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.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>"
}{
"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?