Scans columns of values for sentinels
agents.writerslogic.com/api/v1/sentinel-values
Scans columns of values for sentinels. Values you declare in a dictionary (for example -1 means unknown in column age) are reported as asserted hits with their row paths. Other values that look like missing-data markers are reported separately as candidates, never asserted: the pandas default NA strings, spreadsheet error values, whitespace-only text, placeholder words, zero and epoch dates, fixed
POST
https://agents.writerslogic.com/api/v1/sentinel-valuesUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.writerslogic.com/api/v1/sentinel-values", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"columns":[{"name":"age","values":[34,29,-1,41,-1,52,38,27,45,33,30,36]},{"name":"joined","values":["2021-03-04","1970-01-01","2022-07-19","N/A"]}],"dictionary":[{"value":-1,"column":"age","meaning":"unknown"}]}),
});
console.log(await res.json());Example input
{
"columns": [
{
"name": "age",
"values": [
34,
29,
-1,
41,
-1,
52,
38,
27,
45,
33,
30,
36
]
},
{
"name": "joined",
"values": [
"2021-03-04",
"1970-01-01",
"2022-07-19",
"N/A"
]
}
],
"dictionary": [
{
"value": -1,
"column": "age",
"meaning": "unknown"
}
]
}