Baselines

Upload a baseline version

Stores a new version for the target, or dedupes (200) when the upload matches the latest version's digest. Requires the baselines:write scope on agent tokens.

post/api/v1/baselines

Request

  • Base URL: https://dungbeetle.dev
  • URL: https://dungbeetle.dev/api/v1/baselines
  • Auth: one of:
    • HTTP basic
    • HTTP bearer

Request body

targetstring required
kindstring required
snapshotstring required

Canonical baseline JSON, transmitted verbatim as a string.

screenshotstring

Optional base64-encoded PNG.

Response

Unchanged — matched the latest version (deduped).

dedupedboolean required

True when the upload matched the latest version's digest.

Changes

No recorded changes to this operation across all 1 revision of this API.