Search records
curl --request POST \
--url https://app.nex.ai/api/developers/v1/search \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "john doe"
}
'import requests
url = "https://app.nex.ai/api/developers/v1/search"
payload = { "query": "john doe" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'john doe'})
};
fetch('https://app.nex.ai/api/developers/v1/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.nex.ai/api/developers/v1/search"
payload := strings.NewReader("{\n \"query\": \"john doe\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"results": {
"person": [
{
"id": "1001",
"primary_value": "John Doe",
"matched_value": "John Doe",
"score": 0.95,
"entity_definition_id": "10"
}
],
"company": [
{
"id": "2001",
"primary_value": "Doe Industries",
"matched_value": "Doe Industries",
"score": 0.72,
"entity_definition_id": "11"
}
]
},
"errored_search_types": []
}{
"code": 123,
"message": "<string>"
}{
"code": 123,
"message": "<string>"
}{
"code": 123,
"message": "<string>"
}Search
Search records
Search across all records in the workspace. Results are grouped by object type (e.g., person, company). Partial results are returned if some search types fail.
POST
/
v1
/
search
Search records
curl --request POST \
--url https://app.nex.ai/api/developers/v1/search \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "john doe"
}
'import requests
url = "https://app.nex.ai/api/developers/v1/search"
payload = { "query": "john doe" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'john doe'})
};
fetch('https://app.nex.ai/api/developers/v1/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.nex.ai/api/developers/v1/search"
payload := strings.NewReader("{\n \"query\": \"john doe\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"results": {
"person": [
{
"id": "1001",
"primary_value": "John Doe",
"matched_value": "John Doe",
"score": 0.95,
"entity_definition_id": "10"
}
],
"company": [
{
"id": "2001",
"primary_value": "Doe Industries",
"matched_value": "Doe Industries",
"score": 0.72,
"entity_definition_id": "11"
}
]
},
"errored_search_types": []
}{
"code": 123,
"message": "<string>"
}{
"code": 123,
"message": "<string>"
}{
"code": 123,
"message": "<string>"
}Authorizations
API key for authentication (format: "Bearer YOUR_API_KEY")
Body
application/json
Search query
Search query (1-500 characters)
Response
Search results grouped by type
Results grouped by object type (e.g., 'person', 'company')
Hide child attributes
Hide child attributes
Search types that encountered errors (partial results returned)
Last modified on February 17, 2026
⌘I