Retool API - Scopes and remote vector creation

Hi there!

We recently started using vectors and our team love that new feature.

We want to automatise the vector creation process and would love some help as we're a bit lost with that retool API process.

  • Can we create a new vector resource using the Retool API + include pdfs / urls remotely to the vector?
  • If so, which plan do we need to get the right scopes? Our understanding is that the scopes are limited with the business plan but couldn't find more info in the API docs about scopes for each plan.

Many thanks
Jerome

Hi @Jeje,

Unfortunately you cannot currently create a new vector resource using the Retool API. And you are correct in saying that you do not have access to the Retool API on your business plan (you would need to upgrade to the Enterprise plan to get access).

One thing that you might want to consider in automating your vector creation process might be to create a workflow to loop through your list of pdfs. Having said that, however, you may run into performance / timeout issues with the workflow and creating them manually may be your best option. But give it a try!

Let me know how it goes! :grinning:

Hi @Linda , many thanks for coming back to us.

Okay great, we will give it a try!

We are thinking about this approach as we'd love to embed an app on our website and let external users use that app that would contain their bespoke vector.

When/If the Retool API can achieve that, it would be a lot easier to keep vectors up to date (otherwise each user might have to email us every time they want a new pdf uploaded etc, which is just too time consuming for our team).

Have a great week!
Jerome

Yes @Jeje,
In theory I think that would work. You could have users upload pdfs and then create a workflow to create vectors from them. I will test this out on my end this afternoon.

1 Like

Oh I see what you mean, thank you @lindakwoo that would be great!

We'll look into workflows as a next step for this use case then!

Kind regards
Jerome

Oh actually just following up on this @lindakwoo just noticed Kent replied to a similar question just yesterday:

so that's working perfectly!