Check a standalone content Artifact against your Environment’s Policies. Use this endpoint to evaluate profile pictures, user uploads, AI-generated images, and more.
How It Works
- You submit a content Artifact (e.g., an image via URL or base64)
- Conditions select the applicable Policies and Metrics for this Artifact
- White Circle evaluates Policies synchronously and queues Metrics asynchronously
- You receive synchronous Policy results, and selected Metrics continue asynchronously.
Artifact Statuses
External Artifact ID
Use external_artifact_id to track Artifacts with your own identifiers. This is useful for:
- Deduplicating checks for the same content
- Looking up results later via Get Artifact Results
- Tracking standalone artifact checks with your own ID
Use Images with Events
Use the standalone artifact endpoint when you want to check and retrieve an image as its own object. Use Artifact Events when you want to check an image as part of an Events workflow with run_id, event_id, and internal_event_id.
JSON
{
"run_id": "run_image_review_123",
"event": {
"type": "artifact",
"content": {
"kind": "image",
"url": "https://storage.example.com/uploads/photo.jpg"
},
"event_id": "evt_inline_image_1"
}
}Role-Based Filtering
The role field controls which Policies are evaluated against the artifact based on each Policy’s Applies To setting (input, output, or any).
Use this to apply the right set of Policies depending on who produced the content. For example, pass "user" for user-uploaded images and "assistant" for AI-generated images.
Role strings with postfixes (e.g., "user-12345", "assistant-v2") are normalized to their base role. Invalid role values are treated the same as omitting the field.
Content Constraints
Authorizations
Headers
Body
application/json
Response
Success
Bad Request