GET /jobs/<job_id>/assess/<github_username>
Assess how well a specific GitHub user fits a stored job description using AI analysis.
This endpoint provides detailed AI-powered assessment including job fit scoring, hireability analysis, and personalized outreach email templates.
🔑 Credits
- Cost: 1 credit per assessment
- Credit Pool: Uses assess-specific credits if configured, otherwise falls back to general credits
- Pre-check: Credits are verified before processing the request
- Separate Tracking: Assessment operations are tracked separately from other endpoints
- Separate Limit: Assess 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 |
github_username | string | ✅ Yes | GitHub username to assess (e.g., ‘torvalds’) |
Query Parameters
Name | Type | Required | Description |
---|---|---|---|
api_key | string | ✅ Yes | API key for authentication (can also be in x-api-key header) |
summary_length | integer | ❌ No | Length of generated summary. Default: 1024 , Range: 30-8192 |
context | string | ❌ No | Additional context for assessment (max 1024 characters) |
additional_context | string | ❌ No | Alias for context parameter |
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 (increments by 1) |
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 the developer’s complete profile with AI-generated assessment.Assessment Fields
The AI assessment adds these specific fields to the user profile:Field | Type | Range | Description |
---|---|---|---|
fit | integer | 0-10 | How well the candidate matches the job requirements |
fit_summary | string | - | 1-2 sentence explanation referencing specific technologies/repositories |
hireability | integer | 0-10 | General hireability score based on GitHub presence |
email_copy | string | - | Personalized 2-3 sentence outreach email template |
Examples
Using cURLAssessment AI Features
Advanced Analysis:- Technology Matching: Identifies specific technologies from candidate’s repositories
- Experience Weighting: Considers project complexity and contribution history
- Role Analysis: Distinguishes between maintainers, contributors, and users
- Impact Assessment: Evaluates repository stars, forks, and community engagement
- Recency Scoring: Weights recent activity more heavily than older contributions
- Repository-Specific: References actual projects and technologies
- Achievement-Based: Highlights notable accomplishments and contributions
- Role-Relevant: Connects candidate’s experience to job requirements
- Professional Tone: Generates appropriate, engaging outreach language
Error Responses
Status Code | Description |
---|---|
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Missing API key |
403 | Forbidden - Invalid API key or access denied to job |
404 | Not Found - Job ID or GitHub username not found |
500 | Internal Server Error |
Usage Notes
Credit Tracking:- Assessment credits are tracked separately in the
X-Credits-Used-Assess
header - General
X-Credits-Used
header includes assessment credits in the total - Each successful assessment costs exactly 1 credit
- Failed assessments (404, 500) do not consume credits
- Provide additional context to improve assessment quality
- Examples: “Remote position”, “Series A startup”, “Technical leadership role”
- Limited to 1024 characters
- Optional but recommended for better results
- Assessment typically takes 3-8 seconds due to AI analysis
- Results are not cached - each call performs fresh analysis
- Token usage is logged for cost monitoring
Next Steps
After assessing candidates:- Use the email template from
email_copy
for outreach - Compare fit scores across multiple candidates
- Review specific repositories mentioned in
fit_summary
- Get complete profiles using User Lookup for top candidates
- Search for similar profiles using Job Search based on high-scoring candidates