curl --request GET \
--url https://{deployment}.convex.site/v1/user/byok/{provider}{
"hasKey": true,
"apiKey": "sk-..."
}Check whether the authenticated user has a BYOK key stored for the given provider, and return the decrypted key. Used by the CLI to poll for a newly-added key after directing the user to the dashboard.
curl --request GET \
--url https://{deployment}.convex.site/v1/user/byok/{provider}{
"hasKey": true,
"apiKey": "sk-..."
}