Get filter qualifier
curl --request GET \
--url https://api.vollna.com/v1/filters/{id}/qualifier \
--header 'X-API-TOKEN: <api-key>'import requests
url = "https://api.vollna.com/v1/filters/{id}/qualifier"
headers = {"X-API-TOKEN": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-TOKEN': '<api-key>'}};
fetch('https://api.vollna.com/v1/filters/{id}/qualifier', 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.vollna.com/v1/filters/{id}/qualifier",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-TOKEN: <api-key>"
],
]);
$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.vollna.com/v1/filters/{id}/qualifier"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-TOKEN", "<api-key>")
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.vollna.com/v1/filters/{id}/qualifier")
.header("X-API-TOKEN", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vollna.com/v1/filters/{id}/qualifier")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-TOKEN"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"filterId": 123,
"qualifier": {
"id": 123,
"name": "<string>",
"prompt": "<string>",
"model": "<string>",
"autoGenerated": true
},
"enabled": true,
"mode": "manual",
"showOnlyQualified": true,
"promptMaxLength": 123,
"models": [
"<string>"
],
"credits": {
"credits": {
"creditsUsed": 123,
"creditsLimit": 123,
"creditsRemaining": 123,
"extraCreditsRemaining": 123,
"totalCreditsRemaining": 123,
"isUnlimited": true,
"isFreeTrial": true,
"hasCredits": true,
"usagePercentage": 123,
"period": {
"start": "2023-12-25",
"end": "2023-12-25"
}
},
"requiredPerJob": 123,
"canUse": true
}
}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}AI Qualifier
Get filter qualifier
Returns the filter’s AI qualifier: the full prompt, model and name, whether it is on, manual or automatic mode, whether disqualified jobs are hidden, what else shares the qualifier, and the credits that pay for it
GET
/
filters
/
{id}
/
qualifier
Get filter qualifier
curl --request GET \
--url https://api.vollna.com/v1/filters/{id}/qualifier \
--header 'X-API-TOKEN: <api-key>'import requests
url = "https://api.vollna.com/v1/filters/{id}/qualifier"
headers = {"X-API-TOKEN": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-TOKEN': '<api-key>'}};
fetch('https://api.vollna.com/v1/filters/{id}/qualifier', 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.vollna.com/v1/filters/{id}/qualifier",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-TOKEN: <api-key>"
],
]);
$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.vollna.com/v1/filters/{id}/qualifier"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-TOKEN", "<api-key>")
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.vollna.com/v1/filters/{id}/qualifier")
.header("X-API-TOKEN", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vollna.com/v1/filters/{id}/qualifier")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-TOKEN"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"filterId": 123,
"qualifier": {
"id": 123,
"name": "<string>",
"prompt": "<string>",
"model": "<string>",
"autoGenerated": true
},
"enabled": true,
"mode": "manual",
"showOnlyQualified": true,
"promptMaxLength": 123,
"models": [
"<string>"
],
"credits": {
"credits": {
"creditsUsed": 123,
"creditsLimit": 123,
"creditsRemaining": 123,
"extraCreditsRemaining": 123,
"totalCreditsRemaining": 123,
"isUnlimited": true,
"isFreeTrial": true,
"hasCredits": true,
"usagePercentage": 123,
"period": {
"start": "2023-12-25",
"end": "2023-12-25"
}
},
"requiredPerJob": 123,
"canUse": true
}
}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}Was this page helpful?