Pull a custom component library?

I'm wondering if there is a way to pull an existing custom component library down from Retool? I was playing with CCL's a while ago and since it was just me testing, I didn't keep my copy of the repo, but the CCL still exists in Retool.

I'm now working on something else, and know I figured out the same issue while I was testing previously, but since I deleted my repo I don't have the code any more. Am curious if there is a way to pull that existing CCL down so I can see my old code?

Thanks in advance!

1 Like

Hi @cpolanish! Welcome to the community. :wave:

You're in luck! I initially couldn't think of a way to do this but I talked to a few folks and realized that there's no reason you can't use the same set of API endpoints that the retool-ccl library uses. As long as you have a valid API key still, you can hit those endpoints with whatever tool you want and retrieve the code associated with any existing library.