Read Interview Configs
curl --request GET \
--url https://api.techinterviewer.ai/interview-configs \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.techinterviewer.ai/interview-configs"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.techinterviewer.ai/interview-configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.techinterviewer.ai/interview-configs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.techinterviewer.ai/interview-configs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.techinterviewer.ai/interview-configs")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.techinterviewer.ai/interview-configs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"questions": [
{
"question": "<string>",
"follow_ups": 123,
"id": "<string>"
}
],
"createdAt": "<unknown>",
"updatedAt": "<unknown>",
"userId": "<string>",
"title": "<string>",
"length": 123,
"language": "<string>",
"jobTitle": "<string>",
"scorecard": [
{
"signal": "<string>",
"scale": 123,
"weight": 123,
"PointCriteria": {}
}
],
"prompt": "<string>",
"structuredOutputs": [
{
"key": "<string>",
"data_type": "<string>",
"extraction_instructions": "<string>"
}
],
"teamId": "<string>"
}
]API Reference
Read Interview Configs
Retrieve all interview configurations for the current user.
This endpoint allows authenticated users to fetch all interview configurations associated with their account.
It returns a list of InterviewConfig objects containing details such as ID, title, job title, questions, scorecard, prompt, structured outputs, creation time, and update time.
Raises 401 Unauthorized if the user is not authenticated.
GET
/
interview-configs
Read Interview Configs
curl --request GET \
--url https://api.techinterviewer.ai/interview-configs \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.techinterviewer.ai/interview-configs"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.techinterviewer.ai/interview-configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.techinterviewer.ai/interview-configs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.techinterviewer.ai/interview-configs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.techinterviewer.ai/interview-configs")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.techinterviewer.ai/interview-configs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"questions": [
{
"question": "<string>",
"follow_ups": 123,
"id": "<string>"
}
],
"createdAt": "<unknown>",
"updatedAt": "<unknown>",
"userId": "<string>",
"title": "<string>",
"length": 123,
"language": "<string>",
"jobTitle": "<string>",
"scorecard": [
{
"signal": "<string>",
"scale": 123,
"weight": 123,
"PointCriteria": {}
}
],
"prompt": "<string>",
"structuredOutputs": [
{
"key": "<string>",
"data_type": "<string>",
"extraction_instructions": "<string>"
}
],
"teamId": "<string>"
}
]Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Response
200 - application/json
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes