Skip to main content
POST
Create a skill from a document

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Headers

Idempotency-Key
string

Optional replay-protection key scoped to the verified tenant, principal, operation and decoded resource path. Equivalent JSON formatting and field order use the same fingerprint. Matching retries replay the original 201 result and Location; conflicting reuse returns 409 idempotency_conflict and an active request returns 409 idempotency_in_progress. Completed receipts last approximately 24 hours and pending claims may be reclaimed after approximately 1 hour. No deduplication is guaranteed after expiry.

Required string length: 1 - 256
Pattern: ^[!-~]+$
x-tenant-id
string

Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.

Minimum string length: 1
x-organization-id
string

Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.

Minimum string length: 1

Body

application/json
document
string
required
write-only
displayTitle
string
manifest
string[]
write-only
metadata
object
skillGroupId
string

Response

Created

createdAt
string<date-time>
required
read-only
description
string
required
read-only
name
string
required
read-only
organizationId
string
required
read-only
skillId
string
required
read-only
source
string
required
read-only
updatedAt
string<date-time>
required
read-only
displayTitle
string
latestInstructionChars
integer<int64>
read-only
Required range: -9007199254740991 <= x <= 9007199254740991
latestSkillVersionId
string
read-only
latestVersionNumber
integer<int64>
read-only
Required range: -9007199254740991 <= x <= 9007199254740991
metadata
object
skillGroupId
string