Fetch an async search's status + results
Returns the job's current state. While pending/running the body carries empty records/sourceStatus and a zeroed counts; on error it carries an error string; when finished it is the full SearchResponse.
get/v1/searches/{searchId}
Request
- Base URL: https://api.offendersearch.app
- URL: https://api.offendersearch.app/v1/searches/{searchId}
- Auth: API key in header X-API-Key
Path parameters
searchIdstring required
Response
Search status + results
Example response
{
"searchId": "srch_9f2c1a7b",
"usage": {
"liveChecks": 1,
"liveChargeUsd": 0.02,
"display": "1 live checks · $0.02"
},
"meterEvents": [
{
"kind": "live_source",
"quantity": 1,
"chargeCeilingUsd": 2
}
],
"sourceStatus": [
{
"source": "IL"
}
],
"records": [
{
"recordId": "rec_ab12cd34ef56gh78ij90",
"uuid": "IL:X24A0926",
"matchDetail": {
"strategies": {
"lastName": "exact",
"firstName": "nickname"
},
"fieldsPresent": [
"lastName",
"firstName",
"dob"
]
},
"nicknames": [
"john",
"johnny",
"jack"
],
"birthYear": 1976,
"marks": "Tattooed Arm, left upper; Scar on Chest; Pierced ear, left",
"addresses": [
{
"type": "residence"
}
],
"registrationState": "FL",
"addressStates": [
"FL",
"GA"
],
"stateData": {
"shoeSize": "10½",
"build": "Large",
"shoeWidth": "D"
},
"source": {
"jurisdiction": "IL"
},
"sources": [
{
"jurisdiction": "IL"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.