SDK reference for the Skills API, available in Node.js and Python.
Skills
List Skills
Returns the skills visible to the current workspace, ordered by creation time with the newest skill first. Use starting_after or ending_before to page through large collections.
from orq_ai_sdk import Orqimport oswith Orq( api_key=os.getenv("ORQ_API_KEY"),) as orq: res = orq.skills.list() # Handle response print(res)
import { Orq } from "@orq-ai/node";const orq = new Orq({ apiKey: process.env["ORQ_API_KEY"] ?? "",});async function run() { const result = await orq.skills.list(); console.log(result);}run();
Creates a reusable skill in the workspace. Skills store instructions, metadata, and an optional project location so teams can standardize repeatable AI workflows.
from orq_ai_sdk import Orqimport oswith Orq( api_key=os.getenv("ORQ_API_KEY"),) as orq: res = orq.skills.create(request={ "display_name": "summarize_thread", "project_id": "<id>", }) # Handle response print(res)
import { Orq } from "@orq-ai/node";const orq = new Orq({ apiKey: process.env["ORQ_API_KEY"] ?? "",});async function run() { const result = await orq.skills.create({ displayName: "summarize_thread", projectId: "<id>", }); console.log(result);}run();
Deletes a skill from the workspace. The response body is empty when the delete succeeds.
from orq_ai_sdk import Orqimport oswith Orq( api_key=os.getenv("ORQ_API_KEY"),) as orq: res = orq.skills.delete(skill_id="<id>") # Handle response print(res)
import { Orq } from "@orq-ai/node";const orq = new Orq({ apiKey: process.env["ORQ_API_KEY"] ?? "",});async function run() { const result = await orq.skills.delete({ skillId: "<id>", }); console.log(result);}run();
Show Parameters
{ "skill_id": str, # required}
{ skillId: string; // required}
Update a Skill
Updates mutable skill fields. Omitted fields keep their current values. When tags is provided it replaces the existing tags; send an empty array to clear them.
from orq_ai_sdk import Orqimport oswith Orq( api_key=os.getenv("ORQ_API_KEY"),) as orq: res = orq.skills.update(skill_id="<value>", display_name="<value>") # Handle response print(res)
import { Orq } from "@orq-ai/node";const orq = new Orq({ apiKey: process.env["ORQ_API_KEY"] ?? "",});async function run() { const result = await orq.skills.update({ skillId: "<id>", updateSkillRequest: { displayName: "<value>", }, }); console.log(result);}run();