Skip to main content
POST
Publish a package, or a new version of one

Authorizations

Authorization
string
header
required

A pc_… token generated from Settings > API & MCP.

Body

application/json
files
object[]
required
Required array length: 1 - 64 elements
kind
enum<string>
required

An agent and its notes, a note on its own, or a folder of them.

Available options:
agent,
note,
folder
name
string
required
Required string length: 1 - 200
slug
string
required
Required string length: 1 - 80
changelog
string
default:""
Maximum string length: 10000
emoji
string | null
Maximum string length: 200
licence
enum<string> | null

Chosen explicitly. Omitted means unlicensed: nothing is licensed on the author's behalf.

Available options:
mit,
cc-by-4.0
permissions
string[]

Operation ids this version asks to be allowed to call, by name (listTasks). Enforced by the server at every execution boundary, never by the package. An id this API does not have is a 400.

Maximum array length: 32
summary
string
default:""
Maximum string length: 10000

Response

Created.

package
object
required
url
string | null
required

The public address, on the FIRST publish only. null afterwards.