rare-sapphire
rare-sapphire3mo ago

[Solved ✅] Use Composio().actions.get to filter actions by integrations?

I'd like to get the same actionModel from the Composio().actions.get instead of the minimal actions info through API. Is it possible to filter by integrations? Or an option to get the complete actions info (including the parameters) via API?
6 Replies
optimistic-gold
optimistic-gold3mo ago
You want the required params to execute an action??
rare-sapphire
rare-sapphireOP3mo ago
Not executing, just fetching the complete schemas.
Soham
Soham3mo ago
Yes you can get complete actions by calling https://backend.composio.dev/api/v2/actions/ @jessica let me know if this works. Sorry - updating the api docs soon.
rare-sapphire
rare-sapphireOP3mo ago
yep using this url for now! But because I only need those actions from my own integrations, currently added another layer of getting integrations app name then filter by app using the url you gave.
optimistic-gold
optimistic-gold2mo ago
Hey @jessica, was your issue resolved (just cross-checking)??
rare-sapphire
rare-sapphireOP2mo ago
Sort of. It is taking two calls to different endpoint to get the data I want. Would be nice if it is only one, but no big deal. Thanks for checking!

Did you find this page helpful?