---
title: "Assign a steward to a stewardship"
method: POST
path: "/akrites/stewardships/{id}/assign"
tags: ["Stewardships"]
---

# Assign a steward to a stewardship

`POST /akrites/stewardships/{id}/assign`

Assigns a user as a steward (lead or co-steward) for the given stewardship. Optionally transitions the stewardship status to `assessing` in the same operation.

## Path parameters

- `id` integer, required

## Request body

- object
  - `userId` string, required — Auth0 sub of the user to assign.
  - `role` 'lead' | 'co_steward', required
  - `note` string — Optional note stored in the steward_added activity metadata.
  - `moveToAssessing` boolean — When true, automatically transitions stewardship status to `assessing` after assignment.

## Response `200`

Steward assigned.

- object
  - `stewardship` StewardshipRecord, required
    - `id` string, required
    - `packageId` string, required
    - `status` 'unassigned' | 'open' | 'assessing' | 'active' | 'needs_attention' | 'escalated' | 'blocked' | 'inactive', required
    - `origin` string, required
    - `version` integer, required
    - `openedAt` string, date-time, nullable
    - `lastStatusAt` string, date-time, nullable
    - `inactiveReason` 'quarterly_cadence_missed' | 'stepped_down' | 'no_longer_critical'
    - `resolutionPath` 'right_of_first_refusal' | 'replace_the_dependency' | 'find_vendor_for_lts' | 'consortium_adopts_maintainership' | 'compensating_controls_monitor' | 'namespace_takeover'
    - `statusNote` string, nullable
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `stewards` StewardEntry[], required
    - `id` string, required
    - `stewardshipId` string, required
    - `userId` string, required
    - `name` string, nullable
    - `role` 'lead' | 'co_steward', required
    - `assignedAt` string, date-time, required
    - `assignedBy` string, nullable

## Other responses

- `400` — Validation error.
- `401` — Missing or invalid bearer token.
- `404` — Stewardship not found.

---

[API](https://skmtc.dev/linuxfoundation/apis/cdp-public-api-akrites.md) · [All operations](https://skmtc.dev/linuxfoundation/apis/cdp-public-api-akrites/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/linuxfoundation/cdp-public-api-akrites/revisions/17bbb3d320c3/schema)
