All Products
Search
Document Center

Dataphin:View invocation logs

Last Updated:Sep 30, 2025

You can troubleshoot issues by viewing API invocation logs. This topic describes how to view API log invocation information.

Prerequisites

You need to enable detailed invocation logs in system configuration to view API log invocation information. For more information, see Log and O&M statistics settings.

Limits

  • If the network is configured to use Alibaba Cloud API Gateway or the built-in gateway, the requestBody and requestHeader fields in a log cannot exceed 10,240 characters.

  • If the invoked API or API version does not exist, a synchronous call is used by default.

Permissions

Service project administrators and O&M users can view invocation logs.

API invocation log query

  1. In the top menu bar of the Dataphin homepage, select Service > API O&M.

  2. Click Invocation Logs in the left navigation bar to go to the Invocation Logs page.

  3. On the Invocation Logs page, you can view Request ID/Job ID, API name, invocation pattern, application name, runtime environment, service project, invocation result, request start time, request end time, invocation duration, execution duration (displayed only for asynchronous invocation pattern), and source IP address.

    Request ID/Job ID: When the API invocation pattern is synchronous, the Request ID is displayed. When the invocation pattern is asynchronous, the Job ID is displayed.

  4. (Optional) You can search for invocation logs by Request ID/Job ID, quickly filter invocation logs in the Production Environment, or filter API invocation log records by time range, runtime environment, invocation result, invocation pattern, invocation duration, execution duration, number of returned records, service project, application name, API name, API_ID, and source IP address. A maximum of 1,000 recent records that meet the filter conditions are returned.

    • Time Range: Filters API invocation log records by request time. You can select a predefined range, such as Last 10 Minutes, Last 24 Hours, Last 7 Days, or Last 14 Days.

    • Service Project: Query invocation log records of all APIs in the project by service project dimension.

    • Application Name: After selecting a service project, select an application. Query invocation log records of APIs bound to the application by application dimension.

  5. You can perform the following operations in the operation column of the target API.

    View Logs: Click the View Logs icon in the Actions column. In the API Invocation Log Details panel, you can view detailed information for different invocation patterns.

    • Synchronous call: You can view basic information and invocation details.

    • Asynchronous invocation: You can view basic information, invocation details, and details for GetJobStatus, GetJobResult, GetJobExecutionLog, CloseJob, and CancelJob.

      The logs record common parameters and business parameters in the request parameters, including paging parameters, row-level permission proxy parameters, sorting parameters, asynchronous invocation parameters, and more.