Skip to content

model_store.model.get_info

Note

This document has been machine translated.

Retrieves information about a model registered in the Model Store.

Parameters

  • model_store_ddc (string): The name of the Model Store.
  • conds (condition): The retrieval conditions.
  • offset (integer): The starting position for retrieval.
  • limit (integer): The number of items to retrieve.
  • order (string): The column name to use as the sorting criterion for the results.

Return Value

Model information is returned as an array. For details, refer to model_info.

Execution Example

Request Data

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "model_store.model.get_info",
  "params": {
    "model_store_ddc": "my_store",
    "conds": {
      "=": ["model_state", 10]
    },
    "offset": 0,
    "limit": 1,
    "order": "-start_datetime"
  }
}

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/model_store/jsonrpc

Response

{
  "result": [
    {
      "start_datetime": {
        "_type": "datetime",
        "val": "2025-07-11T14:35:29.520625+09:00"
      },
      "end_datetime": {
        "_type": "datetime",
        "val": "2025-07-11T14:35:29.520628+09:00"
      },
      "location": [
        0,
        0
      ],
      "tenant_id": "id-party",
      "model_id": "b9817ad7-3c69-4beb-ba45-633e139a59aa",
      "model_kind": "my_model",
      "model_description": "this is my sample model",
      "model_meta": {
        "version": "1",
        "created": "2025-07-01 01:02:03",
        "loss": 0.123
      },
      "model_state": 10,
      "model_hash": "e9a5b77d4b6794a47ad0ba1682185148",
      "model_size": 17,
      "round": 0,
      "hop_count": 0
    }
  ],
  "id": 1,
  "jsonrpc": "2.0"
}