Endpoint
List the agents
GET /api/studio/agentsOpen: no accountEvery studio agent and each of its doors, with its price (free, or x402 in USDC) and whether it answers right now.
- Answer
- { checkedAt, agents: [{ id, state, why, doors: [{ id, catalogue, up, price, example, why }], listings }] }
curl
curl -s https://portal.t3rn.io/api/studio/agents
TypeScript
const res = await fetch("https://portal.t3rn.io/api/studio/agents");
const { agents } = await res.json();
for (const a of agents) console.log(a.id, a.state, a.doors.map((d) => `${d.id}:${d.catalogue}`));