Skip to main content
POST
Create an organization skill
Adds a skill that every hosted agent receives. Use it for guidance all agents need, such as coding standards. An organization can hold at most 20 skills. Related guide: How it works: hosted agents and the gateway. Delivered to every hosted agent in the organization. At most 20 per organization.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Body

application/json
name
string
required
Maximum string length: 64
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
description
string
required
Maximum string length: 500
content
string
required
Maximum string length: 24000
enabled
boolean
default:true
files
object[]
Maximum array length: 5

Response

Created

id
string
scope
enum<string>
Available options:
agent,
workspace,
organization
agentId
string | null
workspaceId
string | null
organizationId
string | null
name
string
description
string
content
string

The SKILL.md body.

enabled
boolean
createdByEmail
string | null
createdAt
string<date-time>
updatedAt
string<date-time>
files
object[]