https://linen.dev logo
Getting same response for all connection ids
# 🖥│support-forum
s
curl --location 'https://backend.composio.dev/api/v3/tools/execute/GOOGLEDRIVE_LIST_FILES' \ --header 'x-api-key: asdasdasdasdasaas' \ --header 'Content-Type: application/json' \ --data '{ "text":"get me all folders and its structure, like which folder is in which folder.", "connectedAccountId":"ca_WKIe3mzLW8EI", "entity_id":"d697b663-28de-408d-ab2c-bf0ee506d1b3" , "folder":"1yDWvYpLSkGCQv0KP8zTcnPA5oOVtRcJ0" } ' Hi, I am hitting this curl, I used to get correct responses from this api. But now even after changing the connection id, getting exactly same response. The google accounts are different for each connection id.
u
Hey @snigdha, the fields in your data are not the expected fields for Composio. Could you specify the doc you are referring for this endpoint?
Could you try this endpoint: https://docs.composio.dev/rest-api/tools/post-tools-execute-by-tool-slug
Copy code
curl -X POST https://backend.composio.dev/api/v3/tools/execute/tool_slug \
     -H "x-api-key: <api-key>" \
     -H "Content-Type: application/json" \
     -d '{
  "connected_account_id": "",
  "user_id": "",
  "version": "",
  "arguments": {
    "folderId": ""
  }
}'
s
i am not sure about the documentation, I asked composio AI about folder searches in googledrive. It gave curls. Also thanks this curl worked for me!
u
Awesome @User ! Also, we'd love to hear more about your use case with Composio and how we can improve. Would you be open for a quick 15min call? https://calendly.com/rahul-lingala-composio/new-meeting