Ingest server-log AI-crawler hits
curl --request POST \
--url https://api.fixaeo.com/api/public/v1/agents/ingest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"records": [
{
"ua": "<string>",
"path": "<string>",
"ref": "<string>",
"ip": "<string>",
"ts": 123,
"status": 123,
"method": "<string>",
"country": "<string>"
}
],
"channel": "cf_worker"
}
'import requests
url = "https://api.fixaeo.com/api/public/v1/agents/ingest"
payload = {
"site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"records": [
{
"ua": "<string>",
"path": "<string>",
"ref": "<string>",
"ip": "<string>",
"ts": 123,
"status": 123,
"method": "<string>",
"country": "<string>"
}
],
"channel": "cf_worker"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
site_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
records: [
{
ua: '<string>',
path: '<string>',
ref: '<string>',
ip: '<string>',
ts: 123,
status: 123,
method: '<string>',
country: '<string>'
}
],
channel: 'cf_worker'
})
};
fetch('https://api.fixaeo.com/api/public/v1/agents/ingest', 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.fixaeo.com/api/public/v1/agents/ingest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'site_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'records' => [
[
'ua' => '<string>',
'path' => '<string>',
'ref' => '<string>',
'ip' => '<string>',
'ts' => 123,
'status' => 123,
'method' => '<string>',
'country' => '<string>'
]
],
'channel' => 'cf_worker'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fixaeo.com/api/public/v1/agents/ingest"
payload := strings.NewReader("{\n \"site_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"records\": [\n {\n \"ua\": \"<string>\",\n \"path\": \"<string>\",\n \"ref\": \"<string>\",\n \"ip\": \"<string>\",\n \"ts\": 123,\n \"status\": 123,\n \"method\": \"<string>\",\n \"country\": \"<string>\"\n }\n ],\n \"channel\": \"cf_worker\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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.fixaeo.com/api/public/v1/agents/ingest")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"site_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"records\": [\n {\n \"ua\": \"<string>\",\n \"path\": \"<string>\",\n \"ref\": \"<string>\",\n \"ip\": \"<string>\",\n \"ts\": 123,\n \"status\": 123,\n \"method\": \"<string>\",\n \"country\": \"<string>\"\n }\n ],\n \"channel\": \"cf_worker\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fixaeo.com/api/public/v1/agents/ingest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"site_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"records\": [\n {\n \"ua\": \"<string>\",\n \"path\": \"<string>\",\n \"ref\": \"<string>\",\n \"ip\": \"<string>\",\n \"ts\": 123,\n \"status\": 123,\n \"method\": \"<string>\",\n \"country\": \"<string>\"\n }\n ],\n \"channel\": \"cf_worker\"\n}"
response = http.request(request)
puts response.read_body{
"accepted": 123,
"monthly_used": 123,
"monthly_cap": 123
}Public API
Ingest server-log AI-crawler hits
Server-log ingestion for Agent Analytics. The customer’s edge — a Cloudflare Worker, a generic CDN webhook, or a CSV log upload — forwards a batch of raw request records. Each User-Agent is classified with the same engine catalog the JS beacon uses and written to the same Agents dashboard, so server-side crawlers (GPTBot, ClaudeBot, etc.) that never execute JavaScript are captured. Paid plans only. The batch’s site_id must belong to the authenticated account. Max 2000 records per batch; larger batches return 413.
POST
/
api
/
public
/
v1
/
agents
/
ingest
Ingest server-log AI-crawler hits
curl --request POST \
--url https://api.fixaeo.com/api/public/v1/agents/ingest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"records": [
{
"ua": "<string>",
"path": "<string>",
"ref": "<string>",
"ip": "<string>",
"ts": 123,
"status": 123,
"method": "<string>",
"country": "<string>"
}
],
"channel": "cf_worker"
}
'import requests
url = "https://api.fixaeo.com/api/public/v1/agents/ingest"
payload = {
"site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"records": [
{
"ua": "<string>",
"path": "<string>",
"ref": "<string>",
"ip": "<string>",
"ts": 123,
"status": 123,
"method": "<string>",
"country": "<string>"
}
],
"channel": "cf_worker"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
site_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
records: [
{
ua: '<string>',
path: '<string>',
ref: '<string>',
ip: '<string>',
ts: 123,
status: 123,
method: '<string>',
country: '<string>'
}
],
channel: 'cf_worker'
})
};
fetch('https://api.fixaeo.com/api/public/v1/agents/ingest', 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.fixaeo.com/api/public/v1/agents/ingest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'site_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'records' => [
[
'ua' => '<string>',
'path' => '<string>',
'ref' => '<string>',
'ip' => '<string>',
'ts' => 123,
'status' => 123,
'method' => '<string>',
'country' => '<string>'
]
],
'channel' => 'cf_worker'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fixaeo.com/api/public/v1/agents/ingest"
payload := strings.NewReader("{\n \"site_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"records\": [\n {\n \"ua\": \"<string>\",\n \"path\": \"<string>\",\n \"ref\": \"<string>\",\n \"ip\": \"<string>\",\n \"ts\": 123,\n \"status\": 123,\n \"method\": \"<string>\",\n \"country\": \"<string>\"\n }\n ],\n \"channel\": \"cf_worker\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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.fixaeo.com/api/public/v1/agents/ingest")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"site_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"records\": [\n {\n \"ua\": \"<string>\",\n \"path\": \"<string>\",\n \"ref\": \"<string>\",\n \"ip\": \"<string>\",\n \"ts\": 123,\n \"status\": 123,\n \"method\": \"<string>\",\n \"country\": \"<string>\"\n }\n ],\n \"channel\": \"cf_worker\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fixaeo.com/api/public/v1/agents/ingest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"site_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"records\": [\n {\n \"ua\": \"<string>\",\n \"path\": \"<string>\",\n \"ref\": \"<string>\",\n \"ip\": \"<string>\",\n \"ts\": 123,\n \"status\": 123,\n \"method\": \"<string>\",\n \"country\": \"<string>\"\n }\n ],\n \"channel\": \"cf_worker\"\n}"
response = http.request(request)
puts response.read_body{
"accepted": 123,
"monthly_used": 123,
"monthly_cap": 123
}Authorizations
API keys generated via POST /api/v1/me/api-keys. Format:
Authorization: Bearer fxa_<32-char-secret>. Only accepted on
/api/public/v1/*. Cookie auth is rejected on that surface.
Body
application/json
⌘I