Skip to main content
Server path: /affinda-search | Type: Application | PCID required: Yes

Tools

ToolDescription
affinda_search_create_document_from_dataCreate a document from raw data
affinda_search_create_indexCreate a new index
affinda_search_create_index_documentIndex a new document
affinda_search_create_job_description_searchSearch through parsed job descriptions
affinda_search_create_job_description_search_embed_urlCreate a signed URL for the embeddable job description search tool
affinda_search_create_resume_searchSearch through parsed resumes
affinda_search_create_resume_search_embed_urlCreate a signed URL for the embeddable resume search tool
affinda_search_delete_indexDelete an index
affinda_search_delete_index_documentDelete an indexed document
affinda_search_get_all_index_documentsGet indexed documents for a specific index
affinda_search_get_all_indexesGet list of all indexes
affinda_search_get_job_description_search_configGet the config for the logged in user’s embeddable job description search tool
affinda_search_get_job_description_search_detailGet search result of specific job description
affinda_search_get_resume_search_configGet the config for the logged in user’s embeddable resume search tool
affinda_search_get_resume_search_detailGet search result of specific resume
affinda_search_get_resume_search_matchMatch a single resume and job description
affinda_search_get_resume_search_suggestion_job_titleGet job title suggestions based on provided job title(s)
affinda_search_get_resume_search_suggestion_skillGet skill suggestions based on provided skill(s)
affinda_search_list_occupation_groupsList occupation groups
affinda_search_re_index_documentRe-index a document
affinda_search_update_document_dataUpdate a document’s data
affinda_search_update_job_description_search_configUpdate the config for the logged in user’s embeddable job description search tool
affinda_search_update_resume_search_configUpdate the config for the logged in user’s embeddable resume search tool

affinda_search_create_document_from_data

Create a document from raw data Parameters:
ParameterTypeRequiredDefaultDescription
snake_casebooleanNoWhether to return the response in snake_case instead of camelCase. Default is false.
dataobjectYesCreate resume or job description directly from data.

affinda_search_create_index

Create a new index Parameters:
ParameterTypeRequiredDefaultDescription
docTypestringNoDoc Type
namestringYesUnique index name

affinda_search_create_index_document

Index a new document Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesIndex name
documentstringNoThe document value

Search through parsed job descriptions Parameters:
ParameterTypeRequiredDefaultDescription
offsetintegerNoThe number of documents to skip before starting to collect the result set.
limitintegerNoThe numbers of results to return.
customDataobject[]NoCustom Data
degreesstring[]NoThe degrees value
degreesRequiredbooleanNoDegrees Required
degreeTypesstring[]NoDegree Types
degreeTypesRequiredbooleanNoDegree Types Required
educationWeightnumberNoEducation Weight
indicesstring[]YesThe indices value
jobTitlesstring[]NoJob Titles
jobTitlesRequiredbooleanNoJob Titles Required
jobTitlesWeightnumberNoJob Titles Weight
languagesobject[]NoThe languages value
languagesWeightnumberNoLanguages Weight
locationsobject[]NoThe locations value
locationsRequiredbooleanNoLocations Required
locationsWeightnumberNoLocations Weight
managementLevelstringNoManagement Level
managementLevelRequiredbooleanNoManagement Level Required
managementLevelWeightnumberNoManagement Level Weight
resumestringNoA random string that uniquely identify the resource.
searchExpressionstringNoSearch Expression
searchExpressionRequiredbooleanNoSearch Expression Required
searchExpressionWeightnumberNoSearch Expression Weight
skillsobject[]NoThe skills value
skillsWeightnumberNoSkills Weight
socCodesinteger[]NoSoc Codes
socCodesRequiredbooleanNoSoc Codes Required
socCodesWeightnumberNoSoc Codes Weight
totalYearsExperiencenumberNoTotal Years Experience
yearsExperienceRequiredbooleanNoYears Experience Required
yearsExperienceWeightnumberNoYears Experience Weight

affinda_search_create_job_description_search_embed_url

Create a signed URL for the embeddable job description search tool Parameters:
ParameterTypeRequiredDefaultDescription
configOverrideobjectNoConfig Override

Search through parsed resumes Parameters:
ParameterTypeRequiredDefaultDescription
offsetintegerNoThe number of documents to skip before starting to collect the result set.
limitintegerNoThe numbers of results to return.
customDataobject[]NoCustom Data
degreesstring[]NoThe degrees value
degreesRequiredbooleanNoDegrees Required
educationWeightnumberNoEducation Weight
highestDegreeTypesstring[]NoHighest Degree Types
highestDegreeTypesRequiredbooleanNoHighest Degree Types Required
indicesstring[]YesThe indices value
institutionsstring[]NoThe institutions value
institutionsRequiredbooleanNoInstitutions Required
isCurrentStudentbooleanNoSearch for student canditates
isCurrentStudentRequiredbooleanNoIs Current Student Required
isRecentGraduatebooleanNoSearch for canditates that graduated less than a year ago
isRecentGraduateRequiredbooleanNoIs Recent Graduate Required
jobDescriptionstringNoA random string that uniquely identify the resource.
jobTitlesstring[]NoJob Titles
jobTitlesCurrentOnlybooleanNoSearch only through the canditate’s current job
jobTitlesRequiredbooleanNoJob Titles Required
jobTitlesWeightnumberNoJob Titles Weight
languagesobject[]NoThe languages value
languagesWeightnumberNoLanguages Weight
locationsobject[]NoSearch by location name or by coordinates
locationsRequiredbooleanNoLocations Required
locationsWeightnumberNoLocations Weight
managementLevelstringNoManagement Level
managementLevelRequiredbooleanNoManagement Level Required
managementLevelWeightnumberNoManagement Level Weight
resumestringNoA random string that uniquely identify the resource.
searchExpressionstringNoSearch through resumes’ raw text
searchExpressionRequiredbooleanNoSearch Expression Required
searchExpressionWeightnumberNoSearch Expression Weight
skillsobject[]NoThe skills value
skillsWeightnumberNoSkills Weight
socCodesinteger[]NoSoc Codes
socCodesRequiredbooleanNoSoc Codes Required
socCodesWeightnumberNoSoc Codes Weight
yearsExperienceMaxintegerNoMaximum years of total work experience
yearsExperienceMinintegerNoMinimum years of total work experience
yearsExperienceRequiredbooleanNoYears Experience Required
yearsExperienceWeightnumberNoYears Experience Weight

affinda_search_create_resume_search_embed_url

Create a signed URL for the embeddable resume search tool Parameters:
ParameterTypeRequiredDefaultDescription
configOverrideobjectNoConfig Override

affinda_search_delete_index

Delete an index Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesIndex name

affinda_search_delete_index_document

Delete an indexed document Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesIndex name
identifierstringYesDocument identifier

affinda_search_get_all_index_documents

Get indexed documents for a specific index Parameters:
ParameterTypeRequiredDefaultDescription
offsetintegerNoThe number of documents to skip before starting to collect the result set.
limitintegerNoThe numbers of results to return.
namestringYesIndex name

affinda_search_get_all_indexes

Get list of all indexes Parameters:
ParameterTypeRequiredDefaultDescription
offsetintegerNoThe number of documents to skip before starting to collect the result set.
limitintegerNoThe numbers of results to return.
document_typestringNoFilter indices by a document type
namestringNoFilter indices by name

affinda_search_get_job_description_search_config

Get the config for the logged in user’s embeddable job description search tool

affinda_search_get_job_description_search_detail

Get search result of specific job description Parameters:
ParameterTypeRequiredDefaultDescription
identifierstringYesJob Description identifier
customDataobject[]NoCustom Data
degreesstring[]NoThe degrees value
degreesRequiredbooleanNoDegrees Required
degreeTypesstring[]NoDegree Types
degreeTypesRequiredbooleanNoDegree Types Required
educationWeightnumberNoEducation Weight
indicesstring[]YesThe indices value
jobTitlesstring[]NoJob Titles
jobTitlesRequiredbooleanNoJob Titles Required
jobTitlesWeightnumberNoJob Titles Weight
languagesobject[]NoThe languages value
languagesWeightnumberNoLanguages Weight
locationsobject[]NoThe locations value
locationsRequiredbooleanNoLocations Required
locationsWeightnumberNoLocations Weight
managementLevelstringNoManagement Level
managementLevelRequiredbooleanNoManagement Level Required
managementLevelWeightnumberNoManagement Level Weight
resumestringNoA random string that uniquely identify the resource.
searchExpressionstringNoSearch Expression
searchExpressionRequiredbooleanNoSearch Expression Required
searchExpressionWeightnumberNoSearch Expression Weight
skillsobject[]NoThe skills value
skillsWeightnumberNoSkills Weight
socCodesinteger[]NoSoc Codes
socCodesRequiredbooleanNoSoc Codes Required
socCodesWeightnumberNoSoc Codes Weight
totalYearsExperiencenumberNoTotal Years Experience
yearsExperienceRequiredbooleanNoYears Experience Required
yearsExperienceWeightnumberNoYears Experience Weight

affinda_search_get_resume_search_config

Get the config for the logged in user’s embeddable resume search tool

affinda_search_get_resume_search_detail

Get search result of specific resume Parameters:
ParameterTypeRequiredDefaultDescription
identifierstringYesResume identifier
customDataobject[]NoCustom Data
degreesstring[]NoThe degrees value
degreesRequiredbooleanNoDegrees Required
educationWeightnumberNoEducation Weight
highestDegreeTypesstring[]NoHighest Degree Types
highestDegreeTypesRequiredbooleanNoHighest Degree Types Required
indicesstring[]YesThe indices value
institutionsstring[]NoThe institutions value
institutionsRequiredbooleanNoInstitutions Required
isCurrentStudentbooleanNoSearch for student canditates
isCurrentStudentRequiredbooleanNoIs Current Student Required
isRecentGraduatebooleanNoSearch for canditates that graduated less than a year ago
isRecentGraduateRequiredbooleanNoIs Recent Graduate Required
jobDescriptionstringNoA random string that uniquely identify the resource.
jobTitlesstring[]NoJob Titles
jobTitlesCurrentOnlybooleanNoSearch only through the canditate’s current job
jobTitlesRequiredbooleanNoJob Titles Required
jobTitlesWeightnumberNoJob Titles Weight
languagesobject[]NoThe languages value
languagesWeightnumberNoLanguages Weight
locationsobject[]NoSearch by location name or by coordinates
locationsRequiredbooleanNoLocations Required
locationsWeightnumberNoLocations Weight
managementLevelstringNoManagement Level
managementLevelRequiredbooleanNoManagement Level Required
managementLevelWeightnumberNoManagement Level Weight
resumestringNoA random string that uniquely identify the resource.
searchExpressionstringNoSearch through resumes’ raw text
searchExpressionRequiredbooleanNoSearch Expression Required
searchExpressionWeightnumberNoSearch Expression Weight
skillsobject[]NoThe skills value
skillsWeightnumberNoSkills Weight
socCodesinteger[]NoSoc Codes
socCodesRequiredbooleanNoSoc Codes Required
socCodesWeightnumberNoSoc Codes Weight
yearsExperienceMaxintegerNoMaximum years of total work experience
yearsExperienceMinintegerNoMinimum years of total work experience
yearsExperienceRequiredbooleanNoYears Experience Required
yearsExperienceWeightnumberNoYears Experience Weight

affinda_search_get_resume_search_match

Match a single resume and job description Parameters:
ParameterTypeRequiredDefaultDescription
resumestringYesIdentify the resume to match.
job_descriptionstringYesIdentify the job description to match.
indexstringNoOptionally, specify an index to search in. If not specified, will search in all indexes.
search_expressionstringNoAdd keywords to the search criteria.
job_titles_weightnumberNoHow important is this criteria to the matching score, range from 0 to 1.
years_experience_weightnumberNoHow important is this criteria to the matching score, range from 0 to 1.
locations_weightnumberNoHow important is this criteria to the matching score, range from 0 to 1.
languages_weightnumberNoHow important is this criteria to the matching score, range from 0 to 1.
skills_weightnumberNoHow important is this criteria to the matching score, range from 0 to 1.
education_weightnumberNoHow important is this criteria to the matching score, range from 0 to 1.
search_expression_weightnumberNoHow important is this criteria to the matching score, range from 0 to 1.
soc_codes_weightnumberNoHow important is this criteria to the matching score, range from 0 to 1.
management_level_weightnumberNoHow important is this criteria to the matching score, range from 0 to 1.

affinda_search_get_resume_search_suggestion_job_title

Get job title suggestions based on provided job title(s) Parameters:
ParameterTypeRequiredDefaultDescription
job_titlesstring[]YesJob title to query suggestions for

affinda_search_get_resume_search_suggestion_skill

Get skill suggestions based on provided skill(s) Parameters:
ParameterTypeRequiredDefaultDescription
skillsstring[]YesSkill to query suggestions for

affinda_search_list_occupation_groups

List occupation groups

affinda_search_re_index_document

Re-index a document Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesIndex name
identifierstringYesDocument identifier

affinda_search_update_document_data

Update a document’s data Parameters:
ParameterTypeRequiredDefaultDescription
identifierstringYesResume or Job Description identifier
bodyobjectYesResume data to update

affinda_search_update_job_description_search_config

Update the config for the logged in user’s embeddable job description search tool Parameters:
ParameterTypeRequiredDefaultDescription
actionsobject[]NoA list of actions to show in the dropdown in the embedded search tool
allowPdfDownloadbooleanNoAllow Pdf Download
customFieldsConfigobject[]NoCustom Fields Config
displayEducationbooleanNoDisplay Education
displayJobTitlebooleanNoDisplay Job Title
displayKeywordsbooleanNoDisplay Keywords
displayLanguagesbooleanNoDisplay Languages
displayLocationbooleanNoDisplay Location
displayManagementLevelbooleanNoDisplay Management Level
displayOccupationGroupbooleanNoDisplay Occupation Group
displaySkillsbooleanNoDisplay Skills
displayYearsExperiencebooleanNoDisplay Years Experience
distanceUnitstringNoThe unit of distance to use for location based searches
hideSidePanelbooleanNoHide the entire side panel.
hideToolbarbooleanNoHide the reset/import toolbar.
indicesstring[]NoList of index names.
maxResultsintegerNoMaximum number of results that can be returned. Setting to “null” means no limitation.
searchToolThemeobjectNoCustomize the theme of the embeded search tool.
showIndexDropdownbooleanNoControls whether or not the index dropdown is displayed to the user
userIdintegerNoID of the logged in user.
usernamestringNoUsername of the logged in user.
weightEducationnumberNoWeight Education
weightJobTitlenumberNoWeight Job Title
weightKeywordsnumberNoWeight Keywords
weightLanguagesnumberNoWeight Languages
weightLocationnumberNoWeight Location
weightManagementLevelnumberNoWeight Management Level
weightOccupationGroupnumberNoWeight Occupation Group
weightSkillsnumberNoWeight Skills
weightYearsExperiencenumberNoWeight Years Experience

affinda_search_update_resume_search_config

Update the config for the logged in user’s embeddable resume search tool Parameters:
ParameterTypeRequiredDefaultDescription
actionsobject[]NoA list of actions to show in the dropdown in the embedded search tool
allowPdfDownloadbooleanNoAllow Pdf Download
customFieldsConfigobject[]NoCustom Fields Config
displayEducationbooleanNoDisplay Education
displayJobTitlebooleanNoDisplay Job Title
displayKeywordsbooleanNoDisplay Keywords
displayLanguagesbooleanNoDisplay Languages
displayLocationbooleanNoDisplay Location
displayManagementLevelbooleanNoDisplay Management Level
displayOccupationGroupbooleanNoDisplay Occupation Group
displaySkillsbooleanNoDisplay Skills
displayYearsExperiencebooleanNoDisplay Years Experience
distanceUnitstringNoThe unit of distance to use for location based searches
hideSidePanelbooleanNoHide the entire side panel.
hideToolbarbooleanNoHide the reset/import toolbar.
indicesstring[]NoList of index names.
maxResultsintegerNoMaximum number of results that can be returned. Setting to “null” means no limitation.
searchToolThemeobjectNoCustomize the theme of the embeded search tool.
showIndexDropdownbooleanNoControls whether or not the index dropdown is displayed to the user
userIdintegerNoID of the logged in user.
usernamestringNoUsername of the logged in user.
weightEducationnumberNoWeight Education
weightJobTitlenumberNoWeight Job Title
weightKeywordsnumberNoWeight Keywords
weightLanguagesnumberNoWeight Languages
weightLocationnumberNoWeight Location
weightManagementLevelnumberNoWeight Management Level
weightOccupationGroupnumberNoWeight Occupation Group
weightSkillsnumberNoWeight Skills
weightYearsExperiencenumberNoWeight Years Experience