GuidesAPI EndpointsAPI Changelog
Live AI Demo
API Endpoints

🧠 Vectorize a Profile

Generate HR-native, cross-lingual vectors for Profiles to power SoTA HR-grade ML.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

Prerequisites

  1. ✨ Create a Workspace Set up your environment in the HrFlow.ai portal.
  2. 🔑 Get your API Key Retrieve your API_KEY from the settings.
  3. 🧠 Activate Profile Embedding API Ensure the embedding service is enabled for your plan.

The Embedding API generates SOTA, HR-native, and cross-lingual vectors for Profiles to power similarity search, retrieval, clustering, and HR-grade ML. Unlike generic LLM vectors, these encoders are pretrained on 1.2B hiring decisions to capture career trajectories and hiring signals beyond simple keyword overlap.

This endpoint allows you to vectorize profiles by providing either raw data objects or references to profiles already indexed in your sources. Results are deterministic: the same inputs will consistently return the same vectors.

1. How to get a Profile Object

Since this endpoint requires structured data, you can obtain a valid HrFlow.ai Profile Object through two primary methods:

  • Manual Construction: Build the object programmatically by following our Profile Object 📖 The Profile Object Specification. This allows you to map data from your own internal database or CRM.
  • Automated Parsing: Convert a raw resume or CV file into a structured Profile Object using our Parsing API (e.g. 🧠 Parse a Resume in a Source) This is the most efficient way to transform unstructured documents into "HR-ready" data for vectorization.

2. Available Algorithms

Choose the right algorithm key based on your use case, data type, and precision needs.

Algorithm KeysUse CaseStatus
embedding-hyperion-2-dual-768dMatching and Retrieval. Represents profiles and jobs in a shared space.🟢 Live
embedding-hyperion-2-dual-128dHigh-speed version for large-scale Matching and Retrieval.🟢 Live
embedding-hyperion-2-cross-768dOptimized for Profile ↔ Job fit scoring using pairwise representation.⚪ Coming Soon
embedding-hyperion-1-profiles-1024dBest for Profile ↔ Profile similarity. Captures end-to-end work experience.🟡 Legacy
embedding-hyperion-1-profiles-128dHigh-speed version for large-scale clustering and deduplication.🟡 Legacy

2. Request headers

FieldValue
Content-Typeapplication/json
X-API-KEYYour API Key.
X-USER-EMAILYour HrFlow.ai account's email.
Body Params
profile_ids
array of objects
required

List of Profiles unique ids to grade (Maximum length: 32).

profile_ids*
profile_objects
array of objects

List of HrFlow.ai Profile Object (JSON). Maximum length is 64.

profile_objects
string
enum
required
Defaults to embedding-hyperion-2-dual-768d

The unique identifier of the HR-native encoder you wish to use.

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json