Configure filter qualifier
curl --request PATCH \
--url https://api.vollna.com/v1/filters/{id}/qualifier \
--header 'Content-Type: application/json' \
--header 'X-API-TOKEN: <api-key>' \
--data '
{
"enabled": true,
"showOnlyQualified": true
}
'import requests
url = "https://api.vollna.com/v1/filters/{id}/qualifier"
payload = {
"enabled": True,
"showOnlyQualified": True
}
headers = {
"X-API-TOKEN": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-TOKEN': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true, showOnlyQualified: true})
};
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 => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'enabled' => true,
'showOnlyQualified' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.vollna.com/v1/filters/{id}/qualifier"
payload := strings.NewReader("{\n \"enabled\": true,\n \"showOnlyQualified\": true\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-TOKEN", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.vollna.com/v1/filters/{id}/qualifier")
.header("X-API-TOKEN", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"enabled\": true,\n \"showOnlyQualified\": true\n}")
.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::Patch.new(url)
request["X-API-TOKEN"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"enabled\": true,\n \"showOnlyQualified\": true\n}"
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
Configure filter qualifier
Changes how the filter uses its AI qualifier. enabled turns it on or off for this filter. mode manual qualifies a job when you ask, automatic qualifies every new job. showOnlyQualified hides disqualified jobs. A field left out keeps its value
PATCH
/
filters
/
{id}
/
qualifier
Configure filter qualifier
curl --request PATCH \
--url https://api.vollna.com/v1/filters/{id}/qualifier \
--header 'Content-Type: application/json' \
--header 'X-API-TOKEN: <api-key>' \
--data '
{
"enabled": true,
"showOnlyQualified": true
}
'import requests
url = "https://api.vollna.com/v1/filters/{id}/qualifier"
payload = {
"enabled": True,
"showOnlyQualified": True
}
headers = {
"X-API-TOKEN": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-TOKEN': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true, showOnlyQualified: true})
};
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 => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'enabled' => true,
'showOnlyQualified' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.vollna.com/v1/filters/{id}/qualifier"
payload := strings.NewReader("{\n \"enabled\": true,\n \"showOnlyQualified\": true\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-TOKEN", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.vollna.com/v1/filters/{id}/qualifier")
.header("X-API-TOKEN", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"enabled\": true,\n \"showOnlyQualified\": true\n}")
.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::Patch.new(url)
request["X-API-TOKEN"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"enabled\": true,\n \"showOnlyQualified\": true\n}"
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?