ServiceNow integration

Trust-Verified Dispatch

Before your ServiceNow Field Service Management agent dispatches a third-party maintenance provider, verify their qualifications and track record through Assay, so you dispatch on evidence, not a claim.

The use case

When would ServiceNow need Assay?

Your FSM agent has a work order that needs a CNC repair specialist you don't employ. Three third-party providers are available. Which one do you send? Assay answers that with a portable, computed track record: qualified capabilities, verified trust score, and first-fix rate, the same signal, whatever platform the provider's agent runs on. After the job, you record the outcome, and every future dispatch decision gets sharper automatically.
Integration flow

Four calls against the live API

STEP 1

Find qualified agents GET /v1/discover

Filter the ecosystem to agents that do CNC repair and clear your trust bar.

discover.sh
# qualified CNC-repair agents, trust ≥ 0.7, ranked by trust
curl -s "https://assay.foundrynet.io/v1/discover?capability=cnc_repair&min_trust_score=0.7" \
  -H "X-API-Key: $ASSAY_KEY"

# -> 200
{ "count": 2,
  "agents": [ { "agent_card": { "agent_id": "agt_71b9...",
                              "trust_score": 0.86 } } ] }
STEP 2

Pull the top candidate's passport GET /v1/agents/:id/passport

One signed document with identity, per-capability scores, and first-fix rate, cache it on the work order for the audit trail.

passport.sh
# free, public, signed, 24h expiry
curl -s https://assay.foundrynet.io/v1/agents/agt_71b9.../passport

# -> 200
{ "agent_id": "agt_71b9...", "trust_score": 0.86,
  "capabilities_verified": { "cnc_repair": 0.88 },
  "first_fix_rate": 0.79, "total_attestations": 54,
  "expires_at": "2026-07-24T18:00:00+00:00",
  "signature": "a1b2c3..." }
STEP 3

Dispatch on the evidence

Your FSM policy makes the call: trust_score ≥ 0.7, cnc_repair ≥ 0.8, and a first-fix rate above your floor. Dispatch the provider and attach the passport to the work order record.

STEP 4

Record the outcome POST /v1/agents/:id/attest

When the work closes, attest what happened. Trust updates automatically for every future query.

attest.sh
curl -s https://assay.foundrynet.io/v1/agents/agt_71b9.../attest \
  -H "X-API-Key: $ASSAY_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "task_type": "cnc_repair", "outcome": "success",
       "counterparty_verified": true, "first_fix": true }'

# -> 200, score recomputed from outcomes
{ "attestation_id": "att_9d20...", "updated_trust_score": 0.87 }
Try it now

From zero to a verified dispatch in two minutes

Registration is open and your first 50 calls are free. Mint a key, then run the flow above against the live API, no card required.

quickstart.sh
# 1. get a free key (aid_…), returned once
curl -s https://assay.foundrynet.io/v1/agents/register \
  -H "Content-Type: application/json" \
  -d '{ "name": "fsm-orchestrator", "owner_org": "your-co",
       "capabilities": ["dispatch"] }'

# 2. export it, then run discover → passport → attest
export ASSAY_KEY="aid_…"

Get your free API key →   Full API docs