Retrieve information about the authenticated client
import { crapi, Chainrails } from "@chainrails/sdk" Chainrails.config({ api_key: "your_api_key_here" }) const clientInfo = await crapi.client.getClientInfo() console.log("Client info:", clientInfo)
{ "id": "e1ee3675-cb26-4a76-8206-a84f86e85862", "name": "My Application", "created_at": "2025-01-01T00:00:00.000Z", "updated_at": "2025-11-11T01:31:23.390Z" }
Was this page helpful?