# Welcome > B55 turns a candidate's real development work into an evidence-backed screening report inside the hiring product you already run. Source: https://docs.b55.online/ B55 is an API (and a console) for hiring developers. You create a **job**, describe the work in plain words, and get **one apply link**. Every candidate opens the same link, signs in with GitHub, consents, and runs one command. B55 checks their git history and AI coding sessions and gives you a report per candidate: what is checked, what is only self-reported, how well the work fits the role, and what to ask in the interview. Candidates are ranked by evidence, never by a single score. > **This is the phase 1 sandbox.** Everything runs on your machine. The API is served by the console at `http://localhost:3100/api`, keys start with `b55_test_`, and candidates are eight fictional developers scored with the real scoring code. Nothing is hosted and no real candidate is scanned. Pages say **Sandbox** for what works today and **Production plan** for what is designed but not built. ## How it works ```txt Account ── Jobs ── Candidates ── Reports Your product ──POST /v0/jobs──▶ B55 ──apply_url──▶ every candidate (one link per job) Your product ──POST /v0/jobs/{job}/candidates──▶ (optional: add people by email) Candidate: signs in with GitHub, consents, runs pnpm b55 scan --candidate cand_… --demo (sandbox) ──── signed scan ────▶ B55 builds the report Your product ◀── report.ready webhook Your product ──GET /v0/jobs/{job}/candidates──▶ ranked: verified → role fit → confidence ``` 1. **Describe the role.** `POST /v0/roles/suggest` turns the recruiter's words into a catalog role, a seniority and must / nice skills, and says which words led to each choice. 2. **Create a job** with that role. It comes with one `apply_url`. Platforms tag each job with `client_id` to keep their customers apart. 3. **Send the link** to everyone, or add people by email. 4. **Read the ranked list** and each candidate's report when the `report.ready` event arrives. ## Where to go next - [Quickstart](/quickstart): a job, a candidate and a report in a few lines of curl, TypeScript or Python. - [For founders](/for-founders) and [For recruiters](/for-recruiters): what B55 tells you and how far to trust it, in plain words. - [Core concepts](/concepts): jobs, candidates, reports, keys and idempotency. - [Reports](/reports): every field, and what B55 can and cannot prove. - [API reference](/api-reference): every endpoint, with "Try it" against your local sandbox. - [Docs for AI agents](/ai-docs): `llms.txt`, and a Markdown version of every page. --- # Quickstart > Create a job from a plain-words description, add a candidate and read the ranked report, in curl, TypeScript or Python against the local sandbox. Source: https://docs.b55.online/quickstart ## 1. Start the sandbox and get a key ```bash pnpm dev:console ``` Open [localhost:3100/api-keys](http://localhost:3100/api-keys) and copy your sandbox key. It looks like `b55_test_` followed by 24 letters and digits. Then put it in your shell: ```bash export B55_API_KEY=b55_test_your_key_here ``` ## 2. Create a job and add a candidate Describe the role in plain words, let B55 suggest the catalog role, create the job, and add one candidate by email. The job's `apply_url` is the one link every candidate gets. ```bash tab="curl" API=http://localhost:3100/api/v0; AUTH="Authorization: Bearer $B55_API_KEY" ROLE=$(curl -s -X POST $API/roles/suggest -H "$AUTH" -H 'content-type: application/json' \ -d '{"description":"Senior React developer for our dashboard. Strong TypeScript."}' | jq -c '{base: .role, seniority, must}') JOB=$(curl -s -X POST $API/jobs -H "$AUTH" -H 'content-type: application/json' \ -d "{\"title\":\"Senior React developer\",\"role\":$ROLE,\"client_id\":\"tenant-42:req-7\"}" | jq -r .id) CAND=$(curl -s -X POST $API/jobs/$JOB/candidates -H "$AUTH" -H 'content-type: application/json' \ -d '{"email":"maya-frontend@example.com"}' | jq -r .id) echo $JOB $CAND ``` ```ts tab="TypeScript" // quickstart.mjs (Node 18+). Not on npm yet: npm i b55@file:/packages/b55-sdk-ts import { B55 } from 'b55'; const b55 = new B55({ apiKey: process.env.B55_API_KEY, baseUrl: 'http://localhost:3100/api' }); const s = await b55.roles.suggest({ description: 'Senior React developer for our dashboard. Strong TypeScript.' }); const job = await b55.jobs.create({ title: 'Senior React developer', role: { base: s.role, seniority: s.seniority, must: s.must }, client_id: 'tenant-42:req-7' }); const candidate = await b55.candidates.create(job.id, { email: 'maya-frontend@example.com' }); console.log(job.apply_url, candidate.id, candidate.status); ``` ```python tab="Python" # quickstart.py (Python 3.9+, no dependencies). Not on PyPI yet: pip install /packages/b55-sdk-py import os from b55 import B55 client = B55(api_key=os.environ["B55_API_KEY"], base_url="http://localhost:3100/api") s = client.roles.suggest("Senior React developer for our dashboard. Strong TypeScript.") job = client.jobs.create(title="Senior React developer", role={"base": s.role, "seniority": s.seniority, "must": s.must}, client_id="tenant-42:req-7") candidate = client.candidates.create(job.id, email="maya-frontend@example.com") print(job.apply_url, candidate.id, candidate.status) ``` The curl tab needs [`jq`](https://jqlang.org). The SDKs are **not published yet**, so `npm i b55` and `pip install b55` do not work today. Install them from this repo instead: - TypeScript: build it once with `pnpm --filter "@perfstaq/b55-sdk..." build`, then run `npm i b55@file:/packages/b55-sdk-ts` in your project (the `b55@` part makes `import ... from 'b55'` work). - Python: `pip install /packages/b55-sdk-py`, or skip installing and set `PYTHONPATH=/packages/b55-sdk-py/src`. `` is the absolute path of your checkout. Both SDKs default to `https://api.b55.ai`, the production plan; for the sandbox pass `baseUrl` / `base_url` as above, or set `B55_BASE_URL=http://localhost:3100/api`. ## 3. Play the candidate In production the candidate opens the job's `apply_url`, signs in with GitHub, consents and runs one command. In the sandbox you have three ways: - **The apply page:** open `apply_url` in your browser, pick a fictional developer as the GitHub sign-in, consent, then either run the command it shows or press **Simulate scan**. - **The real CLI:** after consenting, run the command from the repo root. It shows exactly what it would send and asks first: `pnpm b55 scan --candidate cand_… --demo` (sample data, so the report is honestly `self-reported`). - **Advance:** move the candidate one step at a time with the sandbox-only endpoint: ```bash for step in 1 2 3; do curl -s -X POST $API/candidates/$CAND/advance -H "$AUTH" | jq -r .status; done # opened, consented, ready ``` ## 4. Read the ranked list and the report ```bash curl -s "$API/jobs/$JOB/candidates?sort=ranked" -H "$AUTH" | jq '.data[] | {id, status, verdict, relevance, confidence}' RPT=$(curl -s $API/candidates/$CAND -H "$AUTH" | jq -r .report_id) curl -s $API/reports/$RPT -H "$AUTH" | jq '{verdict, reason, confidence, interview_questions}' ``` With the SDK, continuing the step 2 file: ```ts tab="TypeScript" for (let i = 0; i < 3; i++) console.log((await b55.candidates.advance(candidate.id)).status); // opened, consented, ready const ranked = await b55.candidates.list(job.id); const { report_id } = ranked.data[0]; if (report_id) { const report = await b55.reports.get(report_id); console.log(report.verdict, report.reason, report.interview_questions); } ``` ```python tab="Python" for _ in range(3): print(client.candidates.advance(candidate.id).status) # opened, consented, ready ranked = client.candidates.list(job.id) report = client.reports.get(ranked.data[0].report_id) print(report.verdict, report.reason, report.interview_questions) ``` `candidates.advance` is sandbox only; in production the candidate's own steps move them along. The email's local part picks the fictional developer when they "sign in": `maya-frontend@…` gets a verified report, `nia-new@…` gets `insufficient-evidence`. See [Candidates](/candidates#sandbox-candidates) for all eight. ## Copy for Claude or Cursor Paste this into your coding agent to have it wire B55 into your product. ```txt title="Prompt for Claude Code / Cursor" Integrate the B55 developer-screening API into this codebase. Docs (Markdown, read these first): - http://localhost:3200/llms.txt - http://localhost:3200/quickstart.md - http://localhost:3200/jobs.md - http://localhost:3200/candidates.md - http://localhost:3200/reports.md - http://localhost:3200/webhooks.md OpenAPI spec: http://localhost:3200/openapi.json Facts: - Base URL: process.env.B55_API_URL, default http://localhost:3100/api (sandbox). Paths start with /v0. - Auth: header "Authorization: Bearer ". Sandbox keys start with b55_test_. Never hard-code the key. - Turn a job description into a role: POST /v0/roles/suggest {description}. Show the recruiter the reasons and let them edit. - Create one job per opening: POST /v0/jobs {title, description, role, client_id}. role is a role id from GET /v0/roles, or {base, seniority, must, nice, ai_usage}. Put our customer and requisition id in client_id: repeating the call returns the same job. - Share job.apply_url with every candidate, or add people: POST /v0/jobs/{job_id}/candidates {email, client_id}. - List candidates ranked (verified first, then role fit, then confidence): GET /v0/jobs/{job_id}/candidates. There is no single score; never invent one. - When a candidate is "ready" or "insufficient_evidence", fetch GET /v0/reports/{report_id}. Show verdict, reason, confidence and interview_questions. Label assessment numbers as self-reported. - Errors are JSON {name, message, code, docs}; branch on code, not on message. Write the integration, a small typed client, and a test that runs against the sandbox. ``` ```txt title="Prompt for an agent that only needs to call the API" You can screen developer candidates with the B55 API (sandbox at http://localhost:3100/api, header Authorization: Bearer $B55_API_KEY). 1. POST /v0/roles/suggest {"description": ""}; then POST /v0/jobs {"title": "", "role": {"base": <role>, "seniority": <seniority>, "must": <must>}}. Keep job.id and share job.apply_url. 2. To add someone directly: POST /v0/jobs/<job>/candidates {"email": "<candidate email>"}. 3. GET /v0/jobs/<job>/candidates for the ranked list; for a candidate with report_id, GET /v0/reports/<report_id>. Report the verdict and reason in plain words, say which numbers are self-reported, and list the interview questions. Docs: http://localhost:3200/llms-full.txt ``` --- # For founders > What B55 tells you about a developer, how far to trust it, and how to use it without fooling yourself. No API needed. Source: https://docs.b55.online/for-founders You are hiring engineers and you do not have time to read every GitHub profile. B55 looks at a candidate's real work (their git history and how they use AI coding tools) and tells you what it found, what it could check, and what it could not. It does not tell you who to hire. ## What you get for each candidate - **A verdict about the evidence, not the person.** `Verified` means B55 checked a sample of their public commits on GitHub and they are really theirs. `Partially verified` means some were checked. `Self-reported` means nothing could be checked (often because their work is private). `Not enough evidence` means there was too little history to say anything. None of these is a grade. - **Role fit:** how much of their work is in the languages and frameworks the job needs, and which must-haves are missing. - **Confidence:** how much weight the report can carry. - **Gaps and interview questions:** what the evidence does not show, and 3 to 5 questions aimed right at those gaps. Candidates are listed with checked work first, then role fit, then confidence. There is no single 0–100 score, on purpose: most of what a git history says is self-reported, and adding claims into one number would make them look like facts. ## When to trust it | You see | What it means | What to do | |---|---|---| | Verified, strong fit, high confidence | Their public work is theirs and it is the work you need. | Skip the screening call; go to a technical interview with the suggested questions. | | Partially verified or self-reported | Probably lots of private work. Common for employed developers. | Not a red flag. Ask them to walk you through one private project on a screen share. | | Not enough evidence | New account or very little history. | Not a low score. Use a normal interview or a take-home. | | Weak role fit | Their visible work is in other languages. | Ask the "you need X but none showed up" question; people learn. | What B55 never checks: that the person on your call is the person who ran the scan, and anything about soft skills, product sense or seniority beyond years of history. The questions are there so you can check those yourself. ## The 10-minute setup 1. Open the console, **Jobs → New job**, and describe the role the way you would to a friend: "Senior backend engineer to build our payment APIs in Go on Postgres. Python is a plus." 2. B55 suggests a role, a seniority and must / nice skills, and shows which of your words led to each. Change anything that is wrong. 3. Create the job and copy its **one apply link**. Put it in your job post, your emails and your LinkedIn post. Everyone gets the same link. 4. Watch the candidate list fill in. Open anyone with a report; **Download PDF** if you want to share it. Or ask **B55 AI** in plain words: "Create a job for a senior Go engineer", "Rank candidates for the Go job", "Explain Candidate 2". It proposes; nothing changes until you press Confirm. ## Writing a description that gets a good suggestion - Say what they will build and in what: "payment APIs in Go on Postgres" beats "a rockstar engineer". - Say the level in the title or as years: "Senior …", "5+ years". - Mark the optional things: "Python is a plus", "nice to have: Kafka". Everything else is read as a must. - Use the real names of tools: "React Native", "Flutter", "dbt". Vague words ("fast-paced", "go-getter") are ignored, and words like "go" or "react" in normal English are not read as languages. - If the suggestion says it is **weak**, your description had skills but no kind of work. Pick the role yourself. ## Explaining it to candidates Candidates see exactly what is shared before they agree, and the command shows it again before sending. Their code, file names, commit messages and AI chats never leave their laptop. If you use B55 AI, their report (never their code) may go to OpenAI with names and contact details replaced by placeholders. See [Privacy](/privacy). A line you can paste into your job post: "We use B55 to look at real work instead of CVs. It takes about two minutes, shows you exactly what it shares, and never reads your code." ## Using the interview questions The questions are built from the gaps: a missing must-have, private work that could not be checked, heavy AI use. Ask them as written, then follow up on the details. A candidate who can walk you through a real change, and tell you what broke, is usually telling the truth about the rest. --- # For recruiters > How to set up a job, send one link, read the ranked list and the report, explain B55 to candidates, and use the interview questions. Plain words, no code. Source: https://docs.b55.online/for-recruiters B55 gives you an evidence-based view of each developer who applies, inside the console (or inside your ATS if it integrates B55). You do not need to read code to use it. ## Set up a job 1. **Jobs → New job.** Paste the hiring manager's description, or write two sentences about the work. 2. Check the suggestion. Each choice shows the words it came from ("golang" → Go, "6+ years" → senior). Fix anything wrong: the role, the level, the must-haves, the nice-to-haves. 3. **Create job.** You get one apply link. **Tips for a good suggestion:** name the stack ("React and TypeScript"), the kind of work ("mobile app", "data pipelines"), the level ("senior", "5+ years"), and mark optional skills ("nice to have", "a plus", "familiarity with"). If the suggestion is marked **weak**, pick the role from the list yourself. ## Send the link - Use the **same link** for everyone: job board, email, LinkedIn, your ATS. - Or paste a list of emails into **Add by email**. People already on the job are skipped. (**Sandbox:** no email is sent.) - Candidates sign in with GitHub, read what is shared, agree, and run one command. It takes a couple of minutes. ## Read the list The list is ordered by: 1. **Verdict:** checked work first (verified, then partially verified, then self-reported, then not enough evidence). 2. **Role fit:** strong, partial, weak. 3. **Confidence:** high, medium, low. There is no single score. Two candidates next to each other are in that order for a reason you can read in their verdict and fit columns. People still in progress (invited, opened, consented) are listed after everyone with a report and have no rank. Statuses you will see: **Invited** (added by email, not opened yet), **Opened** (signed in), **Consented** (agreed, about to run the command), **Report ready**, **Not enough evidence** (too little history; not a low score). ## Read a report - **Verdict and reason:** one sentence on what could be checked. Read it first. - **Checked vs self-reported:** identity and the commit sample are checked; languages, years, tests and AI use come from the candidate's laptop and are claims. The report labels each. - **Role fit:** what matched the job's must-haves and what is missing. - **Gaps:** what the evidence does not show. - **Interview questions:** hand these to the interviewer. ## Explaining B55 to candidates - "It looks at your git history on your own machine and shares counts and shares, never your code, file names, commit messages or AI chats." - "You see exactly what is sent before it is sent, and you can say no." - "If your work is mostly private, that is normal. The report says it could not be checked; it does not count against you." - If your team uses B55 AI: "Our assistant may send parts of your report to OpenAI to answer our questions. Your name, email and GitHub username are replaced with placeholders first, and your code is never sent." ## Using B55 AI On the **B55 AI** page you can ask in plain words: "Create a job for a senior React developer", "Add these candidates to the React job: …" (or attach a CSV), "How is the Go job going?", "Rank candidates for the React job", "Explain Candidate 3". It never changes anything by itself: creating a job, adding people or closing a job shows a card you confirm. Under each answer, **What was sent** shows exactly what went to the AI model, with names replaced. Without an OpenAI key the same page runs on rules and sends nothing. See [Privacy](/privacy#b55-ai). ## Using the interview questions - Ask the questions as written; they target this candidate's gaps. - Follow up with "what broke?" and "how did you test it?". Real work has real stories. - For self-reported or partially verified candidates, ask for a screen share of one private project. - Never reject anyone on the report alone. A person decides. --- # Core concepts > Account, jobs, candidates and reports; one apply link per job; sandbox and live keys; idempotency with client_id. Source: https://docs.b55.online/concepts ## The resource model ```txt Account you: a company hiring, or an HR / recruitment product calling the API └─ Job one opening: the recruiter's description, a catalog role, one apply link └─ Candidate one person for that job, from the apply link or added by email └─ Report evidence, verdict, confidence, role fit and interview questions ``` - **Account.** In the sandbox there is no sign-up: your browser's sandbox key is enough. - **Job.** The work in the recruiter's words, the role it maps to (`role.base`, `seniority`, `must`, `nice`), open or closed, and **one `apply_url`** that every candidate gets. See [Jobs](/jobs). - **Candidate.** One person on one job. They arrive through the apply link (signing in with GitHub) or you add them by email. They move `invited → opened → consented → scanned → ready | insufficient_evidence`. See [Candidates](/candidates). - **Report.** Built when the candidate's scan lands. It keeps identity, attribution and assessment apart, and says which numbers are checked and which are self-reported. See [Reports](/reports). **HR platforms:** there are no separate tenants. Tag each job with your own customer and requisition id in `client_id` (for example `tenant-42:req-981`) and filter with `GET /v0/jobs?client_id=…`. **Production plan:** keys scoped to a `client_id` prefix, so you can hand one to each customer. ## Keys Send the key on every request: ```http Authorization: Bearer b55_test_Ab3dEf6hIj9kLm2nOp5qRs8t ``` | Key | Prefix | Status | |---|---|---| | Sandbox key | `b55_test_` | **Sandbox.** Made in your browser on the console's [API keys](http://localhost:3100/api-keys) page. Any `b55_test_` key sees all local data, and data resets when the console restarts. | | Live key | `b55_live_` | **Live.** Created in the hosted console, shown once. Manages every job in your account. Rejected by the local sandbox with `401 live_keys_unavailable`. See [Authentication](/authentication). | Two routes take **no key**, because the candidate calls them, never your backend: `POST /v0/jobs/{job_id}/apply` (the apply page) and `POST /v0/candidates/{candidate_id}/scan` (the CLI). The SDKs do not wrap them. ## Idempotency with `client_id` Every create takes an optional `client_id`: your own id for the thing. - Repeating `POST /v0/jobs` with a `client_id` you already used (anywhere in the account) returns the existing job unchanged. - Repeating `POST /v0/jobs/{job_id}/candidates` with a `client_id`, **or an email**, already on that job returns the existing candidate. - Applying twice through the link with the same GitHub account is the same candidate. - `client_id` must be a string; anything else is `422 invalid_client_id`. An empty string counts as no `client_id`. So it is safe to retry a create after a timeout. ## Statuses and verdicts Candidate statuses and event names are snake_case (`insufficient_evidence`, `report.ready`). Report verdicts keep their kebab-case values (`insufficient-evidence`, `partially-verified`). A candidate has both: `status: "insufficient_evidence"` and `verdict: "insufficient-evidence"` say the same thing from two angles. ## Sandbox and production | | Sandbox | Live | |---|---|---| | Base URL | `http://localhost:3100/api` (the console) | The hosted console's `/api` (a custom domain is not set up yet; `https://api.b55.ai` is the SDK default for later) | | Keys | `b55_test_…`, made in the browser | `b55_live_…`, from a signed-in console | | Candidates | 8 fictional developers; the apply page lets you pick one as the "GitHub sign-in" | Real candidates, real GitHub sign-in (live jobs) | | The scan | `pnpm b55 scan --candidate cand_… --demo` from the repo, or **Simulate scan** | `npx -y github:Perfstaq/b55-cli scan --candidate b55ct_…`, a signed, single-use token valid for 2 hours | | Webhooks | Signed deliveries shown in the playground's inspector; nothing is sent | Delivered to your endpoints, retried for 24 hours (live jobs) | | Data | In memory; gone on restart | Postgres, retention per account | ## Responses - Objects carry an `object` field: `job`, `candidate`, `report`, `event`, `role_suggestion` or `list`. - Lists are `{ "object": "list", "data": [...] }`. Jobs come newest first; candidates ranked (or `sort=newest|oldest`); events oldest first. There is no pagination in the sandbox (production plan: `limit` and `page_token`; the ranking already breaks ties by id so pages stay stable). - Ids have a prefix: `job_`, `cand_`, `rpt_`, `evt_`. - Times are ISO 8601 UTC strings. - Errors are `{ name, message, code, docs }`. See [Errors](/errors). --- # Roles > The 30 roles you can screen for, how strong the evidence is for each, how B55 suggests one from a job description, and how to tune it. Source: https://docs.b55.online/roles A role tells B55 what to look for in the candidate's history. Every job has one: pick it from the catalog below, or describe the work and let `POST /v0/roles/suggest` propose it (see [Jobs](/jobs#suggest-a-role-from-the-description)). A role outside the catalog is rejected with `422 role_not_supported`; B55 never makes up a report for a role it cannot assess. The table is generated from the same catalog the API serves (`GET /v0/roles`), so it is always current. **Engineering (`dev` pack)** | Role ID | Name | Evidence | Languages | Frameworks | Notes | |---|---|---|---|---|---| | `frontend` | Frontend engineer | strong | TypeScript, JavaScript, CSS, HTML | React, Vue, Svelte | UI work in TypeScript or JavaScript with React, Vue or Svelte. | | `backend` | Backend engineer | strong | Go, Java, Python, JavaScript, TypeScript, Ruby, PHP, C#, Elixir, SQL, Kotlin, Scala | — | Services, APIs and data access. | | `fullstack` | Full-stack engineer | strong | TypeScript, JavaScript, Python, Go, Ruby, PHP, SQL, CSS, HTML | React, Vue, Svelte | Frontend and backend in the same period. | | `mobile` | Mobile engineer | strong | Swift, Kotlin, Objective-C, Dart | Flutter | iOS, Android or Flutter apps. | | `systems` | Systems engineer | strong | Rust, C, C++, Zig, Go | — | Low-level, performance-sensitive code. | | `ml-ai-engineer` | ML / AI engineer | medium | Python | Jupyter | Python and notebooks. Cannot tell model training from scripting. | | `data-engineer` | Data engineer | medium | Python, SQL, Scala | — | Pipelines and SQL. | | `qa-sdet` | QA / SDET | medium | TypeScript, JavaScript, Python, Java | — | Test-heavy work. | | `web3` | Web3 engineer | strong | Solidity | — | Smart contracts. | | `devops-sre` | DevOps / SRE | weak | Shell | — | Weak until Dockerfile, Terraform and YAML are detected. | | `android` | Android engineer | strong | Kotlin, Java | — | Native Android apps in Kotlin or Java. | | `ios` | iOS engineer | strong | Swift, Objective-C | — | Native iOS apps in Swift or Objective-C. | | `react-native` | React Native engineer | medium | TypeScript, JavaScript | React | Cross-platform apps in React Native. The scan sees React Native code as React: it cannot tell them apart. | | `flutter` | Flutter engineer | strong | Dart | Flutter | Cross-platform apps in Dart and Flutter. | | `game` | Game developer | weak | C#, C++, Lua | — | Game code in C#, C++ or Lua. Engines (Unity, Unreal, Godot) and assets are not detected. | | `embedded` | Embedded engineer | medium | C, C++, Rust | — | Firmware and device code. Cannot tell firmware from other C, C++ or Rust work. | | `platform` | Platform engineer | weak | Go, Shell, Python | — | Internal platforms and tooling. Weak until Terraform, Kubernetes and YAML are detected. | | `security` | Security engineer | weak | Python, Go, C, Rust | — | Application or product security. A git history shows languages, not security skill: use the interview. | | `data-scientist` | Data scientist | medium | Python, SQL | Jupyter | Analysis and modelling in Python, notebooks and SQL. R is not detected yet. | | `analytics-engineer` | Analytics engineer | medium | SQL, Python | — | SQL models and metrics. dbt projects count as SQL; BI tools are not detected. | | `mlops` | MLOps engineer | weak | Python, Go, Shell | — | Model serving and ML infrastructure. Weak until infrastructure files are detected. | | `database` | Database engineer | weak | SQL, Go, C, Rust | — | Schemas, queries and database internals. SQL inside ORMs and migrations tools is often not counted. | **AI-native builders (`ai-builder` pack)** | Role ID | Name | Evidence | Languages | Frameworks | Notes | |---|---|---|---|---|---| | `ai-engineer` | AI engineer | strong | Python, TypeScript | — | Builds with and on top of AI agents. | | `founding-engineer` | Founding engineer | strong | TypeScript, Python, Go, SQL | React, Vue, Svelte | Breadth, consistency and shipping speed. | | `forward-deployed` | Forward-deployed engineer | medium | TypeScript, Python, SQL | — | Many short projects and a broad stack. | | `design-engineer` | Design engineer | medium | TypeScript, CSS, HTML | React, Vue, Svelte | Frontend with heavy CSS, often AI-assisted. | | `technical-pm` | Technical PM | medium | TypeScript, Python | — | Can build with AI. Says nothing about PM skill. | | `ai-pm` | AI PM | medium | TypeScript, Python | — | Can build with AI. Says nothing about PM skill. | | `solutions-engineer` | Solutions engineer | weak | TypeScript, Python, Go, Java | — | Many small integrations in mixed languages. | | `devrel` | Developer advocate | weak | TypeScript, JavaScript, Python | — | Sample apps and demos in many small repos. Says nothing about writing or speaking. | **Evidence strength** says how much the V1 signals can tell you for that role: - **strong**: the role shows up clearly in commit history (languages, frameworks, the mix of work). - **medium**: the signals are real but indirect, e.g. Python and notebooks cannot tell model training from scripting. - **weak**: treat the report as a starting point for the interview, not a screen. Not in V1: sales, support, finance, design without code and recruiting. They wait for a work-sample evidence pack. Some roles look alike in a git history. iOS, Android and Flutter work is easy to tell apart (Swift, Kotlin, Dart); React Native code is scanned as React, so `react-native` is medium. Security, platform, MLOps, database, game and developer-advocate work is mostly invisible in commit counts, so those roles are weak: use the report to choose interview topics, not to screen. ## Send a role A job's `role` is a role id in its simple form: ```json { "title": "Frontend engineer", "role": "frontend" } ``` To match the job description, send an object with `base` and any of the optional fields (this is what a suggestion gives you): ```json { "title": "Senior backend engineer", "role": { "base": "backend", "seniority": "senior", "must": ["Go", "SQL"], "nice": ["Rust"], "ai_usage": "expected" } } ``` | Field | Values | Default | What it changes | |---|---|---|---| | `base` | a role id from the catalog | required | Which languages and frameworks count as relevant. | | `seniority` | `intern`, `junior`, `mid`, `senior`, `staff` | `mid` | For `senior` and `staff`, a gap is flagged when no language has 4 or more years of history. It never filters candidates. | | `must` | array of language or framework names | `[]` | Each one not found becomes a gap and an interview question. Missing any caps relevance at `partial`; matching none makes it `weak`. | | `nice` | array of names | `[]` | Reported in `role_fit.matched_nice`. Never a gap. | | `ai_usage` | `expected`, `neutral`, `discouraged` | `neutral` | With `expected`, no AI coding sessions is a gap and adds a question. | Names in `must` and `nice` match languages (`TypeScript`, `Go`, `SQL`) and frameworks (`React`, `Flutter`, `Jupyter`), case-insensitively. A language counts only when it is at least 3% of the candidate's added lines. Bad input is a `422`: `invalid_role` (not a string or an object with `base`, or `must`/`nice` not arrays of strings), `role_not_supported`, `invalid_seniority` or `invalid_ai_usage`. See [Errors](/errors). ## List roles ```bash curl -s http://localhost:3100/api/v0/roles -H "Authorization: Bearer $B55_API_KEY" | jq '.data[] | {id, pack, strength}' ``` --- # Authentication > Live API keys (b55_live_), sandbox keys (b55_test_), and the rule that the sandbox only ever holds fictional people. Source: https://docs.b55.online/authentication Send a key on every request: ```http Authorization: Bearer b55_live_... ``` ## Live keys | | | |---|---| | Prefix | `b55_live_` | | Where you get one | Sign in to the hosted console, open **API keys**, create a key. | | Shown | **Once**, when you create it. B55 stores only a hash, so it cannot show it again. Copy it into your secret store straight away. | | Reach | Everything in your account: its jobs, candidates, reports and events. Never another account's. | | Revoking | Revoke it in the console. It stops working on the next request. Creating and revoking keys needs an owner or admin. | Keep live keys on your server. Never put one in a browser, a mobile app or a repository. If one leaks, revoke it and create a new one. A live key sent to a server that only runs the sandbox is `401 live_keys_unavailable`. A wrong or revoked key is `401 unauthorized`. See [Errors](/errors#401). ## Sandbox keys | | | |---|---| | Prefix | `b55_test_` | | Where you get one | The console's **API keys** page, in your browser. | | Data | Fictional only, in memory, and reset when the instance restarts. | ## The sandbox is fictional-only The sandbox exists so you can try the whole flow without a real person in it. It holds the eight fictional developers (see [Candidates](/candidates#sandbox-candidates)) and nothing else. - The hosted sandbox accepts only made-up email addresses at reserved test domains such as `example.com`. Anything else is `422 sandbox_fictional_only`. - It accepts only `--demo` scans (fictional history). A real scan is `422 sandbox_demo_only`. - A `--demo` scan sent to a real job is `422 demo_scan`. - Test keys never reach live data, and live keys never reach sandbox data. - There is no email, no webhook delivery to your server and no real GitHub check in the sandbox. Put real candidates through a live job with a live key. ## Two routes take no key The candidate calls these, never your backend: `POST /v0/jobs/{job_id}/apply` (the apply page) and `POST /v0/candidates/{candidate_id}/scan` (the CLI). In live mode the scan call carries a [candidate token](/candidates#candidate-tokens-and-the-cli-command) instead of an API key. The SDKs do not wrap either route. --- # Jobs > Describe the work, get a role suggestion with reasons, create the job and share its one apply link. Tag jobs with client_id per customer. Source: https://docs.b55.online/jobs A job is one opening. It holds the recruiter's description, the role B55 screens for, and **one apply link** that every candidate gets. Candidates and reports live inside the job. ## Suggest a role from the description `POST /v0/roles/suggest` ```bash curl -s -X POST http://localhost:3100/api/v0/roles/suggest \ -H "Authorization: Bearer $B55_API_KEY" -H 'content-type: application/json' \ -d '{"description":"Backend engineer to build payment APIs in golang on Postgres. 6+ years. Python is a plus."}' ``` ```json { "object": "role_suggestion", "role": "backend", "role_label": "Backend engineer", "seniority": "senior", "seniority_stated": true, "must": ["Go", "SQL"], "nice": ["Python", "Java", "JavaScript", "TypeScript"], "nice_from_catalog": ["Java", "JavaScript", "TypeScript"], "reasons": [ { "term": "Backend", "means": "Backend engineer", "kind": "role" }, { "term": "APIs", "means": "Backend engineer", "kind": "role" }, { "term": "golang", "means": "Go", "kind": "skill" }, { "term": "Postgres", "means": "SQL", "kind": "skill" }, { "term": "Python", "means": "Python", "kind": "skill" }, { "term": "6+ years", "means": "senior", "kind": "seniority" } ], "alternatives": [ { "id": "fullstack", "label": "Full-stack engineer", "terms": ["golang", "Postgres", "Python"] }, { "id": "founding-engineer", "label": "Founding engineer", "terms": ["golang", "Postgres", "Python"] } ], "weak": false, "source": "rules", "model": null } ``` - Every choice comes with `reasons`: the recruiter's own words and what each was read as. Show them, and let the recruiter change anything. - `weak: true` means no role word matched (the role was guessed from skills alone, or there is none). Ask the recruiter to pick. - `nice_from_catalog` are adjacent skills from the role, not things the recruiter wrote. - `source` is `rules` in the API. **Sandbox and production:** the public API is always rule-based. The console's own New-job form and B55 AI may use an AI model when the console is run with `OPENAI_API_KEY`, and then show "Suggested by gpt-6-luna"; only the description is sent, after emails, links and handles are replaced by placeholders, and the answer is checked against the catalog. See [Privacy](/privacy#b55-ai). ## Create a job `POST /v0/jobs` ```bash curl -s -X POST http://localhost:3100/api/v0/jobs \ -H "Authorization: Bearer $B55_API_KEY" -H 'content-type: application/json' \ -d '{"title":"Senior backend engineer","description":"Payment APIs in Go on Postgres.","company":"Acme", "role":{"base":"backend","seniority":"senior","must":["Go","SQL"],"nice":["Python"]},"client_id":"tenant-42:req-981"}' ``` ```json { "object": "job", "id": "job_000001", "client_id": "tenant-42:req-981", "title": "Senior backend engineer", "description": "Payment APIs in Go on Postgres.", "company": "Acme", "role": { "base": "backend", "seniority": "senior", "must": ["Go", "SQL"], "nice": ["Python"], "ai_usage": "neutral" }, "role_label": "Backend engineer", "status": "open", "apply_url": "http://localhost:3100/apply/job_000001", "counts": { "total": 0, "invited": 0, "opened": 0, "consented": 0, "scanned": 0, "ready": 0, "insufficient_evidence": 0 }, "created_at": "2026-11-24T12:47:36.309Z", "closed_at": null } ``` | Field | Type | Notes | |---|---|---| | `title` | string, required | 1 to 200 characters. | | `role` | role id or object, required | A role id (`"backend"`) or `{ base, seniority, must, nice, ai_usage }`. See [Roles](/roles). The job stores it with every default filled in. | | `description` | string, optional | The recruiter's words, up to 4000 characters. | | `company` | string, optional | Shown to candidates on the apply page. | | `client_id` | string, optional | Your id for this job. Creating again with the same `client_id` returns the existing job unchanged. | ## The apply link `apply_url` is the one link for this job: put it in the job post, your ATS or an email. On it the candidate sees the company, the role, exactly what is shared and what never leaves their laptop, signs in with GitHub, consents, and gets one command to run. **Sandbox:** the "GitHub sign-in" is a picker of the eight fictional developers. **Production plan:** real GitHub OAuth. You can also add people by email ([Candidates](/candidates#add-candidates-by-email)); they get the same link. ## List, get and close ```bash curl -s "http://localhost:3100/api/v0/jobs?status=open&client_id=tenant-42:req-981" -H "Authorization: Bearer $B55_API_KEY" # newest first curl -s http://localhost:3100/api/v0/jobs/job_000001 -H "Authorization: Bearer $B55_API_KEY" # with counts curl -s -X POST http://localhost:3100/api/v0/jobs/job_000001/close -H "Authorization: Bearer $B55_API_KEY" ``` A closed job takes no new candidates (`409 job_closed`), by email or through the link. Existing candidates and reports stay. Closing twice changes nothing. ## Platforms: one account, many customers Tag every job with your customer in `client_id` (for example `tenant-42:req-981`) and filter with `GET /v0/jobs?client_id=…`. **Sandbox:** any `b55_test_` key sees every job on your machine. **Production plan:** keys scoped to a `client_id` prefix, so each customer can get its own key. ## Events `GET /v0/jobs/{job_id}/events` lists the job's events oldest first, the order webhooks deliver them. See [Webhooks](/webhooks). --- # Candidates > People on a job, from the apply link or by email; their statuses; the ranked list (no single score); and the one command they run. Source: https://docs.b55.online/candidates A candidate is one person on one job. They arrive through the job's apply link, or you add them by email and they open the same link. Each candidate gets a report when their scan lands. ## Add candidates by email `POST /v0/jobs/{job_id}/candidates` ```bash curl -s -X POST http://localhost:3100/api/v0/jobs/job_000001/candidates \ -H "Authorization: Bearer $B55_API_KEY" -H 'content-type: application/json' \ -d '{"email":"maya-frontend@example.com","client_id":"application-1042"}' ``` ```json { "object": "candidate", "id": "cand_000002", "job_id": "job_000001", "client_id": "application-1042", "email": "maya-frontend@example.com", "github": null, "source": "email", "status": "invited", "command": "pnpm b55 scan --candidate cand_000002 --demo", "report_id": null, "verdict": null, "relevance": null, "confidence": null, "timeline": [{ "status": "invited", "at": "2026-11-24T12:47:36.400Z" }], "created_at": "2026-11-24T12:47:36.400Z", "updated_at": "2026-11-24T12:47:36.400Z" } ``` - The same email, or the same `client_id`, on the same job returns the existing candidate. **Sandbox:** no email is sent. **Production plan:** B55 emails them the job's apply link. - `github` stays `null` until the candidate signs in. B55 never guesses a GitHub account from an email. - A closed job returns `409 job_closed`. ## Statuses | Status | Meaning | Event | |---|---|---| | `invited` | Added by email; has not opened the apply link yet. | `candidate.created` | | `opened` | Opened the apply link and signed in with GitHub. People who apply through the link start here. | `candidate.opened` (and `candidate.created` for link applicants) | | `consented` | Agreed to share. Waiting for them to run the command. | `candidate.consented` | | `scanned` | The scan landed; the report is being built (a moment). | `scan.received` | | `ready` | The report is ready. `verdict`, `relevance` and `confidence` are filled in. | `report.ready` | | `insufficient_evidence` | Too little history to assess. The report says so; **it is not a low score**. | `report.insufficient_evidence` | `ready` and `insufficient_evidence` are final. **Production plan:** `expired` (never finished) and withdrawal of consent (`consent.revoked`, the report is deleted). ## Ranking `GET /v0/jobs/{job_id}/candidates` returns the job's candidates ranked: 1. **Verdict** first: `verified`, then `partially-verified`, then `self-reported`, then `insufficient-evidence`. Checked work comes before claims. 2. Then **role fit**: `strong`, `partial`, `weak`, `not-assessed`. 3. Then **confidence**: `high`, `medium`, `low`. 4. Then newest first, then by id (so the order never changes between calls). Candidates without a report yet come after everyone with one. There is **no single overall score**, on purpose: self-reported numbers never rank anyone on their own. ```bash curl -s "http://localhost:3100/api/v0/jobs/job_000001/candidates?sort=ranked&status=ready&verdict=verified" -H "Authorization: Bearer $B55_API_KEY" ``` | Query | Values | |---|---| | `sort` | `ranked` (default), `newest`, `oldest` | | `status` | any status above | | `verdict` | `verified`, `partially-verified`, `self-reported`, `insufficient-evidence` | Anything else is `422 invalid_query`. `GET /v0/candidates/{candidate_id}` returns one candidate. ## The candidate's side On the apply page the candidate signs in, sees what is shared and what never is, and consents. The page then shows their one command: ```bash pnpm b55 scan --candidate cand_000002 --demo ``` - **Sandbox:** it runs the real CLI from this repo on sample data (`--demo`), shows in plain words exactly what it would send, and sends nothing unless they answer yes. To scan your own history instead, run `node <repo>/packages/cli/dist/index.js scan --candidate cand_… --sandbox-url http://localhost:3100/api` inside your project. The sandbox has no GitHub spot-check, so a real CLI scan is always `self-reported`. **Simulate scan** on the apply page plays the fictional developer instead. - **Live:** one `npx` command with a signed, single-use token instead of the candidate id (next section). These two candidate-facing calls take no API key: `POST /v0/jobs/{job_id}/apply` (the apply page) and `POST /v0/candidates/{candidate_id}/scan` (the CLI). A scan before consent is `409 consent_required`. They are not in the SDKs: your backend never calls them. ## Candidate tokens and the CLI command In a live job the apply page, after the candidate has consented, shows one command: ```bash npx -y github:Perfstaq/b55-cli scan --candidate b55ct_… ``` The `b55ct_…` value is a **candidate token**. It is what lets the CLI upload one scan, so treat it like a password: | | | |---|---| | Single use | The first accepted upload spends it. A second try is refused. | | Expires | 2 hours after it was issued. The candidate can generate a new one from the apply page in one click. | | GitHub-bound | It belongs to the GitHub account the candidate signed in with, and the scan must be signed for exactly this command. Someone else cannot use it. | | Scoped | It can upload one scan for one candidate on one job. It cannot read anything. | The command installs the CLI from the public `Perfstaq/b55-cli` repository with `npx`, so the candidate needs Node and git. The CLI shows what it is about to send and sends nothing unless they answer yes. A token that is malformed, expired, used or for a different candidate is refused with a `token_*` code, and the fix is always to copy the current command from the apply page ([Errors](/errors#token_malformed)). Your backend never sees or sends candidate tokens. ## Advance (sandbox only) `POST /v0/candidates/{candidate_id}/advance` plays the candidate's next step: `invited → opened → consented → ready | insufficient_evidence`. A finished candidate returns `409 candidate_finished`. This endpoint does not exist in production. ## Sandbox candidates The sandbox has eight fictional developers. On the apply page you pick one as the GitHub sign-in. For people added by email, the email's local part picks one when they sign in (`omar-backend@anything.com` gets that developer; any other email picks one deterministically). | Developer | Evidence | Verdict you will see | |---|---|---| | `maya-frontend` | Signed commits, TypeScript and React | `verified` | | `omar-backend` | GitHub-verified, Go and SQL | `verified` | | `lin-mobile` | GitHub-verified, Swift, Kotlin and Dart | `verified` | | `ravi-systems` | Signed commits, Rust and C++ | `verified` | | `ada-agents` | GitHub-verified, Python with heavy AI-agent use | `verified` | | `sam-private` | Mostly private work, 4 of 12 sampled commits matched | `partially-verified` | | `kai-quiet` | No public commits matched, inactive | `self-reported` | | `nia-new` | 8 commits on a new account | `insufficient-evidence` | Confidence and role fit depend on the job's role. See [Reports](/reports). --- # Reports > Every field of a report, how the verdict and confidence are decided, and what B55 can and cannot prove. Source: https://docs.b55.online/reports `GET /v0/reports/{report_id}` returns the report once the candidate is `ready` or `insufficient_evidence`. The candidate's `report_id` tells you the id, and the candidate already carries `verdict`, `relevance` and `confidence` for lists. ## What B55 can prove, in plain words A report is evidence, not a judgement. Read it with these limits in mind: - **Checked:** the GitHub account exists and how old it is; that a random sample of the candidate's public commits really exist on GitHub under that account; how many of them are cryptographically signed. - **Self-reported:** everything about skill (languages, years, test share, AI tool use). It is computed on the candidate's own laptop. A signature makes it tamper-evident after the scan, not true. - **Not checkable:** work in private repos. Most employed developers do most of their work there, so many honest candidates land on `self-reported`. - **Not checked at all:** that the person in your interview is the person who ran the scan. Identity means "controls this GitHub account", nothing more. So: - Thin or unverifiable evidence gives `insufficient-evidence`. **It is never a low score.** - There is **no overall score**, and you should never rank candidates against each other on self-reported numbers. B55's own ranking (`GET /v0/jobs/{job_id}/candidates`) orders by verdict first, then role fit, then confidence; see [Candidates](/candidates#ranking). - B55 never auto-rejects anyone. A human decides; the interview questions are there to test the evidence. ## Example ```json { "object": "report", "id": "rpt_000002", "role": "frontend", "seniority": "mid", "verdict": "verified", "reason": "12 of 12 sampled public commits matched on GitHub.", "confidence": "high", "identity": { "github": "maya-frontend", "account_age_days": 3554, "signed_share": 0.83, "provenance": "checked" }, "attribution": { "sampled": 12, "matched": 12, "evidence_coverage": 0.9, "flags": [], "provenance": "checked" }, "assessment": { "provenance": "self-reported", "languages": [ { "language": "TypeScript", "framework": "React", "share": 68, "years": 8.6 }, { "language": "CSS", "share": 14, "years": 8.6 }, { "language": "HTML", "share": 6, "years": 8.4 }, { "language": "Python", "share": 4, "years": 3.4 } ], "test_share": 21, "ai_survival": 88, "ai_sessions": 142, "ai_tools": ["Claude Code", "Cursor"] }, "role_fit": { "relevance": "strong", "relevant_share": 88, "matched_must": [], "missing_must": [], "matched_nice": [] }, "working_with_ai": { "provenance": "self-reported", "status": "analysed", "summary": "Across 142 AI sessions they usually let the agent read the code before it edits, run tests or builds in most sessions and often step in to correct or stop the agent.", "sessions": 142, "agents": [{ "agent": "Claude Code", "sessions": 92 }, { "agent": "Cursor", "sessions": 50 }], "model_families": ["claude-opus", "claude-sonnet", "cursor"], "mcp_categories": [{ "category": "browser", "calls": 120 }, { "category": "docs", "calls": 45 }], "metrics": [ { "id": "checks_after_editing", "group": "verification", "label": "Runs tests or builds", "kind": "fraction", "value": 0.81, "numerator": 104, "denominator": 128, "sample": 128, "confidence": "enough", "definition": "Share of sessions with agent edits in which a test, build or lint command ran after the first edit. Commands are classified on the laptop and never sent.", "sentence": "Ran tests, a build or a linter after editing in 104 of 128 sessions." }, { "id": "session_minutes", "group": "depth", "label": "Session length", "kind": "median", "value": 14, "numerator": null, "denominator": null, "sample": 142, "confidence": "enough", "definition": "Median active minutes per session: time between logged events, each gap capped at 15 minutes.", "sentence": "A typical session is 14 minutes of active work; long ones run 41 minutes." } ] }, "gaps": [], "interview_questions": [ "Walk me through a recent TypeScript change you shipped: what broke, and how did you test it?", "You ran 142 AI coding sessions. Tell me about a time you rejected or rewrote what the agent produced.", "What part of your recent work would you redo, and why?" ], "generated_at": "2026-11-24T12:47:36.645Z" } ``` The example shows two of the 13 entries in `working_with_ai.metrics`; a real report lists every metric (see [How they work with AI](#how-they-work-with-ai)). ## Fields | Field | Type | Meaning | |---|---|---| | `id` | string | `rpt_…` | | `role`, `seniority` | string | The role id and seniority of the job. | | `verdict` | enum | How much of the evidence could be checked. See below. | | `reason` | string | One plain-English sentence explaining the verdict. Show it next to the verdict. | | `confidence` | `high`, `medium`, `low` | How far to trust the report as a whole. See below. | | `identity.github` | string | The GitHub account the candidate signed in with. | | `identity.account_age_days` | integer | Age of that account. | | `identity.signed_share` | 0–1 | Share of matched commits that are cryptographically signed. | | `identity.provenance` | `checked` | Always checked. | | `attribution.sampled` / `matched` | integer | Public commits sampled (up to 12) and how many matched on GitHub. | | `attribution.evidence_coverage` | 0–1 | Share of the claimed history backed by public evidence. | | `attribution.flags` | string[] | Warnings, e.g. `low-evidence-coverage`, `new-github-account`, `commit-mismatch`, `evidence-inconsistent`. | | `attribution.provenance` | `checked` or `self-reported` | `checked` when at least one sampled commit matched. | | `assessment.provenance` | `self-reported` | Always self-reported. Label every number below that way in your UI. | | `assessment.languages[]` | objects | `language`, optional `framework`, `share` (0–100 of added lines) and `years` of history. | | `assessment.test_share` | 0–100 | Share of added lines that are tests. | | `assessment.ai_survival` | 0–100 | How much AI-written code survived later edits. | | `assessment.ai_sessions`, `ai_tools` | integer, string[] | Claude Code, Cursor and Codex sessions counted locally. Message text is never read or sent. | | `role_fit.relevance` | `strong`, `partial`, `weak`, `not-assessed` | How well the evidence matches the role. | | `role_fit.relevant_share` | 0–100 | Share of lines in the role's languages and frameworks. | | `role_fit.matched_must`, `missing_must`, `matched_nice` | string[] | Your `must` and `nice` terms, found or not. | | `working_with_ai.provenance` | `self-reported` | Always self-reported: counted on the candidate's laptop. | | `working_with_ai.status` | `analysed`, `not-enough-sessions`, `not-collected` | `not-enough-sessions` under 5 sessions (including none); `not-collected` when the scan came from a CLI without the session analyser. Neither is a bad result. | | `working_with_ai.summary` | string | One plain sentence about their habits. | | `working_with_ai.sessions`, `agents[]` | integer, objects | Sessions analysed (the newest, with at least one agent tool call; up to 300 per agent), and per agent (`Claude Code`, `Cursor`, `Codex`). | | `working_with_ai.model_families` | string[] | Families only (`claude-opus`, `gpt-5`, …), never an exact model id. | | `working_with_ai.mcp_categories[]` | objects | MCP tool calls by kind (`browser`, `code-host`, `docs`, …). Server names are never sent. | | `working_with_ai.metrics[]` | objects | One habit each: `id`, `kind` (`fraction`, `median`, `count`), `value`, `numerator`/`denominator` for fractions, `sample` (sessions behind it), `confidence`, `definition` and a plain `sentence`. `value` is `null` when the sample is too small. | | `gaps` | string[] | What the evidence does not show, in plain words. | | `interview_questions` | string[] | Up to 5 questions aimed at the gaps. Usually 3 to 5; thin reports have fewer. | | `generated_at` | date-time | When the report was built. | A report never contains source code, file paths, commit messages, prompt text or private repo names. ## How they work with AI The CLI reads the candidate's local Claude Code, Cursor and Codex session logs and keeps only their structure: event types, tool names, timestamps, counts, exit codes and error flags. Shell commands are classified on the laptop (test, build, lint, read-only, undo) and thrown away; file paths become per-session numbers and are thrown away. What is uploaded is the scan's `sessionAnalysis` block: a strict allowlist of integers, medians and fixed category names. B55 rejects a scan that carries anything else in it (`422 invalid_scan`), and the integrity hash covers it. | Metric | Kind | Definition | |---|---|---| | `explores_before_editing` | fraction | Sessions with agent edits in which the agent made at least 3 read, search or planning moves (or used a plan tool) before its first edit. | | `edits_before_first_check` | median | Agent edits before the first test, build or lint run that follows an edit. | | `checks_after_editing` | fraction | Sessions with agent edits in which a test, build or lint command ran after the first edit. | | `fixes_after_failures` | fraction | Sessions with a failing run in which code was edited and the check was run again. | | `recovers_from_failures` | fraction | Sessions with a failing run whose last run passed. | | `red_to_green_minutes` | median | Minutes from the first failing run in a session to the next passing one. | | `edits_kept` | fraction | Agent edits not undone in the same session (an exact reversal, or `git restore` / `checkout` / `reset --hard` / `stash` before a commit). | | `steers_the_agent` | fraction | Sessions in which the developer corrected the agent (a new prompt after edits, then the same file re-edited or undone), stopped it, or refused a tool call. | | `session_minutes` | median | Active minutes per session: time between logged events, each gap capped at 15 minutes. | | `tool_calls_per_session`, `prompts_per_session` | median | Agent tool calls and developer prompts per session. | | `uses_subagents` | fraction | Sessions that started helper agents. | | `active_days` | count | Days on which an analysed session started. | Rules: - **Outcomes only where the log has them.** A run counts as passed or failed only when its exit code or error flag is logged and belongs to the check itself: `pnpm test | tail` or `pytest; echo done` hide the real exit code, so those runs have no outcome. - **Sample sizes travel with every number.** Under 5 sessions the section says "not enough sessions to say". A metric with fewer than 5 sessions behind it has `value: null` and `confidence: "not-enough"`; 5 to 9 is `thin`; 10 or more is `enough`. - **No single score**, and no ranking on these numbers. They are habits to ask about, not a grade. - **Gaps** come only from firm samples: tests or builds in under 30% of sessions with edits, or most sessions with a failing run ending still failing. The interview questions then ask about that habit (how they check an agent's work, how they get a broken build passing, how they get an agent to understand a codebase first). ## Verdicts The first rule that applies wins: | # | Verdict | When | |---|---|---| | 1 | `insufficient-evidence` | Fewer than 20 commits, or no languages at all. Nothing to assess; `role_fit.relevance` is `not-assessed`. | | 2 | `self-reported` | A sampled commit did not match GitHub (`commit-mismatch` or `evidence-inconsistent`). Treat every number as a claim. | | 3 | `verified` | The account's public commits check out: trust tier `github-verified` or `signed`. | | 4 | `partially-verified` | Some sampled commits matched, but public evidence covers only part of the claimed history. | | 5 | `self-reported` | No public commit could be checked. | ## Confidence | Confidence | When | |---|---| | `high` | `verified`, at least half the claimed history has public evidence, and commits in the last 6 months. | | `medium` | Any other `verified` or `partially-verified` report. | | `low` | `self-reported` or `insufficient-evidence`. | Confidence never comes from how well the candidate fits the role. ## Role fit - Only languages with at least 3% of added lines count. - `relevant_share` of 50 or more is `strong`, 20 or more is `partial`, below that `weak`. - A missing `must` term caps relevance at `partial`; matching none of the `must` terms makes it `weak`. - `insufficient-evidence` reports are `not-assessed`, with every `must` term listed as missing. ## Gaps Each gap is a sentence. They come from: - a `must` term with no evidence: "No evidence of Rust." - a `senior` or `staff` role with under 4 years in any language (marked self-reported) - `ai_usage: "expected"` with no AI coding sessions - a test-focused role (`qa-sdet`) with under 10% test lines - no commits in the last 6 months - too little history to assess at all - AI sessions that rarely ran tests or builds, or rarely got failing runs passing (from `working_with_ai`, only on firm samples) ## Coming later **Production plan:** `GET /v0/reports/{id}.pdf` for a PDF (today: **Download PDF** on the console's candidate page), an embed token for showing the report in your product ([Embed](/embed)), and an optional link to the candidate's public Perfstaq profile if they choose to share it. --- # Errors > Every error the API can return, with its HTTP status and what to do about it. Source: https://docs.b55.online/errors Every error has the same JSON shape. Branch on `code`; `message` is for people and may change. ```json { "name": "role_not_supported", "message": "Role \"recruiter\" is not supported. Call GET /v0/roles for the list.", "code": "role_not_supported", "docs": "https://docs.b55.ai/errors#role_not_supported" } ``` `docs` links to the entry on this page. This list is complete: a test fails if the code can return an error that is not here or not in `openapi.json`. Codes marked *live* come from the hosted server (real candidates, `b55_live_` keys); the local sandbox never sends them. | Status | Codes | |---|---| | 400 | `invalid_json` | | 401 | `unauthorized`, `live_keys_unavailable`, `token_malformed`, `token_bad_signature`, `token_expired`, `token_wrong_candidate`, `token_unknown`, `token_revoked`, `token_identity_mismatch` | | 404 | `not_found`, `job_not_found`, `candidate_not_found`, `report_not_found` | | 409 | `job_closed`, `candidate_finished`, `consent_required`, `scan_replayed`, `token_used` | | 413 | `payload_too_large` | | 422 | `invalid_query`, `invalid_description`, `invalid_title`, `invalid_company`, `invalid_client_id`, `invalid_email`, `invalid_role`, `role_not_supported`, `invalid_seniority`, `invalid_ai_usage`, `invalid_github`, `consent_missing`, `invalid_scan`, `scan_integrity_failed`, `nonce_mismatch`, `demo_scan`, `sandbox_fictional_only`, `sandbox_demo_only`, `embed_live_only` | | 429 | `rate_limited` | | 500 | `internal_error` | ## 400 ### `invalid_json` The request body is missing, is not valid JSON, or is not a JSON object. Sent by every `POST` that takes a body. Send `content-type: application/json` and an object body. ## 401 ### `unauthorized` No `Authorization` header, a value that is not a B55 key, or a live key the server does not know (wrong, or revoked in the console; a revoked key stops working on the next request). Sandbox keys are `Authorization: Bearer b55_test_…` (letters, digits and `_` after the prefix); live keys are `b55_live_…`, created in the console and shown once. The local sandbox accepts only `b55_test_` keys. Copy a key from the console's [API keys](http://localhost:3100/api-keys) page. Two candidate-facing routes take no key: `POST /v0/jobs/{job_id}/apply` and `POST /v0/candidates/{candidate_id}/scan`. ### `live_keys_unavailable` *Live.* A `b55_live_` key was sent to a server that runs the sandbox only (for example the console running locally without a database, or the docs playground). Use a `b55_test_` key there, or send the live key to the hosted API. The token codes below come from a live scan upload (`POST /v0/candidates/{candidate_id}/scan` with `Authorization: Bearer b55ct_…`). The token is the command shown on the apply page: single use, valid for two hours, and bound to the GitHub account the candidate signed in with. The fix is always the same: open the apply page again and copy the current command. Nothing changed on the server. ### `token_malformed` *Live.* The value after `Bearer` is not a B55 candidate token (`b55ct_…`), for example because the command was cut off when it was copied. ### `token_bad_signature` *Live.* The token was not issued by this server, or a character in it was changed. ### `token_expired` *Live.* The token is older than two hours. ### `token_wrong_candidate` *Live.* The token belongs to another application than the `candidate_id` in the URL. ### `token_unknown` *Live.* The server has no record of this token (for example it was issued before the application was deleted). ### `token_revoked` *Live.* A newer command replaced this one. Only the latest command on the apply page works. ### `token_identity_mismatch` *Live.* The token is bound to a different GitHub sign-in than the one now on the application. ## 404 ### `not_found` `not_found` (404) is returned for an unknown path under `/v0/`, or the wrong method on a known path (for example `GET …/candidates/{candidate_id}/advance`). In the sandbox, methods other than GET, POST and DELETE get a bare 405 from the console before reaching the API, and the key is checked before routing: an unknown `/v0/` path with no key returns 401, not 404. ### `job_not_found` The `job_id` does not exist. Sandbox data is in memory, so jobs disappear when the console restarts. ### `candidate_not_found` The `candidate_id` does not exist. For the scan upload: check the command's `--sandbox-url` points at the sandbox that has this candidate. ### `report_not_found` The `report_id` does not exist. Reports exist only once the candidate is `ready` or `insufficient_evidence`; read `report_id` from the candidate. ## 409 ### `job_closed` The job is closed, so it takes no new candidates, by email or through the apply link. Existing candidates are unchanged and adding someone already on the job still returns them. ### `candidate_finished` `POST …/advance` or a scan upload for a candidate that already has a report (`ready` or `insufficient_evidence`). Nothing changed. ### `consent_required` A scan upload (`POST /v0/candidates/{candidate_id}/scan`) for a candidate who is still `invited` or `opened`. The candidate must open the apply link and consent first; the CLI cannot skip that. Nothing changed. ### `scan_replayed` This exact scan (same `integrityHash`) was already accepted, for this or another candidate. One scan answers one candidate. Run the command again: each run is a new scan. ### `token_used` *Live.* The candidate token in the command was already used for an accepted scan. Each command uploads once; get a new one from the apply page. A scan that failed (for example `invalid_scan` or `scan_replayed`) does not use the token up. ## 413 ### `payload_too_large` *Live.* The request body is over the size limit (256 KB). A scan from the CLI is far smaller; check you are sending the payload the CLI produced. ## 422 ### `invalid_query` A query parameter has a value outside its list: `status` on `GET /v0/jobs` (`open`, `closed`), or `sort` (`ranked`, `newest`, `oldest`), `status` (a candidate status) or `verdict` (a report verdict) on `GET /v0/jobs/{job_id}/candidates`. Statuses are snake_case (`insufficient_evidence`); verdicts are kebab-case (`insufficient-evidence`). ### `invalid_description` `POST /v0/roles/suggest` without a non-empty string `description`, or a job or suggestion `description` longer than 4000 characters (or not a string). ### `invalid_title` `POST /v0/jobs` without a non-empty string `title`, or a title longer than 200 characters. ### `invalid_company` `company` on `POST /v0/jobs` is not a string, or is longer than 200 characters. ### `invalid_client_id` `client_id` is present but not a string (for example a number). Send your id as a string, or leave it out. ### `invalid_email` `email` is missing or does not look like `name@domain.tld`. ### `invalid_role` `role` is neither a role id string nor an object with a string `base`, or `must` / `nice` are not arrays of strings. ### `role_not_supported` The role id (or `role.base`) is not in the catalog. Call `GET /v0/roles` or see [Roles](/roles). B55 never builds a report for a role it cannot assess. ### `invalid_seniority` `role.seniority` is not one of `intern`, `junior`, `mid`, `senior`, `staff`. ### `invalid_ai_usage` `role.ai_usage` is not one of `expected`, `neutral`, `discouraged`. ### `invalid_github` Sandbox: `github` on `POST /v0/jobs/{job_id}/apply` is not one of the eight fictional developers (see [Candidates](/candidates#sandbox-candidates)). Production plan: the apply page signs the candidate in with GitHub instead. ### `consent_missing` `POST /v0/jobs/{job_id}/apply` without `"consent": true`. The apply page shows what is shared and what never is; nothing is created until the candidate agrees. ### `invalid_scan` The scan upload's body is not a valid signed `ScanPayload` (schema version 2), or it has a top-level field the payload does not have. The message names up to three problems. Update the CLI and run the command again. ### `scan_integrity_failed` The payload's `integrityHash` does not match its contents: something changed it after the CLI signed it. Send the payload exactly as the CLI produced it. ### `nonce_mismatch` *Live.* The scan was signed for a different command: its `evidence.nonce` is not the id of the token in the `Authorization` header. A signed scan answers exactly one command. Run the command from the apply page again. ### `demo_scan` *Live.* A `--demo` scan (fictional history) was sent to a real job. Run the command without `--demo`. ### `sandbox_fictional_only` The hosted public sandbox only takes made-up email addresses at reserved test domains (`example.com`, `example.org`, `example.net`, `*.test`, `*.example`, `*.invalid`), so no real person's data enters the shared sandbox. Applies to adding a candidate and to the `email` on `POST /v0/jobs/{job_id}/apply`. Use `ada@example.com`, or a live key for real candidates. The local sandbox takes any address. ### `sandbox_demo_only` The hosted public sandbox only takes `--demo` scans (fictional history), so no real work profile enters it. Real scans go to a live job. The local sandbox takes any scan. ### `embed_live_only` `POST /v0/reports/{report_id}/embed-token` with a sandbox key. Embed tokens are for live reports; sandbox reports embed without a token (see [Embed](/embed)). ## 429 ### `rate_limited` Too many requests. Wait the number of seconds in the `Retry-After` header, then retry; retrying with the same `client_id` is safe. Live keys are limited per key, sandbox keys on the hosted server per network, and scan uploads per candidate. The local sandbox has no limit. ## 500 ### `internal_error` Something went wrong on the server. The message is generic on purpose. Retrying with the same `client_id` is safe. In the sandbox, the console's terminal shows the cause. ## SDK-only codes The [SDKs](/quickstart) raise the same `B55Error` (`status`, `code`, `message`, `docs`) for API errors, and these four codes when there is no B55 error body to read. `status` is `0` when no response arrived. ### `missing_api_key` No `apiKey` / `api_key` was passed and `B55_API_KEY` is not set. Raised when the client is created. ### `connection_error` The request never got a response: the server is down, the host is wrong, or DNS failed. Check `baseUrl`; for the sandbox it is `http://localhost:3100/api`. ### `timeout` No response within the timeout (30 seconds by default; `timeout` in milliseconds in TypeScript, seconds in Python). ### `http_error` A non-2xx response without a B55 error body, for example a proxy's error page, or a `405` from the console for a method the API does not route. `status` is the HTTP status. --- # Webhooks > Events B55 sends as candidates move and reports land, how they are signed (Standard Webhooks), and how to verify them. Source: https://docs.b55.online/webhooks > **Live jobs:** B55 delivers events to your endpoints over HTTPS, signed, with retries. You add and manage endpoints in the console under **Settings → Webhooks**. **Sandbox:** nothing is sent to your server. Every event is recorded and readable with `GET /v0/jobs/{job_id}/events`, and the console's [playground](http://localhost:3100/playground) shows each one as a signed delivery you can inspect, replay and copy as curl. ## Events | Event | When | Status | |---|---|---| | `candidate.created` | Someone was added by email, or applied through the job's link. | Sandbox | | `candidate.opened` | The candidate opened the apply link and signed in with GitHub. | Sandbox | | `candidate.consented` | The candidate consented. | Sandbox | | `scan.received` | The scan landed. | Sandbox | | `report.ready` | The report is ready. Fetch it with `report_id`. | Sandbox | | `report.insufficient_evidence` | Not enough history; a report exists and says so. | Sandbox | | `candidate.expired` | The candidate never finished. | Planned | | `consent.revoked` | The candidate withdrew consent; their report and scan were deleted. See [Consent and withdrawal](/consent). | Live | | `candidate.deleted` | The candidate's record was erased. | Live | ## Payload The body is the event object, exactly as `GET /v0/jobs/{job_id}/events` returns it: ```json { "object": "event", "event_id": "evt_000007", "event_type": "report.ready", "job_id": "job_000001", "candidate_id": "cand_000002", "report_id": "rpt_000002", "created_at": "2026-11-24T12:47:36.646Z" } ``` `report_id` is set on `report.ready` and `report.insufficient_evidence`, and `null` on the others. Events are listed oldest first, the order they are delivered. ## Signing Deliveries follow [Standard Webhooks](https://www.standardwebhooks.com) (the scheme Svix uses), so any Standard Webhooks library can verify them. | Header | Value | |---|---| | `webhook-id` | The `event_id`. Use it to drop duplicates. | | `webhook-timestamp` | Unix seconds when this attempt was signed. | | `webhook-signature` | `v1,<base64 HMAC-SHA256>`, space-separated if there are several. | The signature is HMAC-SHA256 over `<webhook-id>.<webhook-timestamp>.<raw body>`, keyed with your secret (`whsec_<base64>`) after base64-decoding the part after `whsec_`. Reject timestamps more than 5 minutes from now. Always verify the **raw** body bytes, before any JSON parsing. ### With the SDK Both SDKs ship the same check as `webhooks.verify` (also `b55.webhooks.verify` / `client.webhooks.verify`). The TypeScript one uses Web Crypto, so it is `async` and runs in Node 20+, edge runtimes and Deno; it accepts a `Headers` object or a plain header record. The Python one takes any header mapping and the body as `bytes` or `str`. Install them as in the [Quickstart](/quickstart#2-create-a-job-and-add-a-candidate). ```ts tab="TypeScript SDK" import { webhooks } from 'b55'; // Next.js route handler export async function POST(req: Request) { const body = await req.text(); if (!(await webhooks.verify(process.env.B55_WEBHOOK_SECRET!, req.headers, body))) return new Response('bad signature', { status: 400 }); const event = JSON.parse(body); // ... return new Response(null, { status: 204 }); } ``` ```python tab="Python SDK" import os from flask import Flask, abort, request from b55 import webhooks app = Flask(__name__) @app.post("/webhooks/b55") def b55_webhook(): if not webhooks.verify(os.environ["B55_WEBHOOK_SECRET"], request.headers, request.get_data()): abort(400) event = request.get_json() # ... return "", 204 ``` The tolerance defaults to 300 seconds: `{ toleranceSec: 600 }` in TypeScript, `tolerance_sec=600` in Python. ### Without the SDK The same check with no dependency, to copy into any codebase: ```ts tab="TypeScript" import { createHmac, timingSafeEqual } from 'node:crypto'; /** True when one of the v1 signatures matches and the timestamp is within 5 minutes. */ export function verifyB55Webhook(secret: string, headers: Headers, rawBody: string, toleranceSec = 300): boolean { const id = headers.get('webhook-id'); const timestamp = headers.get('webhook-timestamp'); const signatures = headers.get('webhook-signature'); if (!id || !timestamp || !signatures) return false; const ts = Number(timestamp); if (!Number.isFinite(ts) || Math.abs(Date.now() / 1000 - ts) > toleranceSec) return false; const key = Buffer.from(secret.replace(/^whsec_/, ''), 'base64'); const expected = Buffer.from('v1,' + createHmac('sha256', key).update(`${id}.${timestamp}.${rawBody}`).digest('base64')); return signatures.split(' ').some((sig) => { const given = Buffer.from(sig); return given.length === expected.length && timingSafeEqual(given, expected); }); } // Next.js route handler: // export async function POST(req: Request) { // const body = await req.text(); // if (!verifyB55Webhook(process.env.B55_WEBHOOK_SECRET!, req.headers, body)) return new Response('bad signature', { status: 400 }); // const event = JSON.parse(body); // ... // return new Response(null, { status: 204 }); // } ``` ```python tab="Python" import base64, hashlib, hmac, time def verify_b55_webhook(secret: str, headers, raw_body: bytes, tolerance_sec: int = 300) -> bool: """True when one of the v1 signatures matches and the timestamp is within 5 minutes. headers: any mapping with case-insensitive get(), e.g. Flask's request.headers.""" msg_id = headers.get("webhook-id") timestamp = headers.get("webhook-timestamp") signatures = headers.get("webhook-signature") if not msg_id or not timestamp or not signatures: return False try: ts = int(timestamp) except ValueError: return False if abs(time.time() - ts) > tolerance_sec: return False key = base64.b64decode(secret.removeprefix("whsec_")) digest = hmac.new(key, f"{msg_id}.{timestamp}.".encode() + raw_body, hashlib.sha256).digest() expected = "v1," + base64.b64encode(digest).decode() return any(hmac.compare_digest(expected.encode(), sig.encode()) for sig in signatures.split(" ")) # Flask: # @app.post("/webhooks/b55") # def b55_webhook(): # if not verify_b55_webhook(os.environ["B55_WEBHOOK_SECRET"], request.headers, request.get_data()): # abort(400) # event = request.get_json() # ... # return "", 204 ``` ## Delivery, retries and replay | | Sandbox | Live | |---|---|---| | Where | Shown in the playground's webhook inspector; nothing leaves your machine | POSTed to each endpoint subscribed to the event type | | Secret | One per job, shown in the playground | One per endpoint (`whsec_…`), shown **once** when you create or rotate it. B55 stores it encrypted and cannot show it again. | | Guarantee | Every event is listed by `GET …/events` | At least once. Deduplicate on `webhook-id` (the `event_id`). | | First attempt | | Immediately, when the event happens | | Retries | None | After a failure B55 retries with growing gaps, roughly 5 seconds, 5 minutes, 30 minutes, 2 hours, 5 hours, then 10 hours, until the 24-hour mark. The schedule may be tuned, so rely on the guarantee rather than the exact gaps. | | If it keeps failing | | An endpoint that has failed for 24 hours is **disabled and its owners are emailed**. Fix the endpoint, then check its status in Settings → Webhooks. | | Replay | "Replay" in the inspector re-signs the same event with a fresh timestamp and the same `webhook-id` | Replay from the delivery log in Settings → Webhooks | An attempt succeeds when your endpoint answers `2xx` within 15 seconds. Answer quickly and do the work afterwards. Because delivery is at least once, the same `webhook-id` can arrive twice; treat a repeat as a no-op. ### Endpoint rules - HTTPS only, with no username or password in the URL. - The URL must resolve to a public address. `localhost`, private networks, link-local and cloud metadata addresses are refused, both when you save the endpoint and on every delivery. To test locally, use a tunnel with a public HTTPS URL. - B55 does not follow redirects; a redirect counts as a failed attempt. - The body is ids only (see [Payload](#payload)). Fetch details with your API key. - Verify every delivery with [Standard Webhooks](#signing) before you trust it. --- # Embed > Show a B55 report inside your product with an iframe today, and a React component with short-lived embed tokens in production. Source: https://docs.b55.online/embed The embed is the report as a candidate card: verdict and reason, checked vs self-reported, role fit, gaps and interview questions. It has no links back into B55. ## Sandbox: iframe The console serves a chrome-less report page at `/embed/reports/{report_id}`: ```html <iframe src="http://localhost:3100/embed/reports/rpt_000002" title="B55 report" width="100%" height="900" style="border:0" ></iframe> ``` > **Sandbox limit:** the page reads the sandbox key from the console's browser storage, so it renders only in a browser that has opened the console. Try it from the playground's **Report preview → Embed** tab, which also shows these snippets for your report. Print-to-PDF is on the **PDF** tab. ## Production plan: embed tokens and the React component Your server asks B55 for a short-lived token that can read exactly one report, and hands only the token to the browser. Your API key never reaches the page. ```txt Browser ──▶ your server ──POST /v0/reports/{report_id}/embed-token──▶ B55 Browser ◀── { token } ◀───────────────────────────────────────────────┘ Browser renders <B55Report token=… /> or <iframe src="https://embed.b55.ai/r/<token>"> ``` ```tsx import { B55Report } from 'b55/react'; // embedToken: from POST /v0/reports/{report_id}/embed-token (production plan), called on your server. export function CandidateReport({ embedToken }: { embedToken: string }) { return <B55Report token={embedToken} />; } ``` Not built yet: the `embed-token` endpoint, the `b55/react` package and the token-based iframe URL. `GET /v0/reports/{report_id}.pdf` (a PDF of the same card) is also planned; today the console's candidate page has **Download PDF** (print to PDF). --- # Overview > Where B55 will plug in: AI agents, ATS products and no-code tools. None of these are built yet. Source: https://docs.b55.online/integrations > **Not built yet.** Every integration below is a plan. Today the way in is the REST API: the [Quickstart](/quickstart) works from any language, agent or automation tool that can send an HTTP request. | Integration | Group | Status | |---|---|---| | [MCP](/integrations/mcp) | AI agents | Coming soon | | [Claude Agent SDK](/integrations/claude-agent-sdk) | AI agents | Coming soon | | [OpenAI Agents SDK](/integrations/openai-agents-sdk) | AI agents | Coming soon | | [LangChain](/integrations/langchain) | AI agents | Coming soon | | [Vercel AI SDK](/integrations/vercel-ai-sdk) | AI agents | Coming soon | | [Recruit CRM](/integrations/recruit-crm) | ATS | Coming soon | | [n8n](/integrations/n8n) | No-code | Coming soon | | [Zapier](/integrations/zapier) | No-code | Coming soon | | [CSV and Google Sheets](/integrations/csv-sheets) | Import | Coming soon | Rules every integration will follow: - One email on one job is one candidate. - Importing a list only adds candidates and sends them the apply link; nothing is scanned until the candidate consents. - Status is written back to where the candidate came from: the ATS record, the sheet row, or a webhook. --- # MCP > An authenticated B55 MCP server so agents can create jobs, add candidates and read reports. Not built yet. Source: https://docs.b55.online/integrations/mcp > **Coming soon. Not built yet.** Nothing on this page works today. It describes the plan so you can tell us if you need it. ## Planned The existing Perfstaq MCP server at `/mcp` gains authenticated job tools: | Tool | Does | |---|---| | `create_job` | `POST /v0/jobs` with `title`, `role` and `client_id` | | `add_candidate` | `POST /v0/jobs/{job_id}/candidates` with `email` and `client_id` | | `list_candidates` | `GET /v0/jobs/{job_id}/candidates` (ranked) | | `get_report` | `GET /v0/reports/{report_id}` | The current public tools stay unchanged. The console playground already shows the planned `tools/call` request for `add_candidate` on its **MCP** tab; it is a preview, not a working server. ## What to do today Call the REST API directly; see the [Quickstart](/quickstart). The [API reference](/api-reference) and [`/openapi.json`](/openapi.json) describe every endpoint. --- # Claude Agent SDK > A guide for giving a Claude agent B55 tools to screen candidates. Not written yet. Source: https://docs.b55.online/integrations/claude-agent-sdk > **Coming soon. Not built yet.** Nothing on this page works today. It describes the plan so you can tell us if you need it. ## Planned A guide and a ready-made Claude Skill (`screen-candidate`) that lets an agent built with the Claude Agent SDK add a candidate to a job, wait for the report and summarise it, with the honesty rules from [Reports](/reports) built in. ## What to do today Call the REST API directly; see the [Quickstart](/quickstart). The [API reference](/api-reference) and [`/openapi.json`](/openapi.json) describe every endpoint. --- # OpenAI Agents SDK > A guide for using B55 as tools in the OpenAI Agents SDK. Not written yet. Source: https://docs.b55.online/integrations/openai-agents-sdk > **Coming soon. Not built yet.** Nothing on this page works today. It describes the plan so you can tell us if you need it. ## Planned A guide with function tools for `create_job`, `add_candidate`, `list_candidates` and `get_report`, for agents built with the OpenAI Agents SDK. ## What to do today Call the REST API directly; see the [Quickstart](/quickstart). The [API reference](/api-reference) and [`/openapi.json`](/openapi.json) describe every endpoint. --- # LangChain > B55 tools for LangChain agents. Not built yet. Source: https://docs.b55.online/integrations/langchain > **Coming soon. Not built yet.** Nothing on this page works today. It describes the plan so you can tell us if you need it. ## Planned A guide with LangChain tools that wrap the job, candidate and report endpoints. ## What to do today Call the REST API directly; see the [Quickstart](/quickstart). The [API reference](/api-reference) and [`/openapi.json`](/openapi.json) describe every endpoint. --- # Vercel AI SDK > B55 tools for the Vercel AI SDK. Not built yet. Source: https://docs.b55.online/integrations/vercel-ai-sdk > **Coming soon. Not built yet.** Nothing on this page works today. It describes the plan so you can tell us if you need it. ## Planned A guide with `tool()` definitions for the Vercel AI SDK that wrap the job, candidate and report endpoints. ## What to do today Call the REST API directly; see the [Quickstart](/quickstart). The [API reference](/api-reference) and [`/openapi.json`](/openapi.json) describe every endpoint. --- # Recruit CRM > A direct Recruit CRM connector: add a candidate from a Recruit CRM record and write the report back. Not built yet. Source: https://docs.b55.online/integrations/recruit-crm > **Coming soon. Not built yet.** Nothing on this page works today. It describes the plan so you can tell us if you need it. ## Planned - Add a Recruit CRM candidate or job application to a B55 job (and send them its apply link). - Write the candidate status and the report summary back to that record. - Each Recruit CRM job maps to one B55 job, tagged with `client_id`. ## What to do today Call the REST API directly; see the [Quickstart](/quickstart). The [API reference](/api-reference) and [`/openapi.json`](/openapi.json) describe every endpoint. --- # n8n > An n8n node for B55. Not built yet. Source: https://docs.b55.online/integrations/n8n > **Coming soon. Not built yet.** Nothing on this page works today. It describes the plan so you can tell us if you need it. ## Planned An n8n community node with actions (create job, add candidate, get candidate, get report) and a trigger on B55 webhook events. ## What to do today Call the REST API directly; see the [Quickstart](/quickstart). The [API reference](/api-reference) and [`/openapi.json`](/openapi.json) describe every endpoint. --- # Zapier > A Zapier app for B55. Not built yet. Source: https://docs.b55.online/integrations/zapier > **Coming soon. Not built yet.** Nothing on this page works today. It describes the plan so you can tell us if you need it. ## Planned A Zapier app with actions (add candidate, find report) and triggers on B55 webhook events, such as `report.ready`. ## What to do today Call the REST API directly; see the [Quickstart](/quickstart). The [API reference](/api-reference) and [`/openapi.json`](/openapi.json) describe every endpoint. --- # CSV and Google Sheets > Add a list of candidates to a job from a CSV file or a Google Sheet. Not built yet. Source: https://docs.b55.online/integrations/csv-sheets > **Coming soon. Not built yet.** Nothing on this page works today. It describes the plan so you can tell us if you need it. ## Planned - Upload a CSV or connect a Google Sheet with `email`, `role` and your own id per row. - B55 adds one candidate per row through `POST /v0/jobs/{job_id}/candidates/batch` (up to 500 per call; not built yet). Your row id becomes `client_id`, so importing twice does not add them twice. - Status and the report link are written back to the sheet row. ## What to do today Call the REST API directly; see the [Quickstart](/quickstart). The [API reference](/api-reference) and [`/openapi.json`](/openapi.json) describe every endpoint. --- # Consent and withdrawal > What a candidate agrees to before a scan, what B55 records, and how withdrawing deletes their data and tells you. Source: https://docs.b55.online/consent In live mode a candidate consents, per job, before anything is collected. The scan upload is refused until they have (`409 consent_required`). ## Consent On the apply page the candidate signs in with GitHub and sees, in plain words: - which company is asking, and for which role - exactly what is shared and what never leaves their laptop - how long the data is kept: raw scan 30 days, report 180 days by default - whether the hiring team's B55 AI is on for this account. It is **off by default**. When it is on, anonymised parts of the report (never code) may go to OpenAI - that they are 18 or older - that they can withdraw at any time B55 keeps a **consent record** for each agreement: the exact notice text and version they saw, what was shared, and when. After they consent, the candidate gets a **receipt email** with a one-click withdraw link and a link to their own page, `/me`. Email is in test mode for now, so receipts reach only the project owner's address until a sending domain is set up. ## Withdrawal A candidate can withdraw at any time from: - the apply page - their `/me` page, for any job they applied to - the withdraw link in their receipt email Withdrawing: 1. deletes their report, their raw scan and their personal fields (name, email, GitHub login); 2. marks the candidate **withdrawn** on your job, with no report and no identity; 3. sends your endpoints a `consent.revoked` [webhook](/webhooks#events), carrying ids only; 4. makes `GET /v0/reports/{report_id}` for their old report return `404`. It cannot be undone. The candidate has to apply and consent again to be reassessed. ## What you should do on `consent.revoked` Delete any copy of the report you made on your side, in your ATS or database. B55 can delete only what it holds. ## Retention Raw scan data is deleted after 30 days and reports after 180 days, unless the account shortened the period. The full list is on [Privacy & consent](/privacy#retention). --- # Privacy & consent > What the candidate agrees to, what is shared and never shared, how B55 AI keeps candidates anonymous, how long data is kept, and who is responsible for it. Source: https://docs.b55.online/privacy B55 handles candidate data on your behalf. These rules are part of the product, not a policy page you can switch off. ## Consent is per job On the job's apply page the candidate sees, before anything is collected: - which company is asking (the job's `company`) and for which role - exactly what will be shared, and what never leaves their laptop - that the hiring team's assistant, B55 AI, may send parts of their report (never their code) to OpenAI, anonymised (see [below](#b55-ai)) - how long the report is kept - that they can withdraw at any time Nothing is scanned until they consent, and the scan upload is refused before consent (`409 consent_required`). Adding people by email only sends them the apply link. ## What is shared The same list the candidate sees on the apply page: - their GitHub username, account age and the share of their commits that are signed - per-language line and commit counts, with first and last dates - test share, revert rate and how much AI-written code survives - how many Claude Code, Cursor and Codex sessions they ran (counts only; **message text is never read or sent**) - how they work with AI agents, worked out on their laptop and sent as numbers only: how often the agent reads before it edits, how often they run tests or builds and fix failing runs, how often they correct or stop the agent, how many agent edits they keep, session lengths, and which model families and kinds of MCP tools they use (see [Reports](/reports#how-they-work-with-ai)) - public commit ids, only if they opt in, so B55 can spot-check them on GitHub The upload also carries the CLI version, the scan time, a one-way fingerprint of the candidate's machine (a SHA-256 of a random local salt), an overall score and style label, and an integrity seal. That is the whole payload: 17 fixed fields plus the optional `sessionAnalysis` block of numbers, and the API rejects anything else (`invalid_scan`). In the sandbox the scan itself is **not stored**: B55 keeps the report it builds and a hash of the scan (to refuse replays), nothing more. In live jobs the raw scan is stored for 30 days (see [Retention](#retention)). ## What is never shared Source code, file paths, commit messages, prompt or chat text, the commands they or the agent ran, model output, exact model ids, MCP server names and private repo names never leave the candidate's machine and never appear in a report. Session logs are reduced to counts on the laptop; the upload's `sessionAnalysis` block is a strict allowlist of numbers and fixed category names, and B55 rejects a scan that carries anything else. The CLI shows the candidate, in plain words, exactly what it is about to send and sends nothing unless they answer yes. ## B55 AI B55 AI is the assistant in the console (the **B55 AI** page, and role suggestions on **New job**). It can use OpenAI's `gpt-6-luna` model. B55 AI never lets OpenAI know who a candidate is: | | What happens | |---|---| | **Replaced before sending** | Candidate names known to B55, emails, GitHub handles (`@name`, `github.com/name`), any URL and phone numbers become placeholders such as `Candidate 3`, `[EMAIL_1]`, `[URL_2]`. This covers the recruiter's own typed messages, pasted job descriptions and attached files, and every tool result. | | **Generalised** | Account age becomes a bucket (`<1y`, `1–3y`, `3–5y`, `5y+`). Report ids, timestamps, the GitHub handle, the machine fingerprint and the integrity hash are never sent. | | **What still goes** | Anonymised report fields needed to answer: verdict and reason, confidence, the checked / self-reported labels, role fit, gaps, language shares and years, test share, AI-usage counts and the interview questions. For role suggestions, only the job description. | | **Kept on the server** | The placeholder → real-value map. Real names are put back into the answer only on the way to the recruiter's screen. | | **Visible** | Every assistant message has **What was sent**: the exact request body sent to OpenAI for that answer. | | **Writes** | B55 AI never changes anything by itself. Creating a job, adding candidates or closing a job is a card the recruiter must confirm. | **Limits of the redaction, honestly:** names are recognised when B55 knows them (from candidates' emails and GitHub handles). A name of someone B55 has never seen, typed in free text, is not detected; the same goes for a candidate's name pasted into a job description for a role suggestion. Placeholders hide identity, not the content of the report. `store: false` asks OpenAI not to keep responses; it is not zero data retention. **Sandbox:** the model is used only when the console runs with `OPENAI_API_KEY`, only from the console's own pages (never from the `/api/v0` sandbox API, which is always rule-based), with `store: false` on every request, per-session and per-network rate limits and a daily spend cap. Without a key everything runs on rules, offline, and **What was sent** says nothing was sent. **Live jobs:** B55 AI is **off by default** for every account. An account owner turns it on; until then no request goes to OpenAI and the rules answer. Requests are sent with `store: false` and the same redaction, and names B55 knows are redacted before sending. B55's OpenAI data processing agreement and zero data retention terms are **still pending**, so do not rely on zero data retention yet. ## Withdrawing consent **Live:** the candidate can withdraw at any time, from the apply page, their `/me` page or the link in their receipt email. B55 deletes their report, raw scan and personal fields and sends you `consent.revoked`. See [Consent and withdrawal](/consent). In the sandbox there is no withdrawal flow. ## Retention **Live:** - Reports are kept for 180 days by default; you can shorten this per account. - Raw scan payloads are kept for 30 days, then only the report remains. - B55 AI conversations are kept with the account that started them and are only visible to it. **Sandbox:** everything is in memory on your machine and gone when the console restarts. ## Isolation - **Sandbox:** one console is one account; every `b55_test_` key on your machine sees every job. - **Live:** jobs, candidates, reports and B55 AI conversations are scoped to the account (and, for platforms, to a `client_id` prefix). A candidate's report for one company is never reused for another without a new consent. ## No hidden scoring - **Planned:** the candidate can see their own report before or alongside you. - There is no overall score and no automatic rejection. A person makes the decision. The ranked list orders by checked evidence, then role fit, then confidence. - Every number that comes from the candidate's machine is labelled self-reported. See [Reports](/reports). ## Who is responsible - You are the **controller** of candidate data; B55 is the **processor**. A data processing agreement (DPA) is part of the production plan, listing OpenAI as a sub-processor when B55 AI is turned on. - Designed for India's DPDP Act 2023 and the GDPR. - Automated screening is regulated in some places (the EU AI Act treats hiring as high-risk; NYC Local Law 144 requires bias audits). B55 keeps a human in the loop and publishes its method; an EU launch waits for review. - **Planned:** the Enterprise Docker image keeps all candidate data on your own servers. ## Sub-processors | Sub-processor | Purpose | Status | |---|---|---| | OpenAI | B55 AI and AI role suggestions, on pseudonymised data | Sandbox: only when the console has `OPENAI_API_KEY` | | Supabase | Database (Mumbai, India) | Live | | Vercel | Hosting | Live | | Resend | Invite and notice emails | Live, in test mode only (sends to the project owner's address until a sending domain is verified) | | GitHub | Candidate sign-in and checking public commits | Live | ## Not built yet Be clear about what is still missing: a custom domain (the service runs on a provider URL for now); email in production mode (it is in test mode, so invites and receipts do not reach arbitrary addresses yet); B55's data processing agreement with OpenAI and zero data retention for B55 AI; the DPA with you, which is a draft; and the self-hosted Enterprise image. Do not put real candidates through B55 until you have checked these against your own requirements. ## Privacy pack The full privacy pack lives in the B55 repository under `docs/privacy/`: a data map with a data-flow diagram, the B55 AI privacy write-up with a real redacted example, a plain-language page for candidates, a threat model, an FAQ, the sub-processor list, the prioritised list of gaps, and drafts of the privacy policy and DPA (drafts only, not legal advice). --- # Docs for AI agents > llms.txt, llms-full.txt, a Markdown version of every page, and the OpenAPI spec, for Claude, Cursor and other agents. Source: https://docs.b55.online/ai-docs Every page on this site is written so an agent can read it as well as you can. | URL | What it is | |---|---| | [`/llms.txt`](/llms.txt) | Index of every page with a one-line description ([llmstxt.org](https://llmstxt.org) format). | | [`/llms-full.txt`](/llms-full.txt) | Every page in one Markdown file, in sidebar order. | | `/<page>.md` | The Markdown of one page, e.g. [`/webhooks.md`](/webhooks.md). The home page is [`/index.md`](/index.md). | | [`/openapi.json`](/openapi.json) | The OpenAPI 3.1 spec, with the server set to this site's sandbox proxy. | | [`/api-reference`](/api-reference) | The same spec as an interactive reference. | Each page also has a **Copy page** button next to its title that copies its Markdown. ## In Claude Code or Cursor Give the agent the index and let it fetch what it needs: ```txt Read http://localhost:3200/llms.txt, then the pages you need, and integrate B55 into this codebase. ``` The [Quickstart](/quickstart#copy-for-claude-or-cursor) has a longer prompt with the facts an agent needs to get the integration right first time. ## MCP An authenticated B55 MCP server (`create_job`, `add_candidate`, `list_candidates`, `get_report`) is planned. See [MCP](/integrations/mcp).