Skip to main content
POST
Publish an agent

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. Org API keys (iak_*) are not accepted here - they carry no user identity. Use the x-prismeai-api-key header instead (see OrgApiKeyAuth).

Path Parameters

agentId
string
required
Maximum string length: 64

Body

application/json
visibility
enum<string>

Defaults to public.

Available options:
public,
restricted
Maximum string length: 32
category
string
Maximum string length: 128
tags
string[]

Response

Publication summary.

status
enum<string>
Available options:
published
visibility
enum<string>
Available options:
public,
restricted
published_at
string<date-time>