{
  "name": "Export three ModelScope search results to CSV",
  "nodes": [
    {
      "id": "1aa606b8-7fac-4c27-9de0-93dade6247a3",
      "name": "Run manually",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [0, 0],
      "parameters": {}
    },
    {
      "id": "4d02bfcf-0cca-4fd5-aa55-726b89548194",
      "name": "Run ModelScope and download CSV",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [260, 0],
      "parameters": {
        "method": "POST",
        "url": "https://api.apify.com/v2/actors/vm7r2D9VXZsEnu1bT/run-sync-get-dataset-items",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {"name": "format", "value": "csv"},
            {"name": "attachment", "value": "true"},
            {"name": "limit", "value": "3"},
            {"name": "fields", "value": "model_id,name,license,downloads,likes,url"},
            {"name": "maxTotalChargeUsd", "value": "0.00605"},
            {"name": "timeout", "value": "30"}
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\"mode\":\"models\",\"query\":\"Qwen\",\"maxItems\":3}",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file",
              "outputPropertyName": "data"
            }
          },
          "timeout": 50000
        }
      },
      "retryOnFail": false
    }
  ],
  "connections": {
    "Run manually": {
      "main": [[{"node": "Run ModelScope and download CSV", "type": "main", "index": 0}]]
    }
  },
  "active": false,
  "settings": {"executionOrder": "v1"},
  "pinData": {}
}
