---
title: "Toggle Repowise Managed"
method: PATCH
path: "/repos/{repo_id}/managed"
tags: ["repos"]
---

# Toggle Repowise Managed

`PATCH /repos/{repo_id}/managed`

Admin-only: flip ``repos.repowise_managed`` for a repo.

Lets the Repowise team mark featured/curated repos (e.g. fastapi,
next.js, repowise) so the redesigned Explore page and Landing
surface them with a distinct treatment.

Kept here rather than folded into ``/admin/repos`` because the dashboard
repo card has always called this path and the admin fleet PATCH delegates
to the same helper underneath.

## Path parameters

- `repo_id` string, required

## Request body

- RepoManagedToggleRequest — Body for PATCH /repos/{repo_id}/managed (admin-only).
  - `repowise_managed` boolean, required

## Response `200`

Successful Response

- RepoResponse
  - `id` string, required
  - `canonical_url` string, required
  - `owner` string, required
  - `name` string, required
  - `default_branch` string, required
  - `latest_known_head_sha` string, nullable
  - `is_public` boolean, required
  - `file_count` integer, nullable
  - `last_checked_at` string, date-time, nullable
  - `auto_sync_enabled` boolean
  - `github_checks_enabled` boolean
  - `last_webhook_at` string, date-time, nullable
  - `last_polled_at` string, date-time, nullable
  - `exclude_patterns` string[]
  - `max_file_pages` integer, nullable
  - `prose_refresh` string
  - `prose_daily_cap_cents` integer
  - `repowise_managed` boolean
  - `description` string, nullable
  - `primary_language` string, nullable
  - `stars` integer, nullable
  - `badge_detected_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/repowise/repowise-hosted-api/revisions/1e57283a9737/schema)
