---
title: "Returns the HuggingFace sync status of the benchmark."
method: GET
path: "/benchmark/{benchmarkId}/huggingface-sync"
tags: ["Benchmark", "HuggingFaceSync"]
---

# Returns the HuggingFace sync status of the benchmark.

`GET /benchmark/{benchmarkId}/huggingface-sync`

All fields are null when the benchmark has never been synced.

## Path parameters

- `benchmarkId` string, required

## Response `200`

OK

- GetBenchmarkHuggingFaceSyncEndpointOutput
  - `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.
  - `repoId` string, nullable — The target HuggingFace repo id (e.g. Rapidata/svg-benchmark), or null.
  - `repoUrl` string, nullable — URL of the HuggingFace repo, or null when not yet known.
  - `prUrl` string, nullable — URL of the review pull request opened by the last attempt, or null.
  - `lastSyncedAt` string, date-time, nullable — When the benchmark was last successfully synced, or null.
  - `lastError` string, nullable — The error from the last failed attempt, or null.

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

[API](https://skmtc.net/rapidata/apis/rapidata-api.md) · [All operations](https://skmtc.net/rapidata/apis/rapidata-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapidata/rapidata-api/revisions/d779de93a5ee/schema)
