Skip to main content
POST
Create Workspace Registry

Authorizations

Authorization
string
header
required

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

Path Parameters

workspace
string
required

Slug of the workspace the request acts in

Maximum string length: 120
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$

Body

application/json
name
string
required
Required string length: 1 - 255
source_type
enum<string>
required

'url': an index in the platform format; 'github': a repository

Available options:
url,
github
source_url
string
required

The index URL, or the repository as owner/repo

Minimum string length: 1
credentials_secret_id
string<uuid> | null

A workspace secret holding the token a private source is read with

description
string | null
mode
enum<string>
default:mirror

'mirror' stores every skill's content when the registry syncs, so an install needs no network; 'upstream' fetches it on first install. A source read with credentials is mirrored.

Available options:
mirror,
upstream
registry_type
enum<string>
default:skills
Available options:
skills,
agents
source_path
string | null

GitHub: the folder whose skill folders are indexed; the root if unset

source_ref
string | null

GitHub: branch, tag or commit; the default branch if unset

Maximum string length: 255
trust
enum<string>
default:private
Available options:
private,
community

Response

Successful Response

created_at
string<date-time>
required
description
string | null
required
id
string<uuid>
required
is_active
boolean
required
item_count
integer
required
last_sync_error
string | null
required
last_synced_at
string<date-time> | null
required
mode
enum<string>
required
Available options:
mirror,
upstream
name
string
required
recommendation_priority
integer
required
registry_type
string
required
scope
enum<string>
required
Available options:
platform,
workspace
source_type
string
required
source_url
string
required
sync_mode
string
required
trust
enum<string>
required
Available options:
official,
verified,
community,
private
updated_at
string<date-time>
required
credentials_secret_id
string<uuid> | null
source_path
string | null
source_ref
string | null
workspace_id
string | null