Skip to main content
POST
/
v1
/
context
/
list
/
jobs
Create an AI List
curl --request POST \
  --url https://app.nex.ai/api/developers/v1/context/list/jobs \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "all companies who have asked for a contract",
  "object_type": "company",
  "limit": 20,
  "include_attributes": true
}
'
{
  "message": {
    "job_id": "12345678901234567",
    "status": "pending"
  }
}

Authorizations

Authorization
string
header
required

API key for authentication (format: "Bearer YOUR_API_KEY")

Body

application/json

AI list generation parameters

query
string
required

Natural language query to search items (e.g., 'all companies', 'high priority contacts')

object_type
string

Type of object to search - 'contact' or 'company' (default: 'contact')

limit
integer
default:50

Number of results (default: 50, max: 100)

include_attributes
boolean
default:false

If true, includes all entity attribute values in response (default: false)

Response

Job created successfully

message
object

Response wrapper