All Products
Search
Document Center

Edge Security Acceleration:GetEdgeContainerLogs

Last Updated:Jun 25, 2026

Retrieves log information for an edge container. You can specify the number of output lines.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

AppId

string

Yes

The application ID. You can call the ListEdgeContainerApps operation to obtain the application ID.

app-88068867578379****

Lines

integer

Yes

The number of log lines to output.

Important Valid values: 1 to 5000. If the value exceeds the upper limit, an error is returned.
.

500

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

15C66C7B-671A-4297-9187-2C4477247B78

Items

array

The log list.

string

The log content.

hello world.

Examples

Success response

JSON format

{
  "RequestId": "15C66C7B-671A-4297-9187-2C4477247B78",
  "Items": [
    "hello world."
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter.appid The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID.
400 InvalidParameter The specified parameter is invalid. The specified parameter is invalid.
500 InternalError Failed to call the service. Try again later or contact technical support. Failed to call the service. Try again later or contact technical support.
404 InvalidApp.NotFound The application does not exist. Check whether the application ID you specified is correct and try again. The application does not exist. Check whether the application ID you specified is correct and try again.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.