cd /news/ai-agents/how-to-give-an-ai-agent-current-data… · home › topics › ai-agents › article
[ARTICLE · art-182379] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

How to give an AI agent current data about a place: open or closed, hours, phone

A developer demonstrated a place-data enrichment API from Voygr that returns current business facts—open/closed status, hours, phone, and website—in a single call, with per-attribute confidence scores and explicit abstention reasons when data is missing. In a sample run against Tartine Bakery, the API returned an open status with 0.9985 existence confidence and high-confidence hours and phone data. The service charges one credit per place regardless of how many attributes are requested and supports batch jobs of up to 10,000 places.

key takeaway

Voygr's /v1/enrich endpoint returns open/closed status, hours, phone and website for a place in one call, with per-attribute confidence and null-plus-abstain_reason fields so agents can decline to answer rather than hallucinate.

by read1 min views1 publishedDec 5, 2026

AI agents often answer place questions from stale data: hours that changed, a phone number that's gone, a café that closed months ago. Here's how to give an agent current facts about a business with one API call, and how to read the answer. The output below is a real run from 5 December 2026.

curl -X POST https://api.voygr.tech/v1/enrich \
  -H "X-API-Key: $VOYGR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"poi_name": "Tartine Bakery",
       "address": "600 Guerrero St, San Francisco, CA 94110",
       "attributes": ["open_closed", "opening_hours", "phone", "website"]}'
"operational_status": {"status": "open", "closure_reason": null},
"status": {"existence_confidence": 0.9985},
"attributes": {
  "opening_hours": {"value": {"days": {"monday": [{"open": "07:30", "close": "18:00"}], "...": "..."}},
                    "confidence": "high"},
  "phone":   {"value": {"number": "+14154872600"}, "confidence": "high"},
  "website": {"value": {"url": "https://tartinebakery.com"}, "confidence": "medium"}
}

operational_status.status comes first.open, closed, unknown or not_exists. If it's closure_reason tells you why (for example permanent or relocated). existence_confidence``confidence`` null with an abstain_reason such as not_found, so the agent knows to say "I couldn't find the hours" instead of making them up.open_closed, opening_hours, phone, website, socials) cost one credit per place, however many you ask for.pois and get a rows-by-attributes table back. Batch jobs take up to 10,000 places. The API docs have the full reference, and a free API key is enough to try it.

── more in #ai-agents 4 stories · sorted by recency
── more on @voygr 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-to-give-an-ai-ag…] indexed:0 read:1min 2026-12-05 · —