list_connections

Generated automatically from the published contract sources.

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.

A script calls this action over HTTPS at POST https://turnzero.ai/api/v1/actions/list_connections, with a bearer credential and the action's payload as the JSON body. It also accepts GET.

Contract description

List the account's connections: id, client, sign-in, last renewal, and expiry — never a token.

Access and action metadata

{
  "name": "list_connections",
  "resource": "connection",
  "tier": "observe",
  "clients": [
    "bearer",
    "browser_session"
  ],
  "summary": "The account's live connections: each tool's refresh family with its client, sign-in, last renewal, and expiry, never a token.",
  "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "openWorldHint": false,
    "idempotentHint": true
  }
}

MCP catalog entry

{
  "name": "list_connections",
  "tier": "observe",
  "summary": "List the account's connections: id, client, sign-in, last renewal, and expiry — never a token.",
  "scenario": "API-L0-21",
  "owners": [
    "API-L0-21",
    "ACS-L0-11",
    "MCP-10"
  ]
}

request

JSON pointer Description and constraints
"" (root) Type: object

response

JSON pointer Description and constraints
"" (root) Type: object
Required fields: ["contract_version","connections"]
Additional properties: false
/properties/contract_version Required value: 1
/properties/connections Type: array
/properties/connections/items Type: object
Required fields: ["id","client_id","signed_in_at","renewed_at","expires_at"]
Additional properties: false
/properties/connections/items/properties/id The connection's identity: its refresh family, as `revoke_connection` takes it.

Type: string
/properties/connections/items/properties/client_id The registered client the connection was issued to.

Type: string
/properties/connections/items/properties/signed_in_at The instant of the sign-in that opened the connection.

Type: string
/properties/connections/items/properties/renewed_at The instant of the last renewal, or null where none was made.

Type: ["string","null"]
/properties/connections/items/properties/expires_at When the connection's newest refresh credential expires.

Type: string

Complete payload contract

{
  "request": {
    "type": "object",
    "properties": {}
  },
  "response": {
    "type": "object",
    "required": [
      "contract_version",
      "connections"
    ],
    "properties": {
      "contract_version": {
        "const": 1
      },
      "connections": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "id",
            "client_id",
            "signed_in_at",
            "renewed_at",
            "expires_at"
          ],
          "properties": {
            "id": {
              "type": "string",
              "description": "The connection's identity: its refresh family, as `revoke_connection` takes it."
            },
            "client_id": {
              "type": "string",
              "description": "The registered client the connection was issued to."
            },
            "signed_in_at": {
              "type": "string",
              "description": "The instant of the sign-in that opened the connection."
            },
            "renewed_at": {
              "type": [
                "string",
                "null"
              ],
              "description": "The instant of the last renewal, or null where none was made."
            },
            "expires_at": {
              "type": "string",
              "description": "When the connection's newest refresh credential expires."
            }
          },
          "additionalProperties": false
        }
      }
    },
    "additionalProperties": false
  }
}

Shared contracts