{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Lists all account shares.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/resource-sharing_account_id"}},"required":["account_id"],"additionalProperties":false},"query":{"type":"object","properties":{"status":{"$ref":"#/definitions/resource-sharing_share_status","description":"Filter shares by status."},"kind":{"$ref":"#/definitions/resource-sharing_share_kind","description":"Filter shares by kind."},"target_type":{"$ref":"#/definitions/resource-sharing_share_target_type","description":"Filter shares by target_type."},"resource_types":{"type":"array","items":{"$ref":"#/definitions/resource-sharing_resource_type"},"description":"Filter share resources by resource_types."},"order":{"type":"string","default":"created","enum":["name","created"],"description":"Order shares by values in the given field."},"direction":{"type":"string","default":"asc","enum":["asc","desc"],"description":"Direction to sort objects."},"page":{"type":"integer","default":1,"minimum":1,"multipleOf":1,"examples":[2],"description":"Page number. Defaults to `1` when omitted."},"per_page":{"type":"integer","default":20,"maximum":100,"minimum":1,"multipleOf":1,"examples":[20],"description":"Number of objects to return per page. Defaults to `20` when omitted."},"include_resources":{"type":"boolean","examples":[true],"description":"Include resources in the response."},"include_recipient_counts":{"type":"boolean","examples":[true],"description":"Include recipient counts in the response."},"include_tags_from":{"type":"string","enum":["api","mirror"],"description":"Include share tags in the response. `api` reads tags from the tag service; `mirror` reads a local, eventually consistent replica. If the tag lookup fails, the response omits `tags`."},"tag":{"type":"array","items":{"maxLength":1281,"type":"string","examples":["env=production"]},"maxItems":20,"description":"Filter shares by tag. Each value is either `key=value` (matches shares whose tags contain that key/value pair) or `key` alone (matches shares that have any value for that key). May be repeated; multiple `tag` parameters are ANDed together. Maximum 20 `tag` parameters per request."}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false,"definitions":{"resource-sharing_account_id":{"description":"Account identifier.","type":"string","maxLength":32,"minLength":32,"pattern":"^[0-9a-fA-F]{32}$","examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"resource-sharing_share_status":{"type":"string","enum":["active","deleting","deleted"]},"resource-sharing_share_kind":{"type":"string","enum":["sent","received"]},"resource-sharing_share_target_type":{"type":"string","enum":["account","organization"]},"resource-sharing_resource_type":{"description":"Resource Type.","type":"string","enum":["custom-ruleset","gateway-policy","gateway-destination-ip","gateway-block-page-settings","gateway-extended-email-matching","idp-federation-grant","trust-grant"]}}},"name":"List account shares","id":"cloudflare.shares-list","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"}},"maxRequests":1,"summary":false}}