Agents

PUT /v2/agents/{agent_id}

Update a web scraping agent configuration, fields and browser settings.

Request

  • Base URL
    https://api.agenty.com
  • Auth
    HTTP bearer

Path parameters

agent_idstring required

Request body

unknown required

Example request

{
  "name": "Product scraper",
  "type": "scraping",
  "config": {
    "url": "https://example.com",
    "collections": [
      {
        "name": "Products",
        "fields": [
          {
            "name": "title",
            "type": "CSS",
            "selector": "h1",
            "extract": "TEXT"
          },
          {
            "name": "price",
            "type": "CSS",
            "selector": ".price",
            "extract": "TEXT"
          }
        ]
      }
    ]
  }
}

Response

OR
OR
OR
OR

Changes

No recorded changes to this operation across all 1 revision of this API.