# List Artifacts for Registry

Lists all the Artifacts for Registry

Endpoint: GET /har/api/v1/registry/{registry_ref}/artifacts
Version: 1.0
Security: x-api-key

## Path parameters:

  - `registry_ref` (string, required)
    Reference to the scope in which the registry exists.

Format depends on the scope:

- Account-level: account_id/registry_name/+
- Organization-level: account_id/org_id/registry_name/+
- Project-level: account_id/org_id/project_id/registry_name/+

The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.

## Query parameters:

  - `label` (array)
    Label.

  - `page` (integer)
    Current page number

  - `size` (integer)
    Number of items per page

  - `sort_order` (string)
    sortOrder

  - `sort_field` (string)
    sortField

  - `search_term` (string)
    search Term.

  - `artifact_type` (string)
    artifact type.
    Enum: "model", "dataset"

## Response 200 fields (application/json):

  - `data` (object, required)
    A list of Artifacts

  - `data.artifacts` (array, required)
    A list of Artifact

  - `data.artifacts.artifactType` (string)
    refers to artifact type
    Enum: "model", "dataset"

  - `data.artifacts.deletedAt` (string)
    Timestamp in milliseconds when the registry was soft-deleted

  - `data.artifacts.downloadsCount` (integer)

  - `data.artifacts.isPublic` (boolean, required)

  - `data.artifacts.isQuarantined` (boolean)

  - `data.artifacts.labels` (array)

  - `data.artifacts.lastModified` (string)

  - `data.artifacts.latestVersion` (string, required)

  - `data.artifacts.name` (string, required)

  - `data.artifacts.packageType` (string, required)
    refers to package
    Enum: "DOCKER", "MAVEN", "PYTHON", "GENERIC", "HELM", "NUGET", "NPM", "RPM", "CARGO", "COMPOSER", "GO", "HUGGINGFACE", "CONDA", "DART", "SWIFT", "RAW"

  - `data.artifacts.registryIdentifier` (string, required)

  - `data.artifacts.registryPath` (string, required)

  - `data.artifacts.registryUUID` (string, required)

  - `data.artifacts.uuid` (string, required)

  - `data.itemCount` (integer)
    The total number of items
    Example: 1

  - `data.pageCount` (integer)
    The total number of pages
    Example: 100

  - `data.pageIndex` (integer)
    The current page

  - `data.pageSize` (integer)
    The number of items per page
    Example: 1

  - `status` (string, required)
    Request processing status indicator
    Enum: "SUCCESS", "FAILURE", "ERROR"

## Response 400 fields (application/json):

  - `code` (string, required)
    The HTTP error code
    Example: "404"

  - `details` (object)
    Additional context and details about the error.
May include field-specific validation errors or debugging information.
    Example: {"field":"registry_identifier","reason":"Registry does not exist in the specified project","value":"invalid-registry"}

  - `message` (string, required)
    Human-readable error message explaining what went wrong
    Example: "Registry not found"


