flat-fuchsia
flat-fuchsia2mo ago

Getting full response schema when retrieving actions via /actions/id. Is it possible?

Currently, when retrieving an action using actions/id endpoint, the response schema properties for given action has data, successful or not and possible error. The response data is not defined. - at least for the actions I've checked so far. Is this possible? Our use case requires users to know exact response schema. https://backend.composio.dev/api/v2/actions/GITHUB_SEARCH_REPOSITORIES { "description": "Search For Git Hub Repositories By Criteria, Returning Up To 100 Results Per Page. Search Includes Text Match Metadata For Names And Descriptions. Example: Find Popular Tetris Repositories In Assembly, Sorted By Stars.", "displayName": "Search repositories", "logo": "https://cdn.jsdelivr.net/gh/ComposioHQ/open-logos@master/github.png", "name": "GITHUB_SEARCH_REPOSITORIES", ... ... "response": { "properties": { ** "data": { "title": "Data", "type": "object" },** "successful": { "description": "Whether or not the action execution was successful or not", "title": "Successful", "type": "boolean" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Error if any occurred during the execution of the action", "title": "Error" } }, "required": [ "data", "successful" ], "title": "SearchRepositoriesResponse", "type": "object" }, ... .. }
2 Replies
flat-fuchsia
flat-fuchsiaOP4w ago
any idea on this? we are hoping to integrate composio with https://getinsightai.com but really need types for response.data
getinsightai.com
AI Data Analyst, 24/7 insights on your business data
Unlock the full potential of your data to make faster, smarter decisions.
optimistic-gold
optimistic-gold3w ago
Hey @ferhat_gulbahar, could you tell us now if it works for you or not??

Did you find this page helpful?