pub async fn resolve_key( state: &AppState, key: &str, ) -> Result<ApiCaller, AgentError>
The caller behind a well-formed key: unknown and revoked keys are refused.