Semantic search
Natural language search across districts, schools, and contacts using vector embeddings. Returns entities ranked by relevance to the query, with matched snippets from crawled content. **1 credit per search.**
Natural language search across districts, schools, and contacts using vector embeddings. Returns entities ranked by relevance to the query, with matched snippets from crawled content. 1 credit per search.
API key (sk_live_... prefix). Generate keys in the UI under Settings > API Keys, then send it as Authorization: Bearer sk_live_...
In: header
Request Body
application/json
Natural language search query (min 2 characters)
2 <= lengthType of entity to search
"district" | "school" | "contact"Filter by state abbreviation (e.g., CO, TX)
Filter contacts/schools by parent district UUID
Filter contacts by parent school UUID
Max results to return (default 50, max 500)
1 <= value <= 500Response Body
application/json
application/json
application/json
curl -X POST "https://loading/api/v1/semantic-search" \ -H "Content-Type: application/json" \ -d '{ "query": "string", "entity_type": "district" }'{
"data": [
{
"property1": null,
"property2": null
}
],
"relevance": {
"property1": 0,
"property2": 0
},
"matches": {
"property1": [
{
"content": "string",
"source_type": "string",
"url": "string",
"source_id": "string"
}
],
"property2": [
{
"content": "string",
"source_type": "string",
"url": "string",
"source_id": "string"
}
]
},
"coverage": {
"embedded": -9007199254740991,
"total": -9007199254740991
},
"_access_summary": {
"total_results": -9007199254740991,
"unlocked": -9007199254740991,
"locked_processed": -9007199254740991,
"locked_unprocessed": -9007199254740991,
"unlock_all_cost": 0
}
}{
"error": "string",
"message": "string",
"statusCode": -9007199254740991
}{
"error": "string",
"message": "string",
"balance": 0,
"required": 0
}Get school vendor stack GET
Get technology/vendor stack for a school. Requires unlock.
Unlock entities POST
Spend credits to unlock entity intelligence or contact PII. Idempotent: unlocking an already-unlocked entity costs 0 credits. If an entity hasn't been scouted yet, this triggers the scouting pipeline. **Contact unlock requires the parent district or school to be unlocked first.** If the parent is locked, the response will be 403 PARENT_ENTITY_LOCKED. **Credit costs:** District (6), School (6), Contact (2)