Public Task Type Overrides
curl --request GET \
--url https://api.example.com/api/v1/public/task-type-overridesimport requests
url = "https://api.example.com/api/v1/public/task-type-overrides"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/public/task-type-overrides', 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.example.com/api/v1/public/task-type-overrides",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/api/v1/public/task-type-overrides"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/api/v1/public/task-type-overrides")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/public/task-type-overrides")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyPublic
Public Task Type Overrides
Public endpoint: sparse list of task-type visibility overrides.
Returns ONLY the rows that differ from the default (live). The frontend
already ships the full task-type catalog statically — it only needs to
know the exceptions. Small payload (usually a handful of rows), no auth.
Callers should treat missing (category, task_type) pairs as live.
Served from Redis when warm. This endpoint is hit on every SSR render of
the /categories/[slug]/[taskType] SEO pages; the per-request connect
- asyncpg enum-introspection overhead on a cold pooled connection is what surfaced as the “Consecutive DB Queries” perf issue (Sentry AITASKER-BACKEND-31). Caching the tiny payload skips the DB on warm hits.
GET
/
api
/
v1
/
public
/
task-type-overrides
Public Task Type Overrides
curl --request GET \
--url https://api.example.com/api/v1/public/task-type-overridesimport requests
url = "https://api.example.com/api/v1/public/task-type-overrides"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/public/task-type-overrides', 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.example.com/api/v1/public/task-type-overrides",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/api/v1/public/task-type-overrides"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/api/v1/public/task-type-overrides")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/public/task-type-overrides")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyResponse
200 - application/json
Successful Response
Was this page helpful?