What you can do
Actions - search the catalogue, read one endpoint’s full contract, list platforms, list your team’s own registered tools, check the balance, and call an endpoint. Triggers - none. Use it through the assistant in chat or as an action node in an automation.Get your credential
1
Open treg
Sign in at treg.to and open Team → Settings.
2
Copy a token
Copy your team token, or mint one scoped to automated use with
treg org agent-new arg. An
org-scoped agent token is the better choice - it keeps working if you move teams.Connect
1
Open Integrations
In arg.ai, go to Settings → Integrations and click Connect on treg.
2
Paste the token
Enter your token in the API token field.
3
Save
arg.ai verifies it against your treg team and connects it.
Use it
- In chat: “Find a treg endpoint for TikTok profiles, check what it costs, then pull @tiktok.”
- In an automation: add a treg action node that calls a known endpoint id, and chain later steps off its
body.
How a call works
- Find the endpoint first. Search the catalogue by capability (“enrich a company by domain”), then read the endpoint’s contract for its parameters, example request, and exact per-call price.
- Call it by id. A call returns the provider’s response under
body, along withstatus, thecall_idfor your audit trail, andcost_micro/cost_usdfor what it actually drew. - Provider errors come back as data. If the upstream provider rejects the request, you get
ok: falseand its own error body, so the arguments can be corrected and retried. - treg’s own refusals fail the run. A rejected token, a spent balance, or an unknown endpoint id stops the action instead of returning an empty result.
- Calls are tagged for your ledger. Each call carries the arg.ai organization and workspace it came from, so
treg usage by-tagattributes the spend back to the team and workspace that caused it.