{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Retrieve the accounts immediately attached to a specific organization. Accounts\nattached to sub-organizations are not included. Use `page_token` and `page_size` for cursor\npagination, or provide `page` and `per_page` together for legacy offset pagination. Cursor\npagination takes precedence when requested. The default response uses Account fields;\n`Accept: application/json; legacy=true` requests the LegacyAccount representation.","properties":{"headers":{"type":"object","properties":{"Accept":{"type":"string","description":"Request `application/json; legacy=true` for the LegacyAccount representation."}},"required":[],"additionalProperties":false},"path":{"type":"object","properties":{"organization_id":{"$ref":"#/definitions/organizations-api_OrganizationID","description":"The ID of the organization to retrieve a list of accounts for."}},"required":["organization_id"],"additionalProperties":false},"query":{"type":"object","properties":{"account_pubname":{"type":"string","description":"(case-sensitive) Filter the list of accounts to where the account_pubname is equal to\na particular string."},"account_pubname.startsWith":{"type":"string","description":"(case-insensitive) Filter the list of accounts to where the account_pubname starts with\na particular string."},"account_pubname.endsWith":{"type":"string","description":"(case-insensitive) Filter the list of accounts to where the account_pubname ends with\na particular string."},"account_pubname.contains":{"type":"string","description":"(case-insensitive) Filter the list of accounts to where the account_pubname contains\na particular string."},"name":{"type":"string","description":"(case-sensitive) Filter the list of accounts to where the name is equal to a\nparticular string. At most one of `name`, `name.startsWith`, `name.endsWith`,\nor `name.contains` may be supplied per request."},"name.startsWith":{"type":"string","description":"(case-insensitive) Filter the list of accounts to where the name starts with a\nparticular string."},"name.endsWith":{"type":"string","description":"(case-insensitive) Filter the list of accounts to where the name ends with a particular\nstring."},"name.contains":{"type":"string","description":"(case-insensitive) Filter the list of accounts to where the name contains a particular\nstring."},"status":{"type":"string","enum":["active","deleted"],"description":"Filter accounts by lifecycle status. Defaults to `active`."},"order_by":{"type":"string","enum":["account_name"],"description":"Field to order results by. Currently supported values: `account_name`."},"direction":{"type":"string","enum":["asc","desc"],"description":"Sort direction for the order_by field. Valid values: `asc`, `desc`.\nDefaults to `asc` when order_by is specified."},"include_tags":{"type":"boolean","description":"Include Account tags from the resource tag mirror. Omit this parameter to preserve the existing Account response shape."},"include_total":{"type":"boolean","default":true,"description":"Whether to calculate and return the exact result_info.total_size for cursor\npagination. Defaults to true. When false, total_size is omitted. page_size and\ninclude_total may change between pages; next_page_token remains the authoritative\ncontinuation signal.\nLegacy page/per_page requests always calculate total_count."},"page":{"type":"integer","description":"Legacy offset page number. Must be provided with `per_page`. Values below 1 are treated as\n1. Cursor pagination takes precedence when requested."},"per_page":{"type":"integer","description":"Legacy offset page size. Must be provided with `page`. Values are clamped to the range\n1-100. Cursor pagination takes precedence when requested."},"page_token":{"type":"string","description":"An opaque token returned from the last list response that when\nprovided will retrieve the next page.\n\nParameters used to filter the retrieved list must remain in subsequent\nrequests with a page token."},"page_size":{"type":"integer","maximum":1000,"minimum":0,"description":"The amount of items to return. Defaults to 10."}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false,"definitions":{"organizations-api_OrganizationID":{"type":"string","pattern":"^[a-f0-9]{32}$","title":"Organization ID","examples":["a7b9c3d2e8f4a1b5c6d0e9f2a3b7c4d8"]}}},"name":"List organization accounts","id":"cloudflare.organizations_getaccounts","example":{"path":{"organization_id":"a7b9c3d2e8f4a1b5c6d0e9f2a3b7c4d8"}},"maxRequests":1,"summary":false}}