GetArtifact
Returns metadata for one artifact version.
Stored Procedure-Specific Information
Required input: ArtifactVersionId, available from GetChatMessageArtifacts. VersionId or the Artifacts JSON column in ChatMessages. Use DownloadArtifact to retrieve its text content.
To execute this procedure, enter:
EXEC GetArtifact ArtifactVersionId = 'claude_artifact_version_123';
Input
| Name | Type | Required | Description |
| ArtifactVersionId | String | True | The artifact version id. Obtain it from GetChatMessageArtifacts.VersionId or from the Artifacts JSON column in ChatMessages. |
Result Set Columns
| Name | Type | Description |
| VersionId | String | The artifact version id. |
| Id | String | The identifier of the artifact. |
| ArtifactType | String | The MIME type of the artifact. |
| ClaudeChatId | String | The id of the chat the artifact belongs to. |
| CreatedAt | Datetime | The creation timestamp of the artifact. |
| Md5 | String | The MD5 hash of the artifact. |
| SizeBytes | Long | The size of the artifact in bytes. |
| Title | String | The title of the artifact. |