Gatana logoGatana Docs
RoutesArtifactsArtifactidContent

/artifacts/{artifactId}/content

Get the served HTML of an artifact version as JSON, rendered and themed, plus the Markdown source when there is one

GET
/artifacts/{artifactId}/content
AuthorizationBearer <token>

In: header

Path Parameters

artifactId*string

Query Parameters

version?string

Response Body

application/json

curl -X GET "https://YOUR_ORG_ID.gatana.ai/api/v1/artifacts/string/content"
{
  "html": "string",
  "contentType": "text/html",
  "source": "string",
  "version": 0,
  "title": "string",
  "visibility": "private",
  "theme": "none"
}