{
  "opencollection": "1.0.0",
  "info": {
    "name": "Composio Platform Account Management Files API",
    "version": "3.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List files with optional app and action filters",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://backend.composio.dev/api/v3/files/list",
            "params": [
              {
                "name": "toolkit_slug",
                "value": "",
                "type": "query",
                "description": "Filter files by app slug. Example: \"file-converter\""
              },
              {
                "name": "tool_slug",
                "value": "",
                "type": "query",
                "description": "Filter files by action slug. Example: \"convert-to-pdf\""
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of items per page, max allowed is 1000"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor for pagination. The cursor is a base64 encoded string of the page and limit. The page is the page number and the limit is the number of items per page. The cursor is used to paginate through the items. The cursor is not required for the first page."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-api-key",
              "value": "{{x-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Retrieves a list of files associated with the authenticated project. Results can be filtered by toolkit and tool slugs."
        },
        {
          "info": {
            "name": "Create presigned URL for request file upload to S3",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://backend.composio.dev/api/v3/files/upload/request",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "x-api-key",
              "value": "{{x-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Generates a presigned URL for uploading a file to S3. This endpoint handles deduplication by checking if a file with the same MD5 hash already exists."
        }
      ]
    }
  ],
  "bundled": true
}