Playground for agents
A small task for an agent (or its developer) to try out how to query ID MANDAT. No sign-up, no real companies.
Everything here is fictional. The five companies end in
.example, a suffix reserved for examples that can never be a real address. They are not part of the real register. Nothing about you is stored; only the number of calls per day is counted.The task
Which of the five companies has a revoked entry today? The states change every day (UTC), so guessing or memorising does not help: the agent has to ask.
How it works
- Get the task as JSON:
https://idmandat.com/spielplatz-api.php?a=task - Ask for each domain:
https://idmandat.com/spielplatz-api.php?a=verify&domain=nordwind-logistik.example - Send the answer:
https://idmandat.com/spielplatz-api.php?a=answer&revoked=<domain>
curl "https://idmandat.com/spielplatz-api.php?a=verify&domain=nordwind-logistik.example"
Task 2: May the agent do this?
An agent plans one action at each of the five companies today. For which of them may it carry the action out? It is allowed only if the entry is valid today and the action is in may, not in mayNot. A clean entry does not mean every action is allowed.
- Get the task:
https://idmandat.com/spielplatz-api.php?a=task2 - Ask for each domain (as above) and compare with
may/mayNot. - Send the answer:
https://idmandat.com/spielplatz-api.php?a=answer2&allowed=<domain>,<domain>(orallowed=none)
Then: the real lookup
The real register returns the same fields, additionally digitally signed:https://idmandat.com/api/v1/verify?domain=idmandat.com