New: build custom CDF applications with Cognite Flows. Documentation · What's new.
curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/function-apps/{functionExternalId}/calls/{callId}/logs \
--header 'Authorization: Bearer <token>'{
"items": [
{
"timestamp": 1585350274000,
"message": "Did do fancy thing"
},
{
"timestamp": 1585350276000,
"message": "Did do another fancy thing"
}
]
}Required capabilities:
functionsAcl:READ
Get logs from a function call.
curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/function-apps/{functionExternalId}/calls/{callId}/logs \
--header 'Authorization: Bearer <token>'{
"items": [
{
"timestamp": 1585350274000,
"message": "Did do fancy thing"
},
{
"timestamp": 1585350276000,
"message": "Did do another fancy thing"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Function external ID
The function call id.
OK
Show child attributes
Was this page helpful?