Skip to main content

viewer

Returns the identity and organization context of the currently authenticated API client. Useful for LLM agents and integrations to discover ownerID (organization slug) without querying existing resources first. The ownerID returned here is the value to use in createStrategy, createBot, createExchange, and other mutations that require ownerID.

viewer: ViewerContext!

Type

ViewerContext object

Identity and organization context for the currently authenticated API client or user. Use this to discover your ownerID (organization slug) before creating resources.