---
title: "List pending image shares"
method: GET
path: "/pending-image-shares"
tags: ["images"]
---

# List pending image shares

`GET /pending-image-shares`

Lists pending cross-account image shares targeting the caller's workspace (incoming) or originating from it (outgoing). Expired shares are cleaned up opportunistically.

## Query parameters

- `direction` 'incoming' | 'outgoing'

## Response `200`

successful operation

- PendingImageShareRender[]
  - `createdAt` string — Creation date
  - `expiresAt` string — Expiration date
  - `hasConflict` boolean — Whether the target workspace already has an image with the same name (potential conflict)
  - `id` string — Unique identifier for the pending image share
  - `imageName` string — Image name (repository)
  - `resourceType` string — Resource type (agent, function, sandbox, job)
  - `sharedBy` string — User sub who initiated the share
  - `sharedByEmail` string — Email of the user who initiated the share
  - `sourceAccountId` string — Source account ID
  - `sourceWorkspace` string — Source workspace name
  - `sourceWorkspaceDisplayName` string — Source workspace display name
  - `targetAccountId` string — Target account ID
  - `targetWorkspace` string — Target workspace name
  - `targetWorkspaceDisplayName` string — Target workspace display name

---

[API](https://skmtc.net/blaxel/apis/blaxel-control-plane.md) · [All operations](https://skmtc.net/blaxel/apis/blaxel-control-plane/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blaxel/blaxel-control-plane/versions/dfa264bc72ee/schema)
