Skip to main content
PATCH
/
v2
/
skills
/
{skill_id}
Update a skill
curl --request PATCH \
  --url https://api.orq.ai/v2/skills/{skill_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "skill_id": "<string>",
  "display_name": "<string>",
  "description": "<string>",
  "tags": [
    "<string>"
  ],
  "path": "<string>",
  "instructions": "<string>",
  "project_id": "<string>"
}
'
{
  "skill": {
    "skill_id": "<string>",
    "display_name": "<string>",
    "description": "<string>",
    "tags": [
      "<string>"
    ],
    "project_id": "<string>",
    "path": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "created_by_id": "<string>",
    "updated_by_id": "<string>",
    "instructions": "<string>",
    "version": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.orq.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

skill_id
string
required

Skill ID to update.

Body

application/json
skill_id
string

Skill ID to update.

display_name
string

New workspace-unique display name. Omit to keep the current name.

description
string

New description. Omit to keep the current description.

tags
string[]

Replacement tag list. Leave empty to clear tags.

path
string

New project path. Omit to keep the current path.

instructions
string

New instruction body. Omit to keep the current instructions.

project_id
string

New containing project. Omit to keep the current project.

Response

200 - application/json

OK

skill
object

Updated skill.