Quickstart
This takes about five minutes. All examples use curl against the agents host: agents. in front of this site's own domain. The API reference shows every call with the full URL filled in.
1. Get a test key
Fill in the sign-up form with your email, company and what your agents do. You get back a test key that starts with wdl_test_. Test keys work on the Sandbox plan; they are for trying the API, and no app is ever really called with them.
Every request sends the key as a bearer token:
export WARDLACE_KEY="wdl_test_..."
2. List the connectors
curl -s https://agents.steadyzinc.store/v1/connectors \
-H "Authorization: Bearer $WARDLACE_KEY"
3. Create a policy
A policy grants one agent a set of actions on one connector. This one lets the support-triage agent read and update tickets, and asks a human before it closes one.
curl -s https://agents.steadyzinc.store/v1/policies \
-H "Authorization: Bearer $WARDLACE_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"triage tickets","agent_id":"support-triage","connector":"ticketing","actions":["ticket.read","ticket.update"],"approval_required":["ticket.close"]}'
4. Check an action
curl -s https://agents.steadyzinc.store/v1/checks \
-H "Authorization: Bearer $WARDLACE_KEY" \
-H "Content-Type: application/json" \
-d '{"agent_id":"support-triage","connector":"ticketing","action":"ticket.update","resource":"ticket:4812"}'
The answer has a decision of allow, deny or needs_approval, the id of the policy that decided it, and a check_id you will find in the audit log.
5. Read the audit log
curl -s "https://agents.steadyzinc.store/v1/audit-events?agent_id=support-triage" \
-H "Authorization: Bearer $WARDLACE_KEY"
Next: writing policies, the checks API and the audit log. Every endpoint and form, with a curl example for each, is listed in the API reference; the machine-readable version is the OpenAPI document on the agents host.