CATA-SDK-EN
  1. Common interfaces
CATA-SDK-EN
  • Documentation
    • AI Recognition Precautions
    • Quick Start
    • SDK Error Code
    • AI Sequence Diagram
    • Screen Cropping
    • API Documentation (C language)
  • Activation
    • Activation Process
      • Step 1: Activate the device
      • Step 2: Download device configuration
      • Step 3: Download device model
    • Activate information import/export
      • Export activation data
      • Import activation data
    • View Device Activation Information
      GET
  • Common interfaces
    • Retrieve camera images
      GET
    • Retrieve status
      GET
    • retrieve logs
      GET
    • retrieve config
      GET
  • Recognition
    • Screen cropping
      • Screen cropping
      • Screen cropping config
    • Recognition
      GET
    • feedback
      POST
    • learning forgetting
      POST
    • clear learning data
      POST
    • save learning
      POST
  • learning export & import
    • export
      GET
    • import
      POST
  • camera
    • Obtain the installed camera
      GET
    • Set up the camera
      POST
  • goods
    • import product data
  • Product Image Matching
    • Download image
    • Match image
    • Edit image
  1. Common interfaces

Retrieve status

GET
/status

Request

None

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:17339/status'

Responses

🟢200success
application/json
Body
object {0}
Example
{
    "system": {
        "systemInfo": "Windows_Windows_10 (19044)_19044_x86_64_67052192",
        "cpuName": "AMD Ryzen 7 3700X 8-Core Processor",
        "cpuTemp": 10,
        "cpuFreq": [
            10,
            10,
            10,
            10,
            10,
            10,
            10,
            10
        ],
        "simd": [
            "sse4.1",
            "sse4.2",
            "avx",
            "avx2"
        ],
        "memoryUsage": 333608,
        "processMemory": [
            "Memory Compression,8306937856",
            "pycharm64.exe,5442105344",
            "java.exe,4217061376",
            "MsMpEng.exe,577609728",
            "Apifox.exe,523542528",
            "DingTalk.exe,423948288",
            "Apifox.exe,381054976",
            "msedge.exe,345186304"
        ],
        "uptime": 81392,
        "systemTime": "2023-10-30T07:14:11.135Z",
        "underVoltage": false,
        "accessBackend": true,
        "remoteRegion": "CN",
        "lastHeartbeatSince": 32,
        "serial": "0815:B031:2724",
        "hardwareVersion": "R0.1",
        "releaseVersion": "0.0.1",
        "versionTag": "DEVELOP",
        "softwareVersion": "Unknown",
        "authorizationExpired": null,
        "inferencesReady": true
    },
    "runtime": {
        "accessBackend": true,
        "remoteRegion": "CN",
        "remoteAddr": "116.62.242.202",
        "lastHeartbeatSince": 32,
        "lastHeartbeatLatency": 288,
        "lastHeartbeatDate": null,
        "remoteAuthentication": false,
        "remoteLocked": false,
        "hasModel": true,
        "authorizationExpired": null,
        "inferencesReady": true,
        "trialRemaining": 20
    },
    "model": {
        "predictions": [],
        "pps": 0,
        "mit": 0,
        "std": 0,
        "outputSize": 480,
        "identifier": "model-4631",
        "signature": "todo!",
        "threads": 4
    },
    "image": {
        "pps": 0,
        "mft": 0.25,
        "std": 0.4472135901451111,
        "rmse": 0,
        "brightness": 60,
        "sharpness": 2.5
    },
    "camera": null,
    "scale": null,
    "distributed": {
        "master": true,
        "nodes": [
            {
                "address": "localhost",
                "port": 17339,
                "serial": "0815:B031:2724",
                "lastSeen": 1698568655
            }
        ]
    },
    "product": {
        "lastProductImportSince": 261190,
        "processingImport": false,
        "productCount": 94,
        "lastImportCount": null
    },
    "network": {
        "interfaces": {
            "蓝牙网络连接": {
                "name": "蓝牙网络连接",
                "mac": "00:E0:4C:23:99:87",
                "ipv4": null,
                "linkType": "ETHERNET"
            },
            "以太网": {
                "name": "以太网",
                "mac": "2C:F0:5D:7F:B0:31",
                "ipv4": null,
                "linkType": "ETHERNET"
            }
        },
        "wireless": {}
    },
    "predictor": {
        "history": 20013,
        "uniqueTag": 465,
        "mpc": 4.875,
        "cstd": 0.5000000596046448,
        "mfrd": 26.759281158447266,
        "frdstd": 13.85787296295166
    },
    "errorCode": 0
}
🟢200error
Previous
Retrieve camera images
Next
retrieve logs
Built with