Skip to main content
White Circle supports checking images through both the Events API and the standalone Artifact API.
Use Check Artifact for standalone images such as profile pictures, user uploads, and AI-generated images that do not need to be grouped with other Events.

Artifact Event Format

Artifact Events use type: "artifact" and include the image payload in content.

Response Example

Content Overview

Artifact Event content uses the same image payload shape as Check Artifact:
Artifact Events currently support inline image checks only. If White Circle cannot fetch or validate the image, the Event result has status: “failed”; the URL is not evaluated as text.

Use Conditions with Artifact Events

Conditions evaluate the Artifact Event’s metadata to select the applicable Policies and Metrics. Event selectors then filter them to Artifact Events. Attach image Policies or Metrics to an active Condition and include matching metadata on the Event.
If no active Condition matches, no Policies are evaluated and no Metrics are queued for the Artifact Event. Conditions apply to Artifact Events, not to the standalone artifact endpoint.
See Conditions for metadata expressions and Policy attachments.

Standalone Artifact Endpoint

Use POST /api/artifact when the image does not need to be grouped with messages, tool calls, or other Events.

Check Artifact

See the full standalone artifact request and response shape.

Which Endpoint Should You Use?

Choose Artifact Events when you want to:
  • Check the image alongside messages, tool calls, agent state, or reasoning
  • Receive a result with event_id and internal_event_id
  • Target artifact policies with Event selectors such as artifact + image
Choose Check Artifact when you want to:
  • Submit an image as a standalone object
  • Retrieve the artifact later by internal_artifact_id or external_artifact_id
  • Check and retrieve the image as a standalone artifact

Base64 Image Example

mime_type is optional for raw base64 JPEG, PNG, WebP, and GIF data. White Circle detects the image type from the decoded bytes when you omit it.