curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/function-apps/{functionExternalId}/calls/{callId}/response \
--header 'Authorization: Bearer <token>'{
"response": {
"numAssets": 1234,
"someCalculation": 3.14
}
}Required capabilities:
functionsAcl:READ
Get the response from a completed function call.
curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/function-apps/{functionExternalId}/calls/{callId}/response \
--header 'Authorization: Bearer <token>'{
"response": {
"numAssets": 1234,
"someCalculation": 3.14
}
}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.
Was this page helpful?