Skip to main content
POST
/
search
/
export
Search Export
curl --request POST \
  --url https://api.sixtyfour.ai/search/export \
  --header 'Content-Type: application/json' \
  --data '
{
  "search_id": "<string>",
  "parsed_query": {},
  "mode": "company",
  "max_results": 1000,
  "exclude_public_ids": [
    "<string>"
  ],
  "exclude_entity_ids": [
    "<string>"
  ],
  "exclude_list_ids": [
    "<string>"
  ]
}
'
{
  "task_id": "<string>",
  "status": "<string>",
  "message": "<string>"
}

Headers

x-api-key
string | null

Body

application/json

Request to export search results as CSV.

search_id
string | null

Search history ID returned by a previous search. Replays only the query shape; pass exclusions again on this request if they should apply.

parsed_query
Parsed Query · object

Structured filter set returned by a previous search.

mode
enum<string>
default:company

Search mode; inferred from DB when not set.

Available options:
people,
company
max_results
integer
default:1000

Maximum number of results to return across pages.

exclude_public_ids
string[] | null

People-mode inline identifiers to exclude from results, applied as a post-filter. Accepts LinkedIn public IDs or profile URLs. For company searches, use exclude_entity_ids. Max 1000.

Maximum array length: 1000
exclude_entity_ids
string[] | null

Inline identifiers to exclude from results, applied as a post-filter. People mode: LinkedIn public IDs or profile URLs. Company mode: numeric LinkedIn company IDs, company URLs/slugs, or exact website domains (values that resolve to no or multiple companies are ignored). Max 1000.

Maximum array length: 1000
exclude_list_ids
string[] | null

Saved exclusion-list IDs to apply as a post-filter. Each list's entity type must match the search mode (person lists for people searches, company lists for company searches). Max 5.

Maximum array length: 5

Response

Successful Response

Response for an async save/export request.

task_id
string
required

Async task ID; poll for status with this value.

status
string
required

Initial task status, typically 'queued'.

message
string
required

Human-readable status message.