list_upstreams

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_upstreams, with a bearer credential and the action's payload as the JSON body. It also accepts GET.

Contract description

List the account's declared upstreams: each name, base URL, credential name, auth form, and the settings an unchanged client reads.

Access and action metadata

{
  "name": "list_upstreams",
  "resource": "upstream",
  "tier": "observe",
  "clients": [
    "bearer",
    "browser_session"
  ],
  "summary": "The account's declared upstreams.",
  "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "openWorldHint": false,
    "idempotentHint": true
  }
}

MCP catalog entry

{
  "name": "list_upstreams",
  "tier": "observe",
  "scenario": "EGW-L0-09",
  "summary": "List the account's declared upstreams: each name, base URL, credential name, auth form, and the settings an unchanged client reads.",
  "owners": []
}

request

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

response

JSON pointer Description and constraints
"" (root) Type: object
Required fields: ["contract_version","upstreams"]
/properties/contract_version Required value: 1
/properties/reference The short reference the platform recorded this call under, ten lowercase hexadecimal characters, the value the call’s record row carries; quote it when reporting the call.

Type: string
Pattern: ^[0-9a-f]{10}$
/properties/upstreams Type: array
/properties/upstreams/items Type: object
/properties/upstreams/items/properties/application Type: ["string","null"]
/properties/upstreams/items/properties/settings The declaration's `settings`: the settings an unchanged client reads in a deployed container, as declared. Null where the declaration names none.

Type: ["object","null"]
/properties/detail Type: string

Complete payload contract

{
  "request": {
    "type": "object",
    "properties": {}
  },
  "response": {
    "type": "object",
    "required": [
      "contract_version",
      "upstreams"
    ],
    "properties": {
      "contract_version": {
        "const": 1
      },
      "reference": {
        "type": "string",
        "pattern": "^[0-9a-f]{10}$",
        "description": "The short reference the platform recorded this call under, ten lowercase hexadecimal characters, the value the call’s record row carries; quote it when reporting the call."
      },
      "upstreams": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "application": {
              "type": [
                "string",
                "null"
              ]
            },
            "settings": {
              "type": [
                "object",
                "null"
              ],
              "description": "The declaration's `settings`: the settings an unchanged client reads in a deployed container, as declared. Null where the declaration names none."
            }
          }
        }
      },
      "detail": {
        "type": "string"
      }
    }
  }
}

Shared contracts