DELETE
/
v0
/
imports
/
{id}
cURL
curl --request DELETE \
  --url https://api.exa.ai/websets/v0/imports/{id} \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "object": "import",
  "status": "pending",
  "format": "csv",
  "entity": {
    "type": "company"
  },
  "title": "<string>",
  "count": 123,
  "metadata": {},
  "failedReason": "invalid_format",
  "failedAt": "2023-11-07T05:31:56Z",
  "failedMessage": "<string>",
  "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 of the Import

Response

200 - application/json

Import deleted successfully

id
string
required

The unique identifier for the Import

object
enum<string>
required

The type of object

Available options:
import
status
enum<string>
required

The status of the Import

Available options:
pending,
processing,
completed,
failed
format
enum<string>
required

The format of the import.

Available options:
csv,
webset
entity
object
required

The type of entity the import contains.

title
string
required

The title of the import

count
number
required

The number of entities in the import

metadata
object
required

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

failedReason
enum<string> | null
required

The reason the import failed

Available options:
invalid_format,
invalid_file_content,
missing_identifier
failedAt
string<date-time> | null
required

When the import failed

failedMessage
string | null
required

A human readable message of the import failure

createdAt
string<date-time>
required

When the import was created

updatedAt
string<date-time>
required

When the import was last updated