Date & Time Accuracy

API name: date_time_accuracy ยท Category: Accuracy

Flag dates and times that are wrong on their face โ€” impossible dates, weekday mismatches, inverted ranges, duration contradictions, bad timezone conversions, and missing timezone or AM/PM information. For what this agent does and why it matters, see Date & Time Accuracy in the Agent Catalog.

What it returns

The run status plus one issue per flagged date or time โ€” its location in the text, the issue type, and a confidence score. The agent takes no configuration and never consults an external source of truth or the current date, so a given input always produces the same result.

Run this agent

Agents are run by ID, but you never need to hardcode one: resolve the ID from the agentโ€™s stable name (date_time_accuracy) with GET /agents, then call POST /agents/{agent_id}/run. Pass wait=true to block until the run completes; omit it to get a workflow_id back immediately and track the run with GET /agents/workflows/{workflow_id} (or a webhook_url in the request body).

TOKEN="YOUR_TOKEN"
# Resolve the agent ID by name
AGENT_ID=$(curl -s "https://api.markup.ai/agents?page_size=100" \
-H "Authorization: Bearer $TOKEN" \
| jq -r '.agents[] | select(.name == "date_time_accuracy") | .id')
# Run the agent and wait for the result
curl -X POST "https://api.markup.ai/agents/$AGENT_ID/run?wait=true" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"text": "Your content to check."}'

Prefer MCP? On the hosted MCP server, run this agent with markupai_run_agents and agents: ["date_time_accuracy"], or let markupai_review select it from your goal โ€” see the MCP overview.