---
title: "Ci Trigger Quality Remediation"
method: POST
path: "/api/admin/skills/ci/quality-trigger"
tags: ["admin-skills-ci"]
---

# Ci Trigger Quality Remediation

`POST /api/admin/skills/ci/quality-trigger`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/admin/skills/ci/quality-trigger`
- Auth: none declared

One-shot trigger for the skill quality optimizer.

Bypasses the daily 18:00 UTC tick. With no body, picks the worst LISTED
skill below the threshold (same logic as the worker). With
`{"slug": "<slug>"}` it remediates that specific skill regardless of
score (useful for E2E testing).

Auth: X-Admin-Key. Side effects:
  - Reads current threshold from Redis config (does NOT require enabled=true)
  - Calls trigger_incident with source=skill_quality_remediation
  - Returns the resulting incident dict, including incident_id + status

## Headers

- `x-admin-key` string, nullable

## Request body

- object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
