---
title: "POST /api/v1/artifacts/{artifactId}/sync"
method: POST
path: "/api/v1/artifacts/{artifactId}/sync"
tags: ["Artifacts"]
---

# POST /api/v1/artifacts/{artifactId}/sync

`POST /api/v1/artifacts/{artifactId}/sync`

## Request

- Base URL: `https://app.distr.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://app.distr.sh/api/v1/artifacts/{artifactId}/sync`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

Trigger upstream sync for a pull-through artifact

## Path parameters

- `artifactId` string, required

## Response `200`

OK

- ApiArtifactResponse
  - `createdAt` string, date-time
  - `downloadedByCustomerOrganizations` string[]
  - `downloadedByCustomerOrganizationsCount` integer
  - `downloadedByUsers` string[]
  - `downloadedByUsersCount` integer
  - `downloadsTotal` integer
  - `id` string
  - `imageUrl` string, nullable
  - `lastSyncError` string, nullable
  - `lastSyncedAt` string, date-time, nullable
  - `name` string
  - `public` boolean
  - `upstreamAuthType` string, nullable
  - `upstreamUrl` string, nullable
  - `versions` TypesTaggedArtifactVersion[]
    - `createdAt` string, date-time
    - `digest` string
    - `downloadedByCustomerOrganizations` string[]
    - `downloadedByCustomerOrganizationsCount` integer
    - `downloadedByUsers` string[]
    - `downloadedByUsersCount` integer
    - `downloadsTotal` integer
    - `id` string
    - `inferredType` string
    - `manifestContentType` string
    - `size` integer
    - `tags` TypesArtifactVersionTag[]
      - `downloads` object
        - `downloadedByCustomerOrganizations` string[]
        - `downloadedByCustomerOrganizationsCount` integer
        - `downloadedByUsers` string[]
        - `downloadedByUsersCount` integer
        - `downloadsTotal` integer
      - `id` string
      - `name` string

---

[API](https://skmtc.dev/distr/apis/distr-api-reference.md) - [All operations](https://skmtc.dev/distr/apis/distr-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/distr/apis/distr-api-reference/revisions/7dcafe205f83?raw)
