POST
/
v0
/
websets
/
{id}
curl --request POST \
  --url https://api.exa.ai/websets/v0/websets/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "metadata": {}
}'
{
  "id": "<string>",
  "object": "webset",
  "status": "idle",
  "externalId": "<string>",
  "searches": [
    {
      "id": "<string>",
      "object": "webset_search",
      "status": "created",
      "query": "<string>",
      "entity": {
        "type": "company"
      },
      "criteria": [
        {
          "description": "<string>",
          "successRate": 50
        }
      ],
      "count": 2,
      "progress": {
        "found": 123,
        "completion": 50
      },
      "metadata": {},
      "canceledAt": "2023-11-07T05:31:56Z",
      "canceledReason": "webset_deleted",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "enrichments": [
    {
      "id": "<string>",
      "object": "webset_enrichment",
      "status": "pending",
      "websetId": "<string>",
      "title": "<string>",
      "description": "<string>",
      "format": "text",
      "options": [
        {
          "label": "<string>"
        }
      ],
      "instructions": "<string>",
      "metadata": {},
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "metadata": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Your Exa API key

Path Parameters

id
string
required

The id or externalId of the Webset

Body

application/json
metadata
object | null

Set of key-value pairs you want to associate with this object.

Response

200
application/json
Webset updated
id
string
required

The unique identifier for the webset

object
string
default:webset
required
Allowed value: "webset"
status
enum<string>
required

The status of the webset

Available options:
idle,
running,
paused
externalId
string | null
required

The external identifier for the webset

searches
object[]
required

The searches that have been performed on the webset.

enrichments
object[]
required

The Enrichments to apply to the Webset Items.

createdAt
string
required

The date and time the webset was created

updatedAt
string
required

The date and time the webset was updated

metadata
object

Set of key-value pairs you want to associate with this object.