d779de93a5ee

latestOpenAPI 3.0.42026-08-13351856967.1 KB
Benchmark
HuggingFaceSync

Starts a HuggingFace sync of the benchmark and returns its current sync status.

Responds 409 Conflict when a sync is already in progress for the benchmark, or when a repo name is supplied that differs from the one an earlier successful sync established. The repo name is only honored while the benchmark has never completed a sync.

post/benchmark/{benchmarkId}/huggingface-sync

Path parameters

benchmarkIdstring required

The id of the benchmark to sync.

Request body

repoNamestring nullable

Optional target repo name. Only honored while the benchmark has never completed a sync; defaults to a name derived from the benchmark name.

fullRebuildboolean nullable

When true, re-export the entire benchmark as a non-incremental sync. Defaults to false.

Response

OK

status'NeverSynced' | 'Exporting' | 'Uploading' | 'Completed' | 'Failed' required
outcome'CreatedPrivate' | 'UpdatedPrivate' | 'OpenedPullRequest' | 'Failed' | 'null' nullable

Outcome of the last completed attempt, or null when none has completed.

repoIdstring nullable

The target HuggingFace repo id (e.g. Rapidata/svg-benchmark), or null.

repoUrlstring nullable

URL of the HuggingFace repo, or null when not yet known.

prUrlstring nullable

URL of the review pull request opened by the last attempt, or null.

lastSyncedAtstring date-time nullable

When the benchmark was last successfully synced, or null.

lastErrorstring nullable

The error from the last failed attempt, or null.