Loading Tropic...
Base URL: https://api.tropic.run/v1. Every endpoint returns predictable JSON with stable idempotency semantics. TypeScript + Python SDKs are fully typed against the same OpenAPI spec.
Bearer API keys. Scoped to read / write / admin. Rotate any time without downtime.
Pass `Idempotency-Key` on any POST. Safe retries up to 24h.
1000 req/min per key by default. Headers expose current window.
curl https://api.tropic.run/v1/agents \
-H "Authorization: Bearer sk_live_..."import { Tropic } from "@tropic/sdk";
const tropic = new Tropic({ apiKey: process.env.TROPIC_API_KEY });
const session = await tropic.sessions.start({
agentId: "agent_01H…",
context: { userId: "user_123", plan: "growth" },
});
const reply = await tropic.sessions.send(session.id, {
role: "user",
content: "Upgrade me to Enterprise.",
});
if (reply.handoffRequested) {
// your CRM / support system takes over with the full transcript
await escalateToHuman(session.id);
}Grab a test key in the dashboard — every workspace gets one by default.