admin

Create a workspace team skill

Creates an instruction skill in one workspace from name, description and instructions, shares it with the whole team, and switches it on in the same request. Later runs in that workspace can use it, within Patricia's usual instruction limits. The recorded author and approver are your staff account, not a workspace member. The call sends no message and creates no schedule. Refused when the workspace already has a skill with the same slug, even when the content matches. Returns the skill and changed. The creation is recorded against your staff account in the workspace audit log and the platform audit log.

post/v1/admin/tenants/{tenant_id}/team-skills

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/admin/tenants/{tenant_id}/team-skills
  • Auth: HTTP bearer

Path parameters

tenant_idstring uuid required

The workspace id.

Request body

namestring required

The name the team sees, 1 to 255 characters. It also sets the skill's slug.

descriptionstring required

One sentence on when the skill helps, 1 to 2,000 characters.

instructionsstring required

The guidance Patricia follows, in plain markdown, 1 to 24,000 characters.

Response

Successful Response

skill_idstring uuid required
slugstring required
namestring required
kindstring required
source'workspace' | 'patricia' required
state'on' | 'paused' | 'stopped' required
changedboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.