Skip to main content
GET
/
v1
/
artifacts
/
{artifactId}
Get an artifact (with current version content)
curl --request GET \
  --url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/artifacts/{artifactId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "title": "<string>",
  "artifact_type": "<string>",
  "mime_type": "<string>",
  "language": "<string>",
  "filename": "<string>",
  "current_version": 123,
  "total_versions": 123,
  "content": "<string>",
  "conversation_id": "<string>",
  "agent_id": "<string>",
  "user_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

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

Response

Artifact record + resolved version content.

Artifact record with the resolved current-version content.

id
string
title
string
artifact_type
string
mime_type
string
language
string
filename
string
current_version
integer
total_versions
integer
content
string
conversation_id
string
agent_id
string
user_id
string
created_at
string<date-time>
updated_at
string<date-time>