list_space_members #

View this page as Markdown

On this page

Generated automatically from the published contract sources.

A script calls this action over HTTPS at POST https://tztrack.dev.turnzero.ai/v1/list_space_members, with a bearer credential and the action's payload as the JSON body. It also accepts GET. An MCP connection lists this action as the tool tztrack_list_space_members.

OAuth access tokens and minted tokens, including the turnzero command's computer token, are bearer credentials. The action determines which kinds, scopes and grants it accepts (Sign-in, sessions, and tokens).

Build metadata: Registered in this build. Registration describes the default dispatcher in this build. It does not guarantee that a caller has the required credential or grant, that a tool is listed for that connection, or that the required service is configured.

Contract description #

List the members of an issue space you own. Pass space. Each has its level and role (Viewer, Reporter, Contributor or Admin), restricted-issue access and, where bounded, accounts, including its own. users counts members plus you. Add or remove a member with share_space. Your account needs tzTrack, which every account has.

Access and action metadata #

{
  "name": "list_space_members",
  "resource": "account",
  "surface": "tztrack",
  "addresses": [
    "tztools"
  ],
  "tier": "observe",
  "product": "tztrack",
  "admits": [
    "tztrack",
    "device_sign_in"
  ],
  "summary": "List the members of an issue space you own; pass `space`. Each member has its level, its role (Viewer, Reporter, Contributor or Admin), restricted-issue access and, where bounded, `accounts`, including its own. `users` counts the members plus you; the answer gives your account's tzTrack tier.",
  "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "openWorldHint": false,
    "idempotentHint": true
  }
}

MCP catalog entry #

{
  "name": "list_space_members",
  "title": "List space members",
  "tier": "observe",
  "scenario": "API-L0-20",
  "summary": "List the members of an issue space you own. Pass `space`. Each has its level and role (Viewer, Reporter, Contributor or Admin), restricted-issue access and, where bounded, `accounts`, including its own. `users` counts members plus you. Add or remove a member with `share_space`. Your account needs tzTrack, which every account has.",
  "owners": [
    "ITS-L0-07",
    "ACB-L0-92"
  ]
}

request #

JSON pointer Description and constraints
"" (root) Type: object
Required fields: ["space"]
/properties/space The space to read, a lower-case UUID of a space your account owns.

Type: string
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

response #

JSON pointer Description and constraints
"" (root) Type: object
Required fields: ["contract_version","space","members","users"]
/properties/contract_version Required value: 1
/properties/reference The short reference the platform recorded your call under: ten lowercase hexadecimal characters, the value in the call's record row. Quote it when you report the call.

Type: string
Pattern: ^[0-9a-f]{10}$
/properties/space The space shared.

Type: string
/properties/members The members of the space after the call, oldest first; you, the owner, are not among them.

Type: array
/properties/members/items Type: object
Required fields: ["account","address","level","added_at","role","restricted"]
/properties/members/items/properties/account The member's account identifier, the one its claims and its person:<account> carry.

Type: string
/properties/members/items/properties/address The sign-in email address the member was added by.

Type: string
/properties/members/items/properties/level Type: string
Allowed values: ["view","report","contribute","owner"]
/properties/members/items/properties/added_at The instant the member was added, or its level last moved.

Type: string
/properties/members/items/properties/role The level's name: view is Viewer, report Reporter, contribute Contributor and owner Admin. Admin is a member, not the space's owner.

Type: string
/properties/members/items/properties/restricted Whether the member can read restricted issues at its level. False for a bounded member. A row written before this setting follows its level: contribute and owner admit restricted issues; view and report do not.

Type: boolean
/properties/members/items/properties/accounts The accounts bounding this member's access, including its own. Present only for a bounded member, which reads only issues holding a report recorded under one of these accounts and never restricted issues.

Type: array
/properties/members/items/properties/accounts/items Type: string
/properties/users The members plus you, the count a per-user price reads.

Type: integer
Minimum: 1

Complete payload contract #

{
  "request": {
    "type": "object",
    "required": [
      "space"
    ],
    "properties": {
      "space": {
        "type": "string",
        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
        "description": "The space to read, a lower-case UUID of a space your account owns."
      }
    }
  },
  "response": {
    "type": "object",
    "required": [
      "contract_version",
      "space",
      "members",
      "users"
    ],
    "properties": {
      "contract_version": {
        "const": 1
      },
      "reference": {
        "type": "string",
        "pattern": "^[0-9a-f]{10}$",
        "description": "The short reference the platform recorded your call under: ten lowercase hexadecimal characters, the value in the call's record row. Quote it when you report the call."
      },
      "space": {
        "type": "string",
        "description": "The space shared."
      },
      "members": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "account",
            "address",
            "level",
            "added_at",
            "role",
            "restricted"
          ],
          "properties": {
            "account": {
              "type": "string",
              "description": "The member's account identifier, the one its claims and its `person:<account>` carry."
            },
            "address": {
              "type": "string",
              "description": "The sign-in email address the member was added by."
            },
            "level": {
              "type": "string",
              "enum": [
                "view",
                "report",
                "contribute",
                "owner"
              ]
            },
            "added_at": {
              "type": "string",
              "description": "The instant the member was added, or its level last moved."
            },
            "role": {
              "type": "string",
              "description": "The level's name: `view` is Viewer, `report` Reporter, `contribute` Contributor and `owner` Admin. Admin is a member, not the space's owner."
            },
            "restricted": {
              "type": "boolean",
              "description": "Whether the member can read restricted issues at its level. False for a bounded member. A row written before this setting follows its level: `contribute` and `owner` admit restricted issues; `view` and `report` do not."
            },
            "accounts": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "The accounts bounding this member's access, including its own. Present only for a bounded member, which reads only issues holding a report recorded under one of these accounts and never restricted issues."
            }
          }
        },
        "description": "The members of the space after the call, oldest first; you, the owner, are not among them."
      },
      "users": {
        "type": "integer",
        "minimum": 1,
        "description": "The members plus you, the count a per-user price reads."
      }
    }
  }
}

Shared contracts #