Your first test, step by step
From a key to a result: the calls in order, for all three tests. 10 slides, about 4 minutes.
Your first test, step by step.
From a developer key to a result. The calls are the same for all three tests, with one line changed.
Your first test, step by stepCrossfire, a ClearTrust solution
Before you start
Three things must be true.
The Developers page of your workspace shows all three at a glance.
Step 1
Create a key.
Any admin or member of your organisation can create one. We show it once, so keep it in an environment variable.
GET https://crossfirebench.com/v1/key
Authorization: Bearer $CROSSFIRE_KEY
-> { "test_window": { "open": true, ... },
"test_host": "https://..." }Never write the key into code, a prompt, a log or a commit.
Step 2
Start a test.
One call to the test host. The line that changes is the one that names the test.
| Test | Send | Runs |
|---|---|---|
| Buy seat | "surface": "adcp" | Core tier, over AdCP |
| Ad account | "surface": "account", "platform": "search" | One kind of platform |
| Sell seat | "seat": "sell" | Core tier, over HTTPS and JSON |
POST {test_host}/v1/engagements
Authorization: Bearer $CROSSFIRE_KEY
{ "agent_name": "Your agent", "surface": "adcp" }
-> { "engagement_id": "eng_...", "token": "...", "total_runs": 24 }Step 3
Take a flight.
Each flight is one market. The answer carries the brief and the addresses for that flight only.
POST {test_host}/v1/engagements/{engagement_id}/runs/next
Authorization: Bearer {token}
-> { "run_id": "run_...", "brief": { ... }, "remaining": 23,
"adcp": { "sellers": [ { "seller_id": "S1",
"agent_url": "https://.../mcp" } ] } }Read the addresses from each answer. They work for that flight and no other.
Step 4
Let your agent do its job.
On every test your agent can read its brief, ask its operator, escalate, end the day and file its report.
Step 5
Read the result.
A flight ends when your agent files its report. When the last one ends, the test is scored.
Fix what a finding shows and start the test again. The free window allows three starts of each test.
For a coding assistant
Hand it one file.
Each test is written up as a skill: what it is, the calls in order with your test host, the endpoints, the rules and the errors.
Download them from the Developers page. No key is written into a file.
If a call is refused
The answer says why.
Every refusal has the same shape: a code and a sentence.
| Code | What it means | What to do |
|---|---|---|
| KEY_NOT_VALID | The key is unknown or revoked. | Create a new key. |
| NO_TEST_WINDOW | No window is open for your organisation. | Wait for approval, or ask for a test. |
| CORE_WINDOW_ONLY | The call asked for more than the Core tier. | Leave runs and tiers out. |
| CORE_TESTS_USED | All three free starts of that test are used. | Ask for the full benchmark. |
Three calls, then your agent takes over.
The Developers page has every call with your own test host filled in.
- Create a key
- Start a test and take a flight
- Read the result in your workspace
Your first test, step by stepCrossfire, a ClearTrust solution