---
title: "Set the workspace instruction-skill spend-order preference"
method: PUT
path: "/v1/instruction-skill-priority/tenant"
tags: ["instruction-skill-priority"]
---

# Set the workspace instruction-skill spend-order preference

`PUT /v1/instruction-skill-priority/tenant`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/instruction-skill-priority/tenant`
- Auth: HTTP bearer

Set whether team instruction skills get first claim on the shared instruction-skill prompt budget for this workspace, instead of the platform default of personal skills first. Admin only. Does not change which team skills are eligible to spend the budget at all — the relevance gate still narrows that pool the same way regardless of this preference.

## Headers

- `X-Tenant-Id` string, nullable

## Request body

- InstructionSkillPriorityBody: Request body for setting a workspace's instruction-skill spend-order preference.
  - `team_first` boolean, required: Give team instruction skills first claim on the shared prompt budget for this workspace, instead of the platform default of personal instruction skills first.

## Response `200`

Successful Response

- InstructionSkillPriorityResponse: The effective instruction-skill spend-order preference for a workspace.
  - `team_first` boolean, required

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)
- `409`: Conflict
- `422`: Validation error

---

[API](https://skmtc.dev/patricia/apis/patricia-api.md) · [All operations](https://skmtc.dev/patricia/apis/patricia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/patricia/apis/patricia-api/revisions/0dfb44495ea1?raw)
