Endpoints
Analyze an email
Send one inbound email. The agents decide whether it is recruiting, check what the sender claims against the public web, and return a brief with a score, a next action and the evidence behind it.
https://api.provarion.ai/v1/analyze20 per key per 10 minutesA recruiting email is recorded in your firm's workspace and appears in the platform and in GET /v1/briefs. An email that is not recruiting is returned with recruiting: false and nothing is recorded. The email body and any attachment are read and then discarded; they are never stored.
Request body
fromstringrequired- The sender as it appeared, e.g.
Jordan Lee <jlee@example.edu>. Up to 320 characters. subjectstringrequired- The subject line. Up to 500 characters; may be empty.
bodystringrequired- The plain-text body, 20 to 20,000 characters.
attachmentobject | null- One résumé, read alongside the email:
{ name, mediaType: "application/pdf", base64 }. PDF only, up to about 5 MB. message_idstring- Your id for this email, 1 to 200 of
A–Z a–z 0–9 . _ : @ -. If a brief already exists for it, that brief is returned withduplicate: trueand the agents do not run again. Recommended. received_attimestamp- When the email arrived. Defaults to now.
Example
curl https://api.provarion.ai/v1/analyze \
-H "Authorization: Bearer $PROVARION_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "Jordan Lee <jlee@example.edu>",
"subject": "Coffee chat about your analyst program?",
"body": "Hi, I am a junior studying economics at Example University. I led the research team at our student investment fund this year...",
"message_id": "ats-48213",
"received_at": "2026-11-28T14:02:00Z"
}'Response
object"analysis"recruitingboolean- False when the email is not about a job, internship, coffee chat, referral or recruiting advice.
duplicateboolean- True when message_id matched a brief already on file.
duration_msinteger- How long the agents took.
briefbrief | null- The recorded brief, in the same shape as GET /v1/briefs/{id}.
classificationobject- Only when
recruitingis false:{ is_recruiting, kind, ask }.
{
"object": "analysis",
"recruiting": true,
"duplicate": false,
"duration_ms": 31840,
"brief": {
"id": "6f1d2c9e-6a51-4c3e-9b0f-1d7c2e8a4b55",
"object": "brief",
"created_at": "2026-11-28T14:02:41.118302+00:00",
"status": "ready",
"score": 74,
"action": "respond",
"reason": "Verified fund leadership and a clear ask; worth a short call.",
"reason_code": "verified_experience",
"route_to": null,
"summary": "Economics junior who ran research for a student fund…",
"draft_reply": "Hi Jordan, thanks for reaching out…",
"person": { "id": "0b8e7a2c-…", "name": "Jordan Lee", "email": "jlee@example.edu", "school": "Example University", "graduation_year": 2028 },
"message": { "kind": "coffee_chat", "subject": "Coffee chat about your analyst program?", "from": "jlee@example.edu",
"received_at": "2026-11-28T14:02:00+00:00", "source": "api", "external_id": "ats-48213" },
"decision": null,
"signals": [ { "category": "education", "verdict": "partially_verified", "label": "Writes from a example.edu address", "detail": "…" } ],
"claims": [ { "id": "…", "type": "role", "statement": "Led the research team at the student investment fund", "org": "…", "claimed_in": "email", "verdict": "verified" } ],
"evidence": [ { "claim_id": "…", "url": "https://…", "title": "…", "quote": "…", "stance": "supports", "note": null } ]
}
}Streaming progress
Send Accept: application/x-ndjson to get one JSON object per line as the agents work. The last line is either {"type":"analysis","data":{…}}, with the same body as the JSON response, or an error.
curl -N https://api.provarion.ai/v1/analyze \
-H "Authorization: Bearer $PROVARION_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/x-ndjson" \
-d @email.json{"type":"stage","stage":"classify","status":"start"}
{"type":"classification","data":{"is_recruiting":true,"kind":"coffee_chat","ask":"A 15-minute call about the analyst program"}}
{"type":"stage","stage":"classify","status":"done","note":"coffee chat"}
{"type":"stage","stage":"normalize","status":"start"}
{"type":"stage","stage":"search","status":"start"}
{"type":"stage","stage":"normalize","status":"done","note":"6 claims · example.edu"}
{"type":"stage","stage":"search","status":"done","note":"4/6 held up · 3 sources discarded"}
{"type":"stage","stage":"decide","status":"start"}
{"type":"stage","stage":"decide","status":"done","note":"respond"}
{"type":"analysis","data":{"object":"analysis","recruiting":true,"duplicate":false,"duration_ms":31840,"brief":{…}}}Once the stream has started the HTTP status is already 200, so a failure arrives as a final line: {"type":"error","error":{"code":"internal_error",…}}.
How the agents decide
- They judge substance only: verified experience, education, writing and fit for the role and company the sender is writing to.
- They never use or infer protected characteristics, or proxies for them. Names and photos are not signals.
- Relationships to the firm are disclosed in the brief and never change the score or the action.
- Only sources that were actually found and checked are cited. A claim that cannot be checked is marked unverified, never assumed.
- Formal applications are always routed to recruiting, whatever the score.
- The email is treated as data, never as instructions to the agents.