Identify · Overview
Identify
Identify lets you name the agents and bots on every request to your site, see whether a person stands behind an agent, and decide what each one may do.
When to use it
- Welcome a signed shopping agent and ask for its shopper's approval only at checkout.
- Block AI training crawlers while search crawlers and assistants keep their access.
- Rate-limit or block one person's agents by a pseudonym, without learning who the person is.
How it works
- An agent signs each request with its own key (Web Bot Auth, RFC 9421) and names the directory that publishes the key.
- Your middleware verifies the signature in-process, reads the person's Authorize approval when there is one, and applies your traffic policy from a cached bundle.
- Your site serves, blocks or rate-limits the request, or answers with an approval challenge the agent knows how to meet.
- A request to your siteSignature, Signature-Agent, Provenance-Intent
- Identifyverify, classify, apply your policy
- A traffic assessmentagent, person, decision
Key objects
| Object | What it is | Where you get it |
|---|---|---|
| Traffic assessment | What Identify concluded about one request: the agent, the person behind it, the rule score and your policy's decision | POST / |
| Signing key | An agent's Ed25519 public key, published in its key directory | POST / |
| Traffic policy | Your versioned rules: allow, block, rate-limit, hand off or require a person | PUT / |
| Policy bundle | Everything your middleware needs to decide without a network call | GET / |
| Traffic decision | A recorded verdict, kept for your retention period | GET / |
Core endpoints
| Endpoint | Use it to |
|---|---|
POST / | Check one request from your server. |
GET / | Load the bundle your middleware decides from. |
POST / | Publish your own agent's signing key. |
GET / | See which agents and bots reached your site. |
PUT / | Set your route map and origins. |
Your first call
Check a request the way your server received it. The sandbox key needs no signup.
export PROVENANCE_API=https://sandbox-api.provenanceauth.com
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl $PROVENANCE_API/v1/identify/assessments \
-H "Authorization: Bearer $PROVENANCE_KEY" \
-H "Content-Type: application/json" \
-d '{
"request": {
"method": "GET",
"url": "https://quillstack.example/products/linen-a5",
"headers": { "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 14_6) AppleWebKit/605.1.15", "accept-language": "en-US" }
}
}'
const verdict = await (await fetch(`${process.env.PROVENANCE_API}/v1/identify/assessments`, {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
request: {
method: "GET",
url: "https://quillstack.example/products/linen-a5",
headers: { "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 14_6) AppleWebKit/605.1.15", "accept-language": "en-US" },
},
}),
})).json();
console.log(verdict.class, verdict.decision.action);
import os, httpx
verdict = httpx.post(
f"{os.environ['PROVENANCE_API']}/v1/identify/assessments",
headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"},
json={"request": {
"method": "GET",
"url": "https://quillstack.example/products/linen-a5",
"headers": {"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 14_6) AppleWebKit/605.1.15", "accept-language": "en-US"},
}},
).json()
print(verdict["class"], verdict["decision"]["action"])
{
"object": "traffic_assessment",
"id": "tas_01M5T7VVDVNHV05N8JN46YNCZC",
"class": "unknown",
"agent": null,
"human": null,
"bot_score": 0,
"signals": [],
"vendor_score": { "status": "not_configured" },
"decision": { "action": "allow", "shadow": null },
"policy": null,
"action": "browse",
"source": "hosted",
"created_at": "2026-10-25T19:16:12.346Z",
"response": null
}
An unsigned request is unknown: Identify names what it can prove and never guesses an identity. The quickstart registers an agent and checks a signed request.