AI Career Preparation API

you're applying for jobs but you don't know:how well you actually fit the role, what questions they'll ask, how to recognize skill gaps in interviews solution

Input

Send these Fields as input. A Field not listed here is refused.

output_selection

Select outputs

  • Type: list of strings
  • Required: yes
  • Allowed values: Interview Q&A, Skill Gap Report
  • Number of items: at least 1

job_pdf

Upload Job Description PDF

An https URL or an upload id.

  • Type: string
  • Required: yes
  • Length in characters: at least 1

num_questions

Number of Questions (5-10)

  • Type: string
  • Required: no
  • Allowed values: 5, 6, 7, 8, 9, 10

experience_level

Experience level

  • Type: string
  • Required: yes
  • Allowed values: entry, mid, senior, executive

cv_pdf

Upload Your CV/Resume PDF

An https URL or an upload id.

  • Type: string
  • Required: yes
  • Length in characters: at least 1

Run it

One call presses the Widget and answers the run once its status is succeeded or failed, however long it takes. The key is read from ABYSS_API_KEY. Install the library with npm install abysshub or pip install abysshub; cURL sends the Fields as a form.

JavaScript

// index.mjs
import Abyss, { file } from "abysshub";

const abyss = new Abyss();

const run = await abyss.run("widget_290", {
  output_selection: ["Skill Gap Report"],
  job_pdf: file("report.pdf"),
  num_questions: "7",
  experience_level: "mid",
  cv_pdf: file("report.pdf"),
});

for (const path of await run.save("output")) {
  console.log(path);
}

Python

from abysshub import Abyss, file

abyss = Abyss()

run = abyss.run("widget_290", {
    "output_selection": ["Skill Gap Report"],
    "job_pdf": file("report.pdf"),
    "num_questions": "7",
    "experience_level": "mid",
    "cv_pdf": file("report.pdf"),
})

for path in run.save("output"):
    print(path)

cURL

curl https://api.abysshub.com/v1/widgets/widget_290/runs \
  -H "Authorization: Bearer $ABYSS_API_KEY" \
  -F 'output_selection[]=Skill Gap Report' \
  -F job_pdf=@report.pdf \
  -F num_questions=7 \
  -F experience_level=mid \
  -F cv_pdf=@report.pdf

A succeeded run carries its result and its output_files. Their URLs are signed for each read: re-read the run, never store a URL. A run still queued or running in the answer (after an hour, or when the API is busy) is read again at its Location with ?wait=true.

More

Keys, files, errors and limits: API access.