list_data_shares

List data shares

read collection controlled-share since 2026-10-01

Lists what an org shares with its counterparties: for each party holding a seat on the org's documents, that floor (which is derived and cannot be revoked), and each explicit share of a saved query. An admin of the org sees every party's. A member of an org that is one of those counterparties sees its own and nothing else, and never a revoked share. A share the receiving org declined is listed with when it declined and who, and cannot be revoked.

Contract

shape
collection
authority
read
evidence
none
subscription
false
permission
any one of: org.admin (carried by the caller's role template in the org `org_id`); counterparty (org.member carried by the caller's role template in an org that holds a seat on the document; it reads its own seat); a deactivated caller is refused first
idempotency
safe
emits
none
MCP tool
list_data_shares
REST
POST https://api.containertradehq.com/v1/cap/list_data_shares

Idempotency: a read: calling again changes nothing

Inputs

nametyperequiredvalidation
org_idorg_idrequiredtradehq-org-id; 1 to 20 characters
The org sharing.
party_iduuidoptionalUUID
Only this counterparty's.
include_revokedbooleanoptional
For an admin: also the revoked shares. A counterparty is never shown one.

Paginated: next next_after · ceiling not_declared

Response

  • items · object[]
  • next_after · stringnull · Pass as `after` for the next page; null on the last one.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "explicit",
              "floor"
            ],
            "description": "floor (the documents the party holds a seat on) or explicit (a share).",
            "x-data-class": "operational"
          },
          "data_share_id": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
            "format": "uuid",
            "description": "The share; null for the floor, which has no row.",
            "x-data-class": "operational"
          },
          "party_id": {
            "type": "string",
            "pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
            "format": "uuid",
            "description": "The counterparty.",
            "x-data-class": "operational"
          },
          "party_name": {
            "type": "string",
            "description": "The counterparty's name in the directory.",
            "x-data-class": "operational"
          },
          "query": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "vendor_bill_request",
              "vendor_forecast",
              "vendor_sell_through",
              null
            ],
            "description": "The saved query; null for the floor.",
            "x-data-class": "operational"
          },
          "title": {
            "type": "string",
            "description": "What it is called.",
            "x-data-class": "operational"
          },
          "recipients": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@([A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])?\\.)+([A-Za-z]{2,}|[Xx][Nn]--[A-Za-z0-9-]*[A-Za-z0-9])$",
                  "maxLength": 254
                },
                "uniqueItems": true
              },
              {
                "const": "•••",
                "description": "Masked by the caller's data policy."
              },
              {
                "type": "null",
                "description": "Denied by the caller's data policy."
              }
            ],
            "description": "Who a share is emailed to; empty for the floor.",
            "x-data-class": "personal"
          },
          "cadence": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "daily",
              "hourly",
              null
            ],
            "description": "How often a share is emailed; null for the floor.",
            "x-data-class": "operational"
          },
          "documents": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "description": "For the floor, how many documents; null for a share.",
            "x-data-class": "operational"
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When a share was created; null for the floor.",
            "x-data-class": "operational"
          },
          "revoked_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When a share was revoked, or null.",
            "x-data-class": "operational"
          },
          "declined_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the receiving org stopped receiving it (decline_data_share), or null.",
            "x-data-class": "operational"
          },
          "declined_by_org_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The org that declined it: the one that has claimed the counterparty; null unless declined.",
            "x-data-class": "operational"
          },
          "revocable": {
            "type": "boolean",
            "description": "Whether revoke_data_share can revoke it: a live share can; the floor and a revoked or declined share never.",
            "x-data-class": "operational"
          }
        },
        "required": [
          "kind",
          "data_share_id",
          "party_id",
          "party_name",
          "query",
          "title",
          "recipients",
          "cadence",
          "documents",
          "created_at",
          "revoked_at",
          "declined_at",
          "declined_by_org_name",
          "revocable"
        ],
        "additionalProperties": false
      }
    },
    "next_after": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pass as `after` for the next page; null on the last one."
    }
  },
  "required": [
    "items",
    "next_after"
  ],
  "additionalProperties": false
}

Refusals

not yet declared

The platform refusals apply to every call: version, authentication, authority, validation and rate limits, each in the same envelope.

Surfaces

DesktopF
MobileF
APIF
MCPF
VoiceD4
PushN
OneBoxN
OutboundN
  • Voice: degraded: visualization
  • Push: emits nothing
  • OneBox: no document originates a share listing
  • Outbound: a listing is read inside Trade HQ; nothing is sent

Events

None emitted.

Related

claim_party, create_data_share, invite_guest, preview_data_share