GET /jobs/<job_id>/search
Find candidates matching a stored job description using AI-powered vector search.
This endpoint uses advanced semantic search to find developer profiles that best match your job requirements, ranked by relevance using machine learning models.
🔑 Credits
- Cost: 1 credit per candidate returned (e.g., 50 candidates = 50 credits)
- Credit Pool: Uses search-specific credits if configured, otherwise falls back to general credits
- Pre-check: Credits are verified before processing the request
- Separate Limit: Search operations can have their own credit limit independent of other endpoints
Authentication
API key can be provided in two ways:- Header:
x-api-key: YOUR_API_KEY
- Query parameter:
api_key=YOUR_API_KEY
URL Parameters
Name | Type | Required | Description |
---|---|---|---|
job_id | string | ✅ Yes | The job ID from /jobs/create |
Query Parameters
Name | Type | Required | Description |
---|---|---|---|
api_key | string | ✅ Yes | API key for authentication (can also be in x-api-key header) |
size | integer | ❌ No | Number of candidates to return. Default: 100 , Range: 1-1000 |
summary_length | integer | ❌ No | Length of generated summary. Default: 1024 , Range: 30-8192 |
countries | array | ❌ No | Filter by country codes (e.g., ['US', 'CA', 'UK'] ) |
segments | array | ❌ No | Filter by data segments (integers 0-9999 ) |
required_fields | array | ❌ No | Only return profiles containing these fields |
Response Headers
Header | Description |
---|---|
X-Credits-Used | Total credits used by your API key across all endpoints |
X-Credits-Used-User | Credits used specifically for /user endpoint |
X-Credits-Used-Search | Credits used specifically for /jobs/search endpoint |
X-Credits-Used-Assess | Credits used specifically for /jobs/assess endpoint |
X-Credits-Remaining | Remaining general credits (-1 for unlimited accounts) |
X-Credits-Remaining-Search | Remaining search-specific credits (if configured) |
X-Credits-Remaining-Assess | Remaining assess-specific credits (if configured) |
X-Calls-User | Total number of calls made to /user endpoint |
X-Calls-Search | Total number of calls made to /jobs/search endpoint |
X-Calls-Assess | Total number of calls made to /jobs/assess endpoint |
Response
Returns an array of matching developer profiles ranked by relevance.Examples
Using cURLAdvanced Filtering
Country FilteringError Responses
Status Code | Description |
---|---|
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Missing API key |
403 | Forbidden - Invalid API key or access denied |
404 | Not Found - Job ID not found |
500 | Internal Server Error |
AI-Powered Matching
The search uses advanced semantic similarity to match candidates:- Vector Embeddings: Job descriptions and developer profiles are converted to high-dimensional vectors
- Semantic Search: Matches based on meaning, not just keywords
- ML Ranking: Results ranked by relevance using machine learning models
- Technology Detection: Identifies relevant technologies and skills automatically
- Experience Weighting: Considers experience level and project complexity
Performance Notes
- Response Time: Typically 1-3 seconds depending on search complexity
- Relevance Scoring: Results are pre-ranked by AI similarity
- Caching: Frequent searches are cached for improved performance
- Pagination: Use
size
parameter to control result count vs. performance - Filtering: Country/segment filters applied before expensive AI operations
Next Steps
After finding candidates, use theirgithub_username
with:
- Job Assessment - Get detailed AI assessment for specific candidates
- User Lookup - Get complete profile data for interesting candidates