Skip to main content
PATCH
/
organization-skills
/
{skill_id}
Update skill with patch
curl --request PATCH \
  --url https://app.usechar.ai/api/organization-skills/{skill_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "patch": {
    "version": "<unknown>",
    "operations": [
      {
        "type": "<unknown>",
        "before": "<string>",
        "after": "<string>",
        "expectedMatches": 0
      }
    ]
  },
  "domains": [
    "<string>"
  ]
}
'
{
  "success": true,
  "operations_applied": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.usechar.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.

Path Parameters

skill_id
string<uuid>
required

Skill ID to update

Body

application/json

Input for updating a skill with patch operations

patch
object
required

Patch operations from agent-skills-ts-sdk

domains
string[]

Hostnames for domain-scoped activation

Response

OK

success
boolean
required
operations_applied
number
required