# Authentication Source: https://docs.talentreview.ai/agents/authentication API keys for write operations on the Agent API Reading jobs is public. **Write operations** (applying to a job, creating a job) require an API key, sent in the `x-api-key` header. ```bash theme={null} curl https://api.talentreview.ai/agents/jobs \ -H "x-api-key: YOUR_API_KEY" ``` | Operation | Method | Auth | | - | - | - | | Browse, search, get a job | `GET` | None | | Apply to a job | `POST /agents/jobs/{id}/apply` | `x-api-key` | | Create a job | `POST /agents/jobs` | `x-api-key` | > [!NOTE] > > An API key is scoped to a user. Applying uses that user's profile and active > resume; creating requires recruiter permissions on the key's account. > [!WARNING] > > Keep API keys server-side. Never embed a key in client-side code or a public > page. A missing or invalid key returns `401 unauthenticated` (see > [Errors](/agents/errors)). # Endpoints Source: https://docs.talentreview.ai/agents/endpoints Browse, search, read, apply to, and create jobs All responses are JSON. Job objects include `id`, `title`, `description`, `organization`, `location`, `type`, `salary`, `skills`, `experience`, and `closing_date`. ## Browse jobs Active listings with optional filters. ```text theme={null} GET /agents/jobs ``` **organization\_id** `string` Filter by organization **location\_id** `string` Filter by location **job\_type** `string` One of `full_time`, `part_time`, `contract`, `internship`, `freelance`, `volunteer` **experience** `string` Filter by experience level **hashtags** `string` Comma-separated tags **project\_id** `string` Filter by project **page** `integer` (default: 1) Page number **limit** `integer` (default: 10) Results per page ```bash theme={null} curl "https://api.talentreview.ai/agents/jobs?job_type=full_time&limit=5" ``` ## Search jobs Keyword search with advanced filters. ```text theme={null} GET /agents/jobs/search?q={query} ``` **q** `string` *required* Search query **job\_types** `string` Comma-separated job types **location\_ids** `string` Comma-separated location IDs **experiences** `string` Comma-separated experience levels **skills** `string` Comma-separated skills **organization\_ids** `string` Comma-separated organization IDs **page** `integer` (default: 1) Page number **limit** `integer` (default: 10) Results per page ```bash theme={null} curl "https://api.talentreview.ai/agents/jobs/search?q=backend%20engineer&skills=Go" ``` ## Get a job ```text theme={null} GET /agents/jobs/{job_id} ``` ```bash theme={null} curl "https://api.talentreview.ai/agents/jobs/01H..." ``` > [!NOTE] > > `job_id` must be a well-formed job id. A malformed or unknown id returns > `404 not_found` (see [Errors](/agents/errors)). ## Apply to a job Submits an application using the authenticated user's profile and active resume. ```text theme={null} POST /agents/jobs/{job_id}/apply ``` Requires an `x-api-key`. The user must have an active resume on file, the job must be active, and a user cannot apply to their own posting. ```bash theme={null} curl -X POST "https://api.talentreview.ai/agents/jobs/01H.../apply" \ -H "x-api-key: YOUR_API_KEY" ``` ## Create a job Post a new role. Requires an `x-api-key` with recruiter permissions. ```text theme={null} POST /agents/jobs ``` **Required fields:** `title`, `organization_id`, `location_id`, `type`, `salary`. ```bash theme={null} curl -X POST "https://api.talentreview.ai/agents/jobs" \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "title": "Senior Backend Engineer", "description": "Build scalable APIs and services", "department": "Engineering", "location_id": "01H...", "type": "full_time", "salary": "120000-160000", "experience": "5+ years", "skills": ["Go", "PostgreSQL", "Kubernetes"], "organization_id": "01H...", "tags": ["backend"], "responsibilities": ["Design and build microservices"], "closing_date": "2026-12-31" }' ``` ## Resolving organization and location IDs `organization_id` and `location_id` are required to create a job and useful as filters. Fetch valid ids from the Connect-RPC services: ```bash List organizations theme={null} curl -X POST "https://api.talentreview.ai/organization.v1.OrganizationService/List" \ -H "Content-Type: application/json" \ -d '{"pagination": {"pagination": {"page": 1, "limit": 50}}}' ``` ```bash List locations theme={null} curl -X POST "https://api.talentreview.ai/location.v1.LocationService/List" \ -H "Content-Type: application/json" \ -d '{"pagination": {"pagination": {"page": 1, "limit": 50}}}' ``` Organizations return `id`, `name`, `website`, `industry`, `size`, and more. Locations return `id`, `name`, `is_remote`, `workplace_type`, and a nested `address`. # Errors Source: https://docs.talentreview.ai/agents/errors The structured error shape and status codes the Agent API returns Every error response is JSON with a machine-readable `code`, a human `message`, and, where useful, a `hint` on how to resolve it. The HTTP status matches the `code`. ```json theme={null} { "code": "not_found", "message": "job not found", "hint": "Verify the resource id; list resources first to get valid ids." } ``` **code** `string` Stable machine-readable identifier. Branch on this, not on the message text. **message** `string` Human-readable description of what went wrong. **hint** `string` Optional suggestion for how to fix the request. ## Status codes | HTTP | `code` | When | | - | - | - | | 400 | `invalid_argument` | A parameter or body field is missing or malformed | | 401 | `unauthenticated` | Missing or invalid `x-api-key` on a write operation | | 403 | `permission_denied` | The key lacks access to the resource | | 404 | `not_found` | Unknown or malformed resource id, or unknown endpoint | | 405 | `method_not_allowed` | Wrong HTTP method for the endpoint | | 409 | `already_exists` | The resource already exists | | 429 | `rate_limited` | Too many requests; slow down and retry | | 500 | `internal` | An unexpected server error; retry later | > [!TIP] > > A malformed job id (for example a non-id string) returns `404 not_found` > rather than a server error, so you can treat "bad id" and "missing job" the > same way. # Agent API overview Source: https://docs.talentreview.ai/agents/overview How AI agents discover, read, and act on TalentReview.ai jobs TalentReview\.ai exposes a small REST surface designed for AI agents: browse and search jobs, read a single job, apply on behalf of a user, and post new roles. It is the same platform recruiters use, reachable over plain HTTP with JSON. ## Base URL ```text theme={null} https://api.talentreview.ai ``` ## Discovery An agent can find everything it needs without being told the endpoints up front: > **[llms.txt](https://www.talentreview.ai/llms.txt)** > > A curated index of the machine-readable surfaces: job Markdown twins, the > skill doc, and the MCP server. > **[Skill doc](https://api.talentreview.ai/agents/skill.md)** > > The `/agents/*` endpoints, auth, and request shapes in Markdown. > **[Skills manifest](https://www.talentreview.ai/.well-known/skills/index.json)** > > Declares the `talentreview-jobs` skill. > **Job Markdown** > > Append `/.md` to any public job URL, e.g. > `www.talentreview.ai/jobs/{id}/.md`, for a clean text version. ## MCP server Recruiters and candidates can connect Claude, ChatGPT, Cursor, Codex or any other MCP client and sign in with their TalentReview account. Recruiters get their jobs, applicants, AI analysis, talent search and exports at `https://mcp.talentreview.ai/mcp`. Candidates can read and edit their CV at `https://mcp.talentreview.ai/candidate/mcp`. See [MCP server](/mcp-server) for setup and the full tool list. ## What to read next > **[Authentication](/agents/authentication)** > > When you need an API key, and how to send it. > **[Endpoints](/agents/endpoints)** > > Browse, search, read, apply, and create jobs. > **[Errors](/agents/errors)** > > The structured error shape and status codes. > **[SDK & CLI](/agents/sdk)** > > The `talentreview` npm package: typed client and CLI. # SDK & CLI Source: https://docs.talentreview.ai/agents/sdk The talentreview npm package: a typed TypeScript client and command-line tool for the Agent API [`talentreview`](https://www.npmjs.com/package/talentreview) is the official TypeScript SDK and CLI for the Agent API. Reading jobs is public; applying and creating jobs need an [API key](/agents/authentication). ## Install ```bash theme={null} npm install talentreview ``` Or run the CLI without installing: ```bash theme={null} npx talentreview jobs search "backend engineer" ``` Requires Node.js 18+. ## SDK ```ts theme={null} import { TalentReview, TalentReviewError } from "talentreview"; // apiKey is only needed for writes; falls back to TALENTREVIEW_API_KEY. const trai = new TalentReview({ apiKey: process.env.TALENTREVIEW_API_KEY }); // Public reads const { items } = await trai.jobs.search({ q: "senior backend engineer", skills: "Go,Kubernetes" }); const job = await trai.jobs.get(items[0].id); console.log(job.info.title, job.info.location?.name); // Writes (require an API key) try { const created = await trai.jobs.create({ title: "Senior Backend Engineer", organization_id: "01H...", location_id: "01H...", type: "full_time", salary: "120000-160000", skills: ["Go", "PostgreSQL"], }); console.log(created.id ?? created.job?.info?.id); } catch (err) { if (err instanceof TalentReviewError) { // Branch on the machine-readable code, not the message. console.error(err.code, err.status, err.hint); } } ``` ### Methods | Method | Auth | Returns | | - | - | - | | `jobs.list(params?)` | – | `{ jobs, pagination }` | | `jobs.search(params)` | – | `{ total_count, items }` | | `jobs.get(id)` | – | a `Job` (fields under `info`) | | `jobs.apply(id)` | API key | an `Application` | | `jobs.create(body)` | API key | the created job / id | > [!NOTE] > > The three read endpoints return different shapes: `list` and `get` nest job > fields under `info` (with `organization`/`location` as objects), while > `search` returns flatter `items` with a `job_details` object. The SDK types > reflect this. Errors reject with a `TalentReviewError` carrying `code`, `status`, `message`, and an optional `hint`. See [Errors](/agents/errors) for the codes. ## CLI The package installs a `talentreview` binary (also aliased `trai`). ```bash theme={null} # Public talentreview jobs list --type full_time --limit 5 talentreview jobs search "product designer" --skills Figma talentreview jobs get 01H... --json talentreview jobs get 01H... --markdown # Writes (need a key) export TALENTREVIEW_API_KEY=sk_... talentreview jobs apply 01H... talentreview jobs create --title "Backend Engineer" --org 01H... --location 01H... --type full_time --salary "120k-160k" ``` Global flags: `--json` (raw JSON, for agents and scripts), `--api-key `, `--base-url `. ## Configuration | Env var | Purpose | | - | - | | `TALENTREVIEW_API_KEY` | API key for write operations | | `TALENTREVIEW_BASE_URL` | Override the API base URL (default `https://api.talentreview.ai`) | ## Source The package is open source (MIT) at [github.com/talentreview-ai/sdk](https://github.com/talentreview-ai/sdk). # Apply to a job Source: https://docs.talentreview.ai/api-reference/apply-to-a-job /api-reference/openapi.json post /agents/jobs/{jobId}/apply Submit an application using the authenticated user's profile and active resume. Requires an API key. # Browse jobs Source: https://docs.talentreview.ai/api-reference/browse-jobs /api-reference/openapi.json get /agents/jobs List active job postings with optional filters. # Create a job Source: https://docs.talentreview.ai/api-reference/create-a-job /api-reference/openapi.json post /agents/jobs Post a new job. Requires an API key with recruiter permissions. # Get a job Source: https://docs.talentreview.ai/api-reference/get-a-job /api-reference/openapi.json get /agents/jobs/{jobId} Retrieve full details for a single job. # Search jobs Source: https://docs.talentreview.ai/api-reference/search-jobs /api-reference/openapi.json get /agents/jobs/search Search active jobs by keyword with optional filters. # TalentReviewAI docs Source: https://docs.talentreview.ai/index AI-native hiring: search jobs, screen resumes, and match candidates TalentReviewAI is an AI-native hiring workspace. Candidates search open roles in plain English; recruiters post a job and let AI screen resumes, match candidates, and run interviews. These docs cover the **Agent API**, the surface AI agents use to discover, read, and act on jobs. ## Start here > **[Agent API overview](/agents/overview)** > > Discovery, the MCP server, and the base URL. > **[Authentication](/agents/authentication)** > > When you need an API key, and how to send it. > **[Endpoints](/agents/endpoints)** > > Browse, search, read, apply to, and create jobs. > **[Errors](/agents/errors)** > > The structured error shape and status codes. ## Elsewhere > **[Jobs on TalentReview.ai](https://www.talentreview.ai/jobs)** > > Browse open roles. Every job has a Markdown twin at `/.md`. > **[Recruiter dashboard](https://recruiter.talentreview.ai)** > > Post and manage jobs, candidates, and interviews. # MCP server Source: https://docs.talentreview.ai/mcp-server Connect Claude, ChatGPT, Cursor, Codex or VS Code to TalentReview. Sign in once, then work with jobs, applicants and CVs from the chat. TalentReview runs two MCP servers, one for recruiters and one for candidates. Each has its own URL and its own sign-in. Both use Streamable HTTP and OAuth 2.0: your client opens a browser window, you sign in with your TalentReview account, and that's it. There is no API key to copy, and API keys are not accepted. | Server | Who it's for | URL | | - | - | - | | `trai-recruiter` | Recruiters and hiring teams | `https://mcp.talentreview.ai/mcp` | | `trai-candidate` | Job seekers | `https://mcp.talentreview.ai/candidate/mcp` | The setup steps below use the recruiter URL. For the candidate server, swap in `https://mcp.talentreview.ai/candidate/mcp` and a different name, such as `talentreview-candidate`. ## Connect your client **Claude Code** ```bash theme={null} claude mcp add --transport http talentreview https://mcp.talentreview.ai/mcp ``` Start Claude Code, type `/mcp`, pick `talentreview` and choose **Authenticate**. Sign in in the browser window that opens. **Claude / ChatGPT** In Claude, open **Settings → Connectors → Add custom connector**. In ChatGPT, add it as a connector under **Settings → Apps**. Paste `https://mcp.talentreview.ai/mcp`, click **Connect** and sign in. Then turn the connector on in a chat. **Codex** ```bash theme={null} codex mcp add talentreview --url https://mcp.talentreview.ai/mcp codex mcp login talentreview ``` **Cursor** Add this to `~/.cursor/mcp.json`, then open **Settings → MCP** and click **Connect** next to `talentreview`. ```json theme={null} { "mcpServers": { "talentreview": { "url": "https://mcp.talentreview.ai/mcp" } } } ``` **VS Code** ```bash theme={null} code --add-mcp '{"name":"talentreview","type":"http","url":"https://mcp.talentreview.ai/mcp"}' ``` Start the server from the MCP view and sign in. **Other** Any client that speaks Streamable HTTP and MCP auth works. It finds the authorization server from the `WWW-Authenticate` header on the first 401. * OAuth discovery: `https://mcp.talentreview.ai/.well-known/oauth-authorization-server` * Protected resource metadata: `https://mcp.talentreview.ai/.well-known/oauth-protected-resource/mcp` * Manifest: [`/.well-known/mcp.json`](https://www.talentreview.ai/.well-known/mcp.json) ## Recruiter tools | Area | Tool | What it does | | - | - | - | | Jobs | `list_jobs` | Your jobs with their status and stats. | | | `get_job` | One job in full. | | Applicants | `list_applicants` | Applicants to a job, newest first, with match scores. | | | `get_applicant` | Contact details, notes, AI analysis and profile. | | | `update_applicant` | Move an applicant to another stage, add a note, or both. | | AI analysis | `analyse_applicant` | Score one applicant against the job: strengths, concerns and a recommendation. | | | `analyse_all_applicants` | Score every applicant to a job in the background. Paid plans. | | | `get_analysis_progress` | How far the latest bulk analysis has got. | | | `get_allowances` | Analyses and talent searches left this month. | | Talent search | `search_talent` | Find candidates from a plain-English brief. | | | `invite_to_apply` | Email a candidate an invitation to one of your active jobs. | | Files | `download_cv` | Link to an applicant's original CV or a PDF built from their resume. | | | `export_applicants_csv` | Link to a CSV of a job's applicants. | | Dashboard | `get_dashboard` | Totals, open roles, interviews and trends. | A few things work the same as in the dashboard: * Analyses and talent searches count against your plan's monthly allowance. Repeating the same search in the same month is free. * When a bulk analysis would go over your allowance, the newest applicants are scored first and the rest are left out. * Talent search never returns a candidate's email or phone. Use `invite_to_apply` instead. * `download_cv` and `export_applicants_csv` return a link that works once and expires after 15 minutes. You can open it in a browser without signing in. Things to try: * "Who are the strongest applicants for the backend role?" * "Score everyone who applied to the designer job." * "Find senior Go engineers in Dubai who can join within a month." * "Send me a spreadsheet of this week's applicants." > [!NOTE] > > The old SSE endpoint, `https://mcp.talentreview.ai/sse`, has been retired. If > your connector still uses it, remove it and add `https://mcp.talentreview.ai/mcp`. ## Candidate tools The candidate server only sees the signed-in candidate's own CV. Every edit is saved as a new version, so nothing is overwritten. | Tool | What it does | | - | - | | `list_my_resumes` | Your CV types and every saved version, marking the active one. | | `get_my_resume` | One CV version as structured JSON. Defaults to the active CV. | | `update_my_resume` | Save an edited CV as a new version. Sections you leave out are copied unchanged. | | `set_active_resume` | Make a saved version the active CV. | | `download_my_resume_pdf` | Link to a CV version as a PDF. Works once and expires after 15 minutes. | Things to try: "Read my CV and tighten the summary", or "Add my new job at Acme and make it the active version".