Skip to main content
POST
Create (or refresh) a share for an artifact

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

artifactId
string
required
Maximum string length: 128

Body

application/json
access_level
enum<string>

Default view.

Available options:
view
Maximum string length: 32

Response

Share created or refreshed.

id
string
type
enum<string>
Available options:
artifact
artifact_id
string
url
string
apiUrl
string
access_level
string