Skip to content

fl.list_upstream_info

Note

This document has been machine translated.

Lists the upstream information of the Model Store.

Parameters

  • conds (condition): The retrieval condition. This item is optional. If omitted, all upstream information is retrieved.
  • offset (integer): The starting position for retrieval. This item is optional. If omitted, retrieval starts from the beginning.
  • limit (integer): The number of items to retrieve. This item is optional. If omitted, all items are retrieved.
  • order (string): The column name used as the basis for sorting the results. This item is optional. If omitted, the order of the results is undefined.

Return Value

An array of upstream information matching the specified conditions is returned. For details, refer to Data Type upstream_info.

Execution Example

Request Data

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "fl.list_upstream_info",
  "params": {
    "conds": {
      "=": ["upstream_model_store_ddc", "upstream_store"]
    },
    "limit": 5
  }
}

Request Execution

curl -H "Content-type: application/json" \
     -H "APIKey: 9c6f4574-89d1-4e3c-8af7-2549dc217fcf" \
     -H "Secret: aef8caingiej1ieNieJ3Phool4maeGohcies" \
     -X POST -d "@request.json" \
     https://localhost/api/v2/fl/jsonrpc

Response

{
  "result": [
    {
      "id": 4,
      "model_store_ddc_id": null,
      "model_store_dataset_id": 4,
      "upstream_endpoint": "http://localhost/api/v2/fl/jsonrpc",
      "upstream_apikey": "9c6f4574-89d1-4e3c-8af7-2549dc217fcf",
      "upstream_secret": "aef8caingiej1ieNieJ3Phool4maeGohcies",
      "upstream_model_store_ddc": "upstream_store",
      "alias": "default",
      "description": "",
      "enabled": true,
      "created_at": {
        "_type": "datetime",
        "val": "2025-07-10T14:19:59.186408+09:00"
      },
      "updated_at": {
        "_type": "datetime",
        "val": "2025-07-10T14:19:59.186408+09:00"
      }
    }
  ],
  "id": 1,
  "jsonrpc": "2.0"
}