OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Database

SQL - V4.6.0

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogWhite PaperLive DemosTraining & CertificationTicket
    Company
    About OceanBaseTrust CenterLegalPartnerContact Us
    Follow Us

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Database
    3. SQL
    4. V4.6.0
    iconOceanBase Database
    SQL - V 4.6.0
    Databases
    • OceanBase Database
    • OceanBase Cloud
    • OceanBase Tugraph
    • Interactive Tutorials
    • OceanBase Best Practices
    Tools
    • OceanBase Cloud Platform
    • OceanBase Migration Service
    • OceanBase Developer Center
    • OceanBase Migration Assessment
    • OceanBase Admin Tool
    • OceanBase Loader and Dumper
    • OceanBase Deployer
    • Kubernetes operator for OceanBase
    • OceanBase Diagnostic Tool
    • OceanBase Binlog Service
    Connectors and Middleware
    • OceanBase Database Proxy
    • Embedded SQL in C for OceanBase
    • OceanBase Call Interface
    • OceanBase Connector/C
    • OceanBase Connector/J
    • OceanBase Connector/ODBC
    • OceanBase Connector/NET
    SQL
    KV
    • V 4.6.0
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    GetNodeDetails

    Last Updated:2026-05-07 11:26:25  Updated
    Share
    What is on this page
    Call description
    Limitations
    Request path
    Response parameters
    Examples
    Sample request
    Sample response
    References

    folded

    Share

    This API operation is used to query the information about an OBServer node.

    Call description

    Limitations

    The OceanBase Shell (obshell) server verifies the security of requests to this API operation. For more information, see Hybrid encryption for API operations.

    Request path

    GET /api/v1/task/node/{id}

    Here, id indicates the general ID of the OBServer node.

    Response parameters

    Parameter
    Type
    Description
    successful Boolean Indicates whether the request was successful.
    timestamp time.Time The timestamp when the server completed the request.
    duration Integer The amount of time taken by the server to process the request, in milliseconds.
    status Integer The HTTP status code.
    traceId String The trace ID of the request.
    data NodeDetailDTO The information about the OBServer node. For more information, see the data structure of NodeDetailDTO.
    error ApiError The error caused by the request, which contains the following information:
    • code: the error code.
    • message: the error message.
    • subErrors: the suberrors.

    The following table describes the data structure of NodeDetailDTO.

    Parameter
    Type
    Description
    id String The general ID of the OBServer node.
    node_id Integer The ID of the OBServer node, which is the primary key recorded in OceanBase Database.
    name String The name of the OBServer node.
    state String The execution status of the OBServer node.
    operator String The operation type of the OBServer node.
    start_time time.Time The time when the operation execution started.
    end_time time.Time The time when the operation execution ended.
    additional_data map[string]any Other data of the OBServer node.
    sub_tasks []TaskDetailDTO The information about all subtasks on the OBServer node. For more information, see the data structure of TaskDetailDTO.

    The following table describes the data structure of TaskDetailDTO.

    Parameter
    Type
    Description
    id String The general ID of the subtask.
    task_id Integer The ID of the subtask, which is the primary key recorded in OceanBase Database.
    name String The name of the subtask.
    state String The execution status of the subtask.
    operator String The operation type of the subtask.
    start_time time.Time The time when the execution of the subtask started.
    end_time time.Time The time when the execution of the subtask ended.
    additional_data map[string]any Other data of the subtask.
    execute_times Integer The number of executions.
    execute_agent AgentInfo The agent information of the OBServer node that executed the subtask, including the following parameters:
    • ip: the IP address of obshell.
    • port: the port number of obshell.
    task_logs []string The execution logs.

    Examples

    Sample request

    GET 10.10.10.1:2886/api/v1/task/node/11

    Sample response

    The sample response displays the information about a node named Integrate server config. The operation type is RUN, and the execution result is SUCCEED.

    {
        "successful": true,
        "timestamp": "2024-01-09T21:18:19.721587522+08:00",
        "duration": 10,
        "status": 200,
        "traceId": "cd6c87efd848bb02",
        "data": {
            "id": "11",
            "node_id": 1,
            "name": "Integrate server config",
            "state": "SUCCEED",
            "operator": "RUN",
            "start_time": "2024-01-09T20:40:01.718882+08:00",
            "end_time": "2024-01-09T20:40:02.751743+08:00",
            "additional_data": null,
            "sub_tasks": [
                {
                    "id": "11",
                    "task_id": 1,
                    "name": "Integrate server config",
                    "state": "SUCCEED",
                    "operator": "RUN",
                    "start_time": "2024-01-09T20:40:01.74723+08:00",
                    "end_time": "2024-01-09T20:40:01.76717+08:00",
                    "additional_data": null,
                    "execute_times": 1,
                    "execute_agent": {
                        "ip": "10.10.10.1",
                        "port": 2886
                    },
                    "task_logs": []
                }
            ]
        }
    }
    

    References

    In addition to using the CLI, you can use SDKs to call the API operation.

    • For more information about how to call the API operation by using obshell-sdk-python, see Obtain the information about a node.

    • For more information about how to call the API operation by using obshell-sdk-go, see Obtain the information about a node.

    Previous topic

    GetDagDetails
    Last

    Next topic

    GetSubtaskDetails
    Next
    What is on this page
    Call description
    Limitations
    Request path
    Response parameters
    Examples
    Sample request
    Sample response
    References