> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.



## OpenAPI

````yaml /openapi.json get /api/v1/public/task-type-overrides
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/public/task-type-overrides:
    get:
      tags:
        - Public
      summary: Public Task Type Overrides
      description: >-
        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.
      operationId: public_task_type_overrides_api_v1_public_task_type_overrides_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}

````