Skip to main content
POST
/
v1
/
artifacts
/
{artifactId}
/
shares
Create (or refresh) a share for an artifact
curl --request POST \
  --url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/artifacts/{artifactId}/shares \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "access_level": "view"
}
'
{
  "id": "<string>",
  "type": "artifact",
  "artifact_id": "<string>",
  "url": "<string>",
  "apiUrl": "<string>",
  "access_level": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

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