---
title: "Declare Artifact"
method: POST
path: "/evals/artifacts"
tags: ["evals"]
---

# Declare Artifact

`POST /evals/artifacts`

## Request

- Base URL: `https://api.os3robotics.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.os3robotics.com/evals/artifacts`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Request body

- ArtifactIn
  - `workspace_id` string, uuid, required
  - `kind` 'trace' | 'video' | 'mcap' | 'rrd' | 'attempts' | 'events', required
  - `sha256` string, required
  - `bytes` integer, required

## Response `201`

Successful Response

- Artifact
  - `id` string, uuid, required
  - `workspace_id` string, uuid, required
  - `kind` string, required
  - `sha256` string, required
  - `bytes` integer, required
  - `status` string, required
  - `trace_count` integer, nullable, required
  - `created_at` string, date-time, required
  - `stored_at` string, date-time, nullable, required
  - `ref` string
  - `upload` object, nullable
  - `read_url` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/os3robotics/apis/os3-api.md) - [All operations](https://skmtc.dev/os3robotics/apis/os3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/os3robotics/apis/os3-api/revisions/af32cd4f14bb?raw)
