Documentation

esc
    API reference · Container Registry / Container Registry

    Container Registry

    Choose your registry namespace, manage repositories, their tags and retention, and create registry tokens for CI and clusters.

    Claim a namespace, then push images to registry.pantechdynamics.com/<namespace>/<repository>:<tag> with docker or any OCI client. This API manages the namespace, repositories, tags and registry tokens; images themselves are pushed and pulled through the registry. Reads are served from Pantech's records, so listing thousands of tags is quick. See Pantech Container Registry and CI and Kubernetes.

    The registry namespace object

    An organization's namespace on the private container registry.

    Fields

    • namestringrequired

      The namespace: the first part of every image name.

    • registry_hoststringrequired

      The registry's host name.

    • create_on_pushbooleanrequired

      Whether a push to a repository that does not exist creates it.

    • repository_countintegerrequired

      Repositories in the namespace.

    • storage_bytesintegerrequired

      Storage your images use, in bytes, measured hourly: each layer counted once however many images share it.

    • storage_limit_bytesintegerrequired

      The storage limit; pushes are refused at it.

    • repository_limitintegerrequired

      How many repositories the organization may have.

    • created_atstringrequired

      When it was claimed (RFC 3339, UTC).

    • updated_atstringrequired

      When it last changed (RFC 3339, UTC).

    • versionintegerrequired

      Increases with every change.

    The registry repository object

    A repository in the private container registry.

    Fields

    • idstringrequired

      e.g. crr_....

    • namespacestringrequired
    • namestringrequired

      The repository's name inside the namespace.

    • full_namestringrequired

      The image name to push and pull, without a tag.

    • descriptionstringrequired

      Your note about it; may be empty.

    • visibilitystringrequired

      private (members and credentials only) or public (anyone may pull).

      One of private, public.

    • immutable_tagsbooleanrequired

      Whether tags, once pushed, can never be moved or deleted.

    • retentionRegistryRetentionrequired

      A retention policy. Each rule is null when off.

      Show 3 child fields
      • keep_lastinteger or nullrequired

        Keep the newest N tags (by push time) that keep_pattern does not protect; older ones are untagged daily.

        From 1 to 1000.

      • untagged_after_daysinteger or nullrequired

        Delete images no tag points at once they are older than this many days.

        From 1 to 365.

      • keep_patternstring or nullrequired

        A glob, such as v* or release-*: matching tags are never removed by retention.

        At most 128 characters.

    • tag_countintegerrequired
    • storage_bytesintegerrequired

      Storage the repository's images use, measured hourly.

    • last_pushed_atstring or nullrequired

      When an image was last pushed; null before the first push.

    • statusstringrequired

      active, deleting, or suspended (by an operator).

      One of active, deleting, suspended.

    • suspended_reasonstring or nullrequired

      Why an operator suspended it; null unless suspended.

    • created_atstringrequired
    • updated_atstringrequired
    • versionintegerrequired

      Increases with every change.

    The registry tag object

    A tag and the image it points at.

    Fields

    • namestringrequired
    • digeststringrequired
    • media_typestringrequired

      The manifest's media type: an image index (several platforms) or a single image.

    • size_bytesintegerrequired

      The image's size: the manifest and the layers it references.

    • platformsarray of stringrequired

      For an index, the platforms it holds, such as linux/amd64.

    • pushed_atstringrequired

      When the tag was pushed to this image.

    • last_pulled_atstring or nullrequired

      When it was last pulled; null if never.

    • immutablebooleanrequired

      Whether the tag can never be moved or deleted (the repository has immutable tags).

    The registry token object

    A credential for the registry only. Its secret is never shown again after creation.

    Fields

    • idstringrequired

      e.g. prt_....

    • namestringrequired
    • permissionstringrequired

      pull, or push (which includes pull).

      One of pull, push.

    • repositoriesarray of stringrequired

      The repositories it may use; empty for every repository in the namespace.

    • expires_atstring or nullrequired

      When it stops working; null if never.

    • last_used_atstring or nullrequired

      When it last signed in, to the minute; null if never.

    • created_atstringrequired
    • revoked_atstring or nullrequired

      When it was revoked; null if it was not.

    Get the registry namespace

    Your organization's namespace on the private container registry, its limits and its storage. Images are registry.pantechdynamics.com/<namespace>/<repository>:<tag>; sign in with docker login registry.pantechdynamics.com -u pantech -p <API key or registry token>.

    GET/public/v1/registry
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Response 200

    The namespace.
    • namestringrequired

      The namespace: the first part of every image name.

    • registry_hoststringrequired

      The registry's host name.

    • create_on_pushbooleanrequired

      Whether a push to a repository that does not exist creates it.

    • repository_countintegerrequired

      Repositories in the namespace.

    • storage_bytesintegerrequired

      Storage your images use, in bytes, measured hourly: each layer counted once however many images share it.

    • storage_limit_bytesintegerrequired

      The storage limit; pushes are refused at it.

    • repository_limitintegerrequired

      How many repositories the organization may have.

    • created_atstringrequired

      When it was claimed (RFC 3339, UTC).

    • updated_atstringrequired

      When it last changed (RFC 3339, UTC).

    • versionintegerrequired

      Increases with every change.

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key is no longer an active member. Use another key. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404REGISTRY_NAMESPACE_NOT_SET: your organization has not claimed a namespace yet. Claim one with PUT /registry.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    curl "https://api.pantechdynamics.com/public/v1/registry" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "name": "acme",
      "registry_host": "registry.pantechdynamics.com",
      "create_on_push": true,
      "repository_count": 1,
      "storage_bytes": 1,
      "storage_limit_bytes": 1,
      "repository_limit": 1,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z",
      "version": 1
    }

    Claim or change the registry namespace

    Claims your organization's namespace, or changes it. A namespace is 3 to 30 lower-case letters, digits and single hyphens, starts with a letter, and is unique across Pantech; some names, such as library and pantech, are reserved. The name cannot change once a repository was ever created in it, even after every repository is deleted, and a name that held content is never given to another organization. create_on_push (on by default) lets a push to a repository that does not exist yet create it. Owners and admins only.

    Idempotency: the same body again changes nothing.

    PUT/public/v1/registry
    Write keyNeeds Idempotency-KeyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Body

    application/json
    • namestringrequired

      3 to 30 lower-case letters, digits and single hyphens, starting with a letter.

      From 3 to 30 characters.

    • create_on_pushboolean

      Whether a push may create a repository. Left out: unchanged (on for a new namespace).

    Response 200

    The namespace.
    • namestringrequired

      The namespace: the first part of every image name.

    • registry_hoststringrequired

      The registry's host name.

    • create_on_pushbooleanrequired

      Whether a push to a repository that does not exist creates it.

    • repository_countintegerrequired

      Repositories in the namespace.

    • storage_bytesintegerrequired

      Storage your images use, in bytes, measured hourly: each layer counted once however many images share it.

    • storage_limit_bytesintegerrequired

      The storage limit; pushes are refused at it.

    • repository_limitintegerrequired

      How many repositories the organization may have.

    • created_atstringrequired

      When it was claimed (RFC 3339, UTC).

    • updated_atstringrequired

      When it last changed (RFC 3339, UTC).

    • versionintegerrequired

      Increases with every change.

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value. INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope. Use a key with that scope. FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 409REGISTRY_NAMESPACE_TAKEN: another organization has this namespace. Choose another. REGISTRY_NAMESPACE_LOCKED: the namespace cannot change once a repository was ever created in it.
    • 422INVALID_REGISTRY_NAMESPACE: name is not a valid namespace, or is reserved. VALIDATION_FAILED: a field is missing or invalid; errors names it.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Body
    Idempotency
    curl -X PUT "https://api.pantechdynamics.com/public/v1/registry" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
        "name": "acme"
      }'
    Response 200
    {
      "name": "acme",
      "registry_host": "registry.pantechdynamics.com",
      "create_on_push": true,
      "repository_count": 1,
      "storage_bytes": 1,
      "storage_limit_bytes": 1,
      "repository_limit": 1,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z",
      "version": 1
    }

    List repositories

    Your organization's repositories, by name. Served from Pantech's own records: listing never waits on the registry.

    GET/public/v1/registry/repositories
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Query parameters

    • qstring

      Only repositories whose name contains this text, at most 255 characters.

      At most 255 characters.

    • limitinteger

      Items per page, 1 to 100. Defaults to 50.

      From 1 to 100. Defaults to 50.

    • cursorstring

      The previous page's next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.

    Response 200

    Repositories.
    • dataarray of RegistryRepositoryrequired
      Show 16 child fields
      • idstringrequired

        e.g. crr_....

      • namespacestringrequired
      • namestringrequired

        The repository's name inside the namespace.

      • full_namestringrequired

        The image name to push and pull, without a tag.

      • descriptionstringrequired

        Your note about it; may be empty.

      • visibilitystringrequired

        private (members and credentials only) or public (anyone may pull).

        One of private, public.

      • immutable_tagsbooleanrequired

        Whether tags, once pushed, can never be moved or deleted.

      • retentionRegistryRetentionrequired

        A retention policy. Each rule is null when off.

        Show 3 child fields
        • keep_lastinteger or nullrequired

          Keep the newest N tags (by push time) that keep_pattern does not protect; older ones are untagged daily.

          From 1 to 1000.

        • untagged_after_daysinteger or nullrequired

          Delete images no tag points at once they are older than this many days.

          From 1 to 365.

        • keep_patternstring or nullrequired

          A glob, such as v* or release-*: matching tags are never removed by retention.

          At most 128 characters.

      • tag_countintegerrequired
      • storage_bytesintegerrequired

        Storage the repository's images use, measured hourly.

      • last_pushed_atstring or nullrequired

        When an image was last pushed; null before the first push.

      • statusstringrequired

        active, deleting, or suspended (by an operator).

        One of active, deleting, suspended.

      • suspended_reasonstring or nullrequired

        Why an operator suspended it; null unless suspended.

      • created_atstringrequired
      • updated_atstringrequired
      • versionintegerrequired

        Increases with every change.

    • next_cursorstring or nullrequired

      Pass as cursor for the next page; null on the last one.

    Errors

    • 400INVALID_FILTER: a query parameter is not valid. detail names it and what it takes. INVALID_CURSOR: the cursor is not valid for this list and these filters. Start again without a cursor.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key is no longer an active member. Use another key. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404REGISTRY_NAMESPACE_NOT_SET: your organization has not claimed a namespace yet. Claim one with PUT /registry.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Query
    curl "https://api.pantechdynamics.com/public/v1/registry/repositories" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "data": [
        {
          "id": "crr_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "namespace": "acme",
          "name": "api/server",
          "full_name": "registry.pantechdynamics.com/acme/api/server",
          "description": "description",
          "visibility": "private",
          "immutable_tags": true,
          "retention": {
            "keep_last": 1,
            "untagged_after_days": 1,
            "keep_pattern": "keep-pattern"
          },
          "tag_count": 1,
          "storage_bytes": 1,
          "last_pushed_at": "2026-10-03T09:30:00Z",
          "status": "active",
          "suspended_reason": null,
          "created_at": "2026-10-03T09:30:00Z",
          "updated_at": "2026-10-03T09:30:00Z",
          "version": 1
        }
      ],
      "next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
    }

    Create a repository

    Creates a repository in your namespace. name follows the OCI name grammar: lower-case path components of letters and digits, separated by ., _, __ or -, joined by /, at most 255 characters with the namespace. Repositories are private unless visibility is public (anyone may pull, without signing in). With immutable_tags, a tag once pushed cannot be moved or deleted: a push that moves one is put back. retention keeps the newest keep_last tags and deletes untagged images older than untagged_after_days; tags matching keep_pattern are never removed. A push can also create a repository (see create_on_push). At most 100 repositories per organization. Owners and admins only.

    Idempotency: a retry with the same Idempotency-Key returns the repository the first request made. The same key with a different request returns 409 IDEMPOTENCY_CONFLICT.

    POST/public/v1/registry/repositories
    Write keyNeeds Idempotency-KeyReturns201Created

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Body

    application/json
    • namestringrequired

      Lower-case path components separated by /, such as api/server.

      At most 255 characters.

    • descriptionstring

      At most 255 characters.

    • visibilitystring

      Default private.

      One of private, public.

    • immutable_tagsboolean

      Default false.

    • retentionRegistryRetentionInput

      A retention policy. A rule left out or null is off.

      Show 3 child fields
      • keep_lastinteger or null

        Keep the newest N tags.

        From 1 to 1000.

      • untagged_after_daysinteger or null

        Delete untagged images older than this many days.

        From 1 to 365.

      • keep_patternstring or null

        Tags matching this glob are never removed.

        At most 128 characters.

    Response 201

    The new repository, or the original one on a replay.
    • idstringrequired

      e.g. crr_....

    • namespacestringrequired
    • namestringrequired

      The repository's name inside the namespace.

    • full_namestringrequired

      The image name to push and pull, without a tag.

    • descriptionstringrequired

      Your note about it; may be empty.

    • visibilitystringrequired

      private (members and credentials only) or public (anyone may pull).

      One of private, public.

    • immutable_tagsbooleanrequired

      Whether tags, once pushed, can never be moved or deleted.

    • retentionRegistryRetentionrequired

      A retention policy. Each rule is null when off.

      Show 3 child fields
      • keep_lastinteger or nullrequired

        Keep the newest N tags (by push time) that keep_pattern does not protect; older ones are untagged daily.

        From 1 to 1000.

      • untagged_after_daysinteger or nullrequired

        Delete images no tag points at once they are older than this many days.

        From 1 to 365.

      • keep_patternstring or nullrequired

        A glob, such as v* or release-*: matching tags are never removed by retention.

        At most 128 characters.

    • tag_countintegerrequired
    • storage_bytesintegerrequired

      Storage the repository's images use, measured hourly.

    • last_pushed_atstring or nullrequired

      When an image was last pushed; null before the first push.

    • statusstringrequired

      active, deleting, or suspended (by an operator).

      One of active, deleting, suspended.

    • suspended_reasonstring or nullrequired

      Why an operator suspended it; null unless suspended.

    • created_atstringrequired
    • updated_atstringrequired
    • versionintegerrequired

      Increases with every change.

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value. INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope. Use a key with that scope. FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. REPOSITORY_LIMIT_REACHED: your organization already has 100 repositories. Delete one first, or contact support to raise the limit.
    • 404REGISTRY_NAMESPACE_NOT_SET: your organization has not claimed a namespace yet. Claim one with PUT /registry.
    • 409REPOSITORY_EXISTS: your organization already has a repository with this name. IDEMPOTENCY_CONFLICT: the Idempotency-Key was already used with a different request. Use a new key.
    • 422INVALID_REPOSITORY_NAME: name is not a valid repository name. VALIDATION_FAILED: a field is missing or invalid; errors names it.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Body
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/registry/repositories" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
        "name": "api/server"
      }'
    Response 201
    {
      "id": "crr_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "namespace": "acme",
      "name": "api/server",
      "full_name": "registry.pantechdynamics.com/acme/api/server",
      "description": "description",
      "visibility": "private",
      "immutable_tags": true,
      "retention": {
        "keep_last": 1,
        "untagged_after_days": 1,
        "keep_pattern": "keep-pattern"
      },
      "tag_count": 1,
      "storage_bytes": 1,
      "last_pushed_at": "2026-10-03T09:30:00Z",
      "status": "active",
      "suspended_reason": null,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z",
      "version": 1
    }

    Get a repository

    One repository, its settings, tag count and storage.

    GET/public/v1/registry/repositories/{repository_id}
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Path parameters

    • repository_idstringrequired

      The repository's id (crr_…).

    Response 200

    The repository.
    • idstringrequired

      e.g. crr_....

    • namespacestringrequired
    • namestringrequired

      The repository's name inside the namespace.

    • full_namestringrequired

      The image name to push and pull, without a tag.

    • descriptionstringrequired

      Your note about it; may be empty.

    • visibilitystringrequired

      private (members and credentials only) or public (anyone may pull).

      One of private, public.

    • immutable_tagsbooleanrequired

      Whether tags, once pushed, can never be moved or deleted.

    • retentionRegistryRetentionrequired

      A retention policy. Each rule is null when off.

      Show 3 child fields
      • keep_lastinteger or nullrequired

        Keep the newest N tags (by push time) that keep_pattern does not protect; older ones are untagged daily.

        From 1 to 1000.

      • untagged_after_daysinteger or nullrequired

        Delete images no tag points at once they are older than this many days.

        From 1 to 365.

      • keep_patternstring or nullrequired

        A glob, such as v* or release-*: matching tags are never removed by retention.

        At most 128 characters.

    • tag_countintegerrequired
    • storage_bytesintegerrequired

      Storage the repository's images use, measured hourly.

    • last_pushed_atstring or nullrequired

      When an image was last pushed; null before the first push.

    • statusstringrequired

      active, deleting, or suspended (by an operator).

      One of active, deleting, suspended.

    • suspended_reasonstring or nullrequired

      Why an operator suspended it; null unless suspended.

    • created_atstringrequired
    • updated_atstringrequired
    • versionintegerrequired

      Increases with every change.

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key is no longer an active member. Use another key. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404REPOSITORY_NOT_FOUND: no repository with this id in your organization. List your repositories to find it.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    curl "https://api.pantechdynamics.com/public/v1/registry/repositories/crr_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "id": "crr_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "namespace": "acme",
      "name": "api/server",
      "full_name": "registry.pantechdynamics.com/acme/api/server",
      "description": "description",
      "visibility": "private",
      "immutable_tags": true,
      "retention": {
        "keep_last": 1,
        "untagged_after_days": 1,
        "keep_pattern": "keep-pattern"
      },
      "tag_count": 1,
      "storage_bytes": 1,
      "last_pushed_at": "2026-10-03T09:30:00Z",
      "status": "active",
      "suspended_reason": null,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z",
      "version": 1
    }

    Change a repository

    Changes a repository's description, visibility, tag immutability or retention policy. Fields left out keep their value. retention, when present, replaces the whole policy: a rule left out of it, or null, is removed, and "retention": null removes every rule. Owners and admins only.

    PATCH/public/v1/registry/repositories/{repository_id}
    Write keyNeeds Idempotency-KeyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • repository_idstringrequired

      The repository's id (crr_…).

    Body

    application/json
    • descriptionstring

      At most 255 characters.

    • visibilitystring

      One of private, public.

    • immutable_tagsboolean
    • retentionRegistryRetentionInput

      A retention policy. A rule left out or null is off.

      Show 3 child fields
      • keep_lastinteger or null

        Keep the newest N tags.

        From 1 to 1000.

      • untagged_after_daysinteger or null

        Delete untagged images older than this many days.

        From 1 to 365.

      • keep_patternstring or null

        Tags matching this glob are never removed.

        At most 128 characters.

    Response 200

    The repository.
    • idstringrequired

      e.g. crr_....

    • namespacestringrequired
    • namestringrequired

      The repository's name inside the namespace.

    • full_namestringrequired

      The image name to push and pull, without a tag.

    • descriptionstringrequired

      Your note about it; may be empty.

    • visibilitystringrequired

      private (members and credentials only) or public (anyone may pull).

      One of private, public.

    • immutable_tagsbooleanrequired

      Whether tags, once pushed, can never be moved or deleted.

    • retentionRegistryRetentionrequired

      A retention policy. Each rule is null when off.

      Show 3 child fields
      • keep_lastinteger or nullrequired

        Keep the newest N tags (by push time) that keep_pattern does not protect; older ones are untagged daily.

        From 1 to 1000.

      • untagged_after_daysinteger or nullrequired

        Delete images no tag points at once they are older than this many days.

        From 1 to 365.

      • keep_patternstring or nullrequired

        A glob, such as v* or release-*: matching tags are never removed by retention.

        At most 128 characters.

    • tag_countintegerrequired
    • storage_bytesintegerrequired

      Storage the repository's images use, measured hourly.

    • last_pushed_atstring or nullrequired

      When an image was last pushed; null before the first push.

    • statusstringrequired

      active, deleting, or suspended (by an operator).

      One of active, deleting, suspended.

    • suspended_reasonstring or nullrequired

      Why an operator suspended it; null unless suspended.

    • created_atstringrequired
    • updated_atstringrequired
    • versionintegerrequired

      Increases with every change.

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value. INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope. Use a key with that scope. FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404REPOSITORY_NOT_FOUND: no repository with this id in your organization. List your repositories to find it.
    • 409REPOSITORY_SUSPENDED: an operator suspended the repository. Contact support. CONFLICT: the repository is being deleted, or was changed at the same time by another request.
    • 422VALIDATION_FAILED: a field is invalid; errors names it.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Body
    Idempotency
    curl -X PATCH "https://api.pantechdynamics.com/public/v1/registry/repositories/crr_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{}'
    Response 200
    {
      "id": "crr_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "namespace": "acme",
      "name": "api/server",
      "full_name": "registry.pantechdynamics.com/acme/api/server",
      "description": "description",
      "visibility": "private",
      "immutable_tags": true,
      "retention": {
        "keep_last": 1,
        "untagged_after_days": 1,
        "keep_pattern": "keep-pattern"
      },
      "tag_count": 1,
      "storage_bytes": 1,
      "last_pushed_at": "2026-10-03T09:30:00Z",
      "status": "active",
      "suspended_reason": null,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z",
      "version": 1
    }

    Delete a repository

    Deletes the repository and every image in it. It answers deleting and disappears once every image is deleted from the registry, usually within a minute; the space is reclaimed by the next nightly clean-up. Owners and admins only.

    Idempotency: deleting a repository that is already being deleted returns it again.

    Scope: write. Destructive: an AI app's key also needs delete.

    DELETE/public/v1/registry/repositories/{repository_id}
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • repository_idstringrequired

      The repository's id (crr_…).

    Response 202

    The repository, deleting.
    • idstringrequired

      e.g. crr_....

    • namespacestringrequired
    • namestringrequired

      The repository's name inside the namespace.

    • full_namestringrequired

      The image name to push and pull, without a tag.

    • descriptionstringrequired

      Your note about it; may be empty.

    • visibilitystringrequired

      private (members and credentials only) or public (anyone may pull).

      One of private, public.

    • immutable_tagsbooleanrequired

      Whether tags, once pushed, can never be moved or deleted.

    • retentionRegistryRetentionrequired

      A retention policy. Each rule is null when off.

      Show 3 child fields
      • keep_lastinteger or nullrequired

        Keep the newest N tags (by push time) that keep_pattern does not protect; older ones are untagged daily.

        From 1 to 1000.

      • untagged_after_daysinteger or nullrequired

        Delete images no tag points at once they are older than this many days.

        From 1 to 365.

      • keep_patternstring or nullrequired

        A glob, such as v* or release-*: matching tags are never removed by retention.

        At most 128 characters.

    • tag_countintegerrequired
    • storage_bytesintegerrequired

      Storage the repository's images use, measured hourly.

    • last_pushed_atstring or nullrequired

      When an image was last pushed; null before the first push.

    • statusstringrequired

      active, deleting, or suspended (by an operator).

      One of active, deleting, suspended.

    • suspended_reasonstring or nullrequired

      Why an operator suspended it; null unless suspended.

    • created_atstringrequired
    • updated_atstringrequired
    • versionintegerrequired

      Increases with every change.

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope, or it is an AI app's key without delete. Use a key with that scope, or reconnect the AI app with "Manage and delete" access. FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404REPOSITORY_NOT_FOUND: no repository with this id in your organization. List your repositories to find it.
    • 409REPOSITORY_SUSPENDED: an operator suspended the repository. Contact support.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    curl -X DELETE "https://api.pantechdynamics.com/public/v1/registry/repositories/crr_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)"
    Response 202
    {
      "id": "crr_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "namespace": "acme",
      "name": "api/server",
      "full_name": "registry.pantechdynamics.com/acme/api/server",
      "description": "description",
      "visibility": "private",
      "immutable_tags": true,
      "retention": {
        "keep_last": 1,
        "untagged_after_days": 1,
        "keep_pattern": "keep-pattern"
      },
      "tag_count": 1,
      "storage_bytes": 1,
      "last_pushed_at": "2026-10-03T09:30:00Z",
      "status": "active",
      "suspended_reason": null,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z",
      "version": 1
    }

    List a repository's tags

    The repository's tags, newest push first, each with the image it points at: digest, media type, size and platforms.

    GET/public/v1/registry/repositories/{repository_id}/tags
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Path parameters

    • repository_idstringrequired

      The repository's id (crr_…).

    Query parameters

    • qstring

      Only tags whose name contains this text, at most 255 characters.

      At most 255 characters.

    • limitinteger

      Items per page, 1 to 100. Defaults to 50.

      From 1 to 100. Defaults to 50.

    • cursorstring

      The previous page's next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.

    Response 200

    Tags.
    • dataarray of RegistryTagrequired
      Show 8 child fields
      • namestringrequired
      • digeststringrequired
      • media_typestringrequired

        The manifest's media type: an image index (several platforms) or a single image.

      • size_bytesintegerrequired

        The image's size: the manifest and the layers it references.

      • platformsarray of stringrequired

        For an index, the platforms it holds, such as linux/amd64.

      • pushed_atstringrequired

        When the tag was pushed to this image.

      • last_pulled_atstring or nullrequired

        When it was last pulled; null if never.

      • immutablebooleanrequired

        Whether the tag can never be moved or deleted (the repository has immutable tags).

    • next_cursorstring or nullrequired

      Pass as cursor for the next page; null on the last one.

    Errors

    • 400INVALID_FILTER: a query parameter is not valid. detail names it and what it takes. INVALID_CURSOR: the cursor is not valid for this list and these filters. Start again without a cursor.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key is no longer an active member. Use another key. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404REPOSITORY_NOT_FOUND: no repository with this id in your organization. List your repositories to find it.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Query
    curl "https://api.pantechdynamics.com/public/v1/registry/repositories/crr_06gk3x9tq7m2v8r4y1c5d0zp8w/tags" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "data": [
        {
          "name": "v1.4.2",
          "digest": "sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
          "media_type": "application/vnd.oci.image.index.v1+json",
          "size_bytes": 1610612736,
          "platforms": [
            "linux/amd64",
            "linux/arm64"
          ],
          "pushed_at": "2026-10-03T09:30:00Z",
          "last_pulled_at": "2026-10-03T09:30:00Z",
          "immutable": true
        }
      ],
      "next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
    }

    Get a tag

    One tag and the image it points at.

    GET/public/v1/registry/repositories/{repository_id}/tags/{tag}
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Path parameters

    • repository_idstringrequired

      The repository's id (crr_…).

    • tagstringrequired

      The tag, such as v1.4.2 or latest.

      At most 128 characters.

    Response 200

    The tag.
    • namestringrequired
    • digeststringrequired
    • media_typestringrequired

      The manifest's media type: an image index (several platforms) or a single image.

    • size_bytesintegerrequired

      The image's size: the manifest and the layers it references.

    • platformsarray of stringrequired

      For an index, the platforms it holds, such as linux/amd64.

    • pushed_atstringrequired

      When the tag was pushed to this image.

    • last_pulled_atstring or nullrequired

      When it was last pulled; null if never.

    • immutablebooleanrequired

      Whether the tag can never be moved or deleted (the repository has immutable tags).

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key is no longer an active member. Use another key. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404REPOSITORY_NOT_FOUND: no repository with this id in your organization. List your repositories to find it. TAG_NOT_FOUND: no tag with this name in the repository.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    curl "https://api.pantechdynamics.com/public/v1/registry/repositories/crr_06gk3x9tq7m2v8r4y1c5d0zp8w/tags/v1.4.2" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "name": "v1.4.2",
      "digest": "sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
      "media_type": "application/vnd.oci.image.index.v1+json",
      "size_bytes": 1610612736,
      "platforms": [
        "linux/amd64",
        "linux/arm64"
      ],
      "pushed_at": "2026-10-03T09:30:00Z",
      "last_pulled_at": "2026-10-03T09:30:00Z",
      "immutable": true
    }

    Delete a tag

    Removes the tag from the registry. The image stays while another tag points at it; untagged images are removed by the nightly clean-up. Refused for a repository with immutable tags. Owners and admins only.

    Scope: write. Destructive: an AI app's key also needs delete.

    DELETE/public/v1/registry/repositories/{repository_id}/tags/{tag}
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • repository_idstringrequired

      The repository's id (crr_…).

    • tagstringrequired

      The tag, such as v1.4.2 or latest.

      At most 128 characters.

    Response 202

    The tag was deleted. No body. No body.

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope, or it is an AI app's key without delete. Use a key with that scope, or reconnect the AI app with "Manage and delete" access. FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404REPOSITORY_NOT_FOUND: no repository with this id in your organization. List your repositories to find it. TAG_NOT_FOUND: no tag with this name in the repository.
    • 409TAG_IMMUTABLE: the repository has immutable tags, so its tags cannot be deleted. REPOSITORY_SUSPENDED: an operator suspended the repository. Contact support.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503REGISTRY_UNAVAILABLE: the container registry is not available, or could not be reached; nothing was changed. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    curl -X DELETE "https://api.pantechdynamics.com/public/v1/registry/repositories/crr_06gk3x9tq7m2v8r4y1c5d0zp8w/tags/v1.4.2" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)"
    HTTP/1.1 202

    List registry tokens

    Your organization's registry tokens, newest first, revoked ones included. Secrets are never shown again after creation.

    GET/public/v1/registry/tokens
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Query parameters

    • limitinteger

      Items per page, 1 to 100. Defaults to 50.

      From 1 to 100. Defaults to 50.

    • cursorstring

      The previous page's next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.

    Response 200

    Registry tokens.
    • dataarray of RegistryTokenrequired
      Show 8 child fields
      • idstringrequired

        e.g. prt_....

      • namestringrequired
      • permissionstringrequired

        pull, or push (which includes pull).

        One of pull, push.

      • repositoriesarray of stringrequired

        The repositories it may use; empty for every repository in the namespace.

      • expires_atstring or nullrequired

        When it stops working; null if never.

      • last_used_atstring or nullrequired

        When it last signed in, to the minute; null if never.

      • created_atstringrequired
      • revoked_atstring or nullrequired

        When it was revoked; null if it was not.

    • next_cursorstring or nullrequired

      Pass as cursor for the next page; null on the last one.

    Errors

    • 400INVALID_CURSOR: the cursor is not valid for this list and these filters. Start again without a cursor.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the read scope. Use a key with that scope. FORBIDDEN: the member who created the key is no longer an active member. Use another key. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Query
    curl "https://api.pantechdynamics.com/public/v1/registry/tokens" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "data": [
        {
          "id": "prt_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "name": "github-actions",
          "permission": "pull",
          "repositories": [
            "repositories"
          ],
          "expires_at": "2026-10-03T09:30:00Z",
          "last_used_at": "2026-10-03T09:30:00Z",
          "created_at": "2026-10-03T09:30:00Z",
          "revoked_at": "2026-10-03T09:30:00Z"
        }
      ],
      "next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
    }

    Create a registry token

    Creates a credential for CI systems and clusters that works only for the registry, never for the Pantech API. permission is pull or push (push includes pull); repositories limits it to some repositories of your namespace (empty for all of them); expires_at is optional. The answer alone carries secret, prt_…: use it as the password of docker login registry.pantechdynamics.com -u pantech. It is shown once. Owners and admins are emailed about every new token. At most 50 active tokens per organization. Owners and admins only.

    A token never carries more than the member creating it may do: a pull token needs registry:Pull, a push token registry:Pull and registry:Push, on every repository it lists, or, with repositories empty, on every repository at once (no deny of the action may apply to any repository). These are decided as the token will be used, without MFA and from any address. Every use is decided again, and a token stops for good when the member who created it leaves the organization.

    Idempotency: a retry with the same Idempotency-Key returns the token the first request made with secret null, since the secret is never stored. The same key with a different request returns 409 IDEMPOTENCY_CONFLICT.

    POST/public/v1/registry/tokens
    Write keyNeeds Idempotency-KeyReturns201Created

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Body

    application/json
    • namestringrequired

      At most 64 characters.

    • permissionstringrequired

      One of pull, push.

    • repositoriesarray of string

      Repository names in your namespace, such as api/server; left out or empty for all of them.

      At most 100 items.

    • expires_atstring

      When it stops working (RFC 3339), at most 10 years away; left out for never.

    Response 201

    The new token and its secret (secret is null on a replay).
    • idstringrequired

      e.g. prt_....

    • namestringrequired
    • permissionstringrequired

      pull, or push (which includes pull).

      One of pull, push.

    • repositoriesarray of stringrequired

      The repositories it may use; empty for every repository in the namespace.

    • expires_atstring or nullrequired

      When it stops working; null if never.

    • last_used_atstring or nullrequired

      When it last signed in, to the minute; null if never.

    • created_atstringrequired
    • revoked_atstring or nullrequired

      When it was revoked; null if it was not.

    • secretstring or nullrequired

      The token's secret, prt_…, shown in this answer only: the password for docker login. Null on an idempotent replay, since it is never stored.

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value. INVALID_REQUEST_BODY: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope. Use a key with that scope. FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps. REGISTRY_TOKEN_LIMIT_REACHED: your organization already has 50 active registry tokens. Revoke one first. ACCESS_DENIED: an access policy refuses the key's member registry:ManageTokens, or the registry:Pull or registry:Push the token would carry on one of its repositories; detail names the action.
    • 404REGISTRY_NAMESPACE_NOT_SET: your organization has not claimed a namespace yet. Claim one with PUT /registry.
    • 409IDEMPOTENCY_CONFLICT: the Idempotency-Key was already used with a different request. Use a new key.
    • 422VALIDATION_FAILED: a field is missing or invalid; errors names it.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Body
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/registry/tokens" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
        "name": "github-actions",
        "permission": "pull"
      }'
    Response 201
    {
      "id": "prt_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "name": "github-actions",
      "permission": "pull",
      "repositories": [
        "repositories"
      ],
      "expires_at": "2026-10-03T09:30:00Z",
      "last_used_at": "2026-10-03T09:30:00Z",
      "created_at": "2026-10-03T09:30:00Z",
      "revoked_at": "2026-10-03T09:30:00Z",
      "secret": "secret"
    }

    Revoke a registry token

    Revokes the token: it can no longer sign in, and registry sessions it opened end within 5 minutes. Owners and admins only.

    Idempotency: revoking a revoked token succeeds again.

    Scope: write. Destructive: an AI app's key also needs delete.

    DELETE/public/v1/registry/tokens/{token_id}
    Write keyNeeds Idempotency-KeyReturns204No Content

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • token_idstringrequired

      The registry token's id (prt_…).

    Response 204

    Revoked. No body. No body.

    Errors

    • 400IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing. Send a new unique value, such as a UUID, with every write. INVALID_IDEMPOTENCY_KEY: the Idempotency-Key header is longer than 255 characters. Use a shorter value.
    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the write scope, or it is an AI app's key without delete. Use a key with that scope, or reconnect the AI app with "Manage and delete" access. FORBIDDEN: the member who created the key is not an owner or admin. Use a key created by one. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
    • 404REGISTRY_TOKEN_NOT_FOUND: no registry token with this id in your organization.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503REGISTRY_UNAVAILABLE: the container registry is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    curl -X DELETE "https://api.pantechdynamics.com/public/v1/registry/tokens/prt_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)"
    HTTP/1.1 204 No Content

    Was this page helpful?

    Updated