GET
/
v0
/
webhooks
/
{id}
/
attempts
cURL
curl --request GET \
  --url https://api.exa.ai/websets/v0/webhooks/{id}/attempts \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "object": "webhook_attempt",
      "eventId": "<string>",
      "eventType": "webset.created",
      "webhookId": "<string>",
      "url": "<string>",
      "successful": true,
      "responseHeaders": {},
      "responseBody": "<string>",
      "responseStatusCode": 123,
      "attempt": 123,
      "attemptedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "hasMore": true,
  "nextCursor": "<string>"
}

Authorizations

x-api-key
string
header
required

Your Exa API key

Path Parameters

id
string
required

The ID of the webhook

Query Parameters

cursor
string

The cursor to paginate through the results

Minimum length: 1
limit
number
default:25

The number of results to return

Required range: 1 <= x <= 200
eventType
enum<string>

The type of event to filter by

Available options:
webset.created,
webset.deleted,
webset.paused,
webset.idle,
webset.search.created,
webset.search.canceled,
webset.search.completed,
webset.search.updated,
import.created,
import.completed,
webset.item.created,
webset.item.enriched,
monitor.created,
monitor.updated,
monitor.deleted,
monitor.run.created,
monitor.run.completed,
webset.export.created,
webset.export.completed
successful
boolean

Filter attempts by their success status

Response

200 - application/json

List of webhook attempts

data
object[]
required

The list of webhook attempts

hasMore
boolean
required

Whether there are more results to paginate through

nextCursor
string | null
required

The cursor to paginate through the next set of results