Read Interview Config
curl --request GET \
--url https://api.techinterviewer.ai/interview-configs/{id} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.techinterviewer.ai/interview-configs/{id}"
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/{id}', 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/{id}",
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/{id}"
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/{id}")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.techinterviewer.ai/interview-configs/{id}")
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>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}API Reference
Read Interview Config
Retrieve an interview configuration by its ID.
This endpoint allows authenticated users to fetch an interview configuration by its ID. It returns an InterviewConfig object containing details such as ID, title, length, language, job title, questions, scorecard, prompt, structured outputs, creation time, and update time.
Raises 404 Not Found if the interview config does not exist.
GET
/
interview-configs
/
{id}
Read Interview Config
curl --request GET \
--url https://api.techinterviewer.ai/interview-configs/{id} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.techinterviewer.ai/interview-configs/{id}"
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/{id}', 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/{id}",
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/{id}"
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/{id}")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.techinterviewer.ai/interview-configs/{id}")
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>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes