You need to enable JavaScript to run this app.
Volcano Engine Function as a Service

Volcano Engine Function as a Service

Copy page
Download PDF
Function instance
GetFunctionInstanceLogs
Copy page
Download PDF
GetFunctionInstanceLogs
Query function instance logs information.​
Request description​
  • Request method: POST​
  • Request address: http://open.volcengineapi.com/?Action=GetFunctionInstanceLogs&Version=2024-06-06​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameter​
​
Parameter​
Type​
Required or Not​
Sample Value​
Description​
Action​
String​
Yes​
GetFunctionInstanceLogs​
Interface name. The name of the current API is GetFunctionInstanceLogs.​
Version​
String​
Yes​
2024-06-06​
Interface version. The version of the current API is 2024-06-06.​
FunctionId​
String​
Yes​
nw******​
Function ID.​
Name​
String​
Yes​
nw******-vd9qztck6t-74b9cf8975-bkd99​
Function instance name.​
Limit​
Long​
No​
500​
Set the maximum number of rows for the returned logs, with a value greater than 0.​
  • Without settings, the logs starting from the container creation are displayed.​
  • If the settings are N, the latest N-line logs will be displayed.​
​
Sample request​
​
POST http://open.volcengineapi.com/?Action=GetFunctionInstanceLogs&Version=2024-06-06 HTTP/1.1​
Content-Type: application/json​
{​
"FunctionId": "nw******",​
"Name": "nw******-vd9qztck6t-74b9cf8975-bkd99",​
"Limit": 500​
}​
​
Response parameter​
​
Parameter​
Type​
Sample Value​
Description​
Logs​
String​
2024-06-25T11:18:25.136415053+08:00 Model loaded in 11.1s (load weights from disk: 3.7s, create model: 0.6s, apply weights to model: 5.5s, load textual inversion embeddings: 0.2s, calculate empty prompt: 1.0s).\n​
Function instance logs data.​
​
Sample response​
​
HTTP/1.1 200 OK​
Content-Type: application/json​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "GetFunctionInstanceLogs",​
"Version": "2024-06-06",​
"Service": "vefaas",​
"Region": "cn-beijing"​
},​
"Result": {​
"Logs": "2024-06-25T11:18:25.136415053+08:00 Model loaded in 11.1s (load weights from disk: 3.7s, create model: 0.6s, apply weights to model: 5.5s, load textual inversion embeddings: 0.2s, calculate empty prompt: 1.0s).\\n"​
}​
}​
​
Error code​
The current interface temporarily has no independent error code. If the interface calls back abnormally, you can refer to Public error code to troubleshoot.​
Last updated: 2025.06.30 11:37:43