New: build custom CDF applications with Cognite Flows. Documentation · What's new.
curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/functions/{functionId}/calls/{callId} \
--header 'Authorization: Bearer <token>'{
"id": 4503599627370496,
"status": "Running",
"startTime": 1730204346000,
"functionId": 4503599627370496,
"endTime": 1730204346000,
"error": "ZeroDivisionError: division by zero",
"scheduleId": 4503599627370496,
"scheduledTime": 1730204346000
}Required capabilities:
functionsAcl:READ
Retrieve function calls.
curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/functions/{functionId}/calls/{callId} \
--header 'Authorization: Bearer <token>'{
"id": 4503599627370496,
"status": "Running",
"startTime": 1730204346000,
"functionId": 4503599627370496,
"endTime": 1730204346000,
"error": "ZeroDivisionError: division by zero",
"scheduleId": 4503599627370496,
"scheduledTime": 1730204346000
}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.
The function call id.
The function id.
OK
A server-generated ID for the object.
1 <= x <= 9007199254740991Status of the function call.
Running, Completed, Failed, Timeout "Running"
The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
x >= 01730204346000
A server-generated ID for the object.
1 <= x <= 9007199254740991The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
x >= 01730204346000
Error message when the call status is Failed or Timeout.
"ZeroDivisionError: division by zero"
A server-generated ID for the object.
1 <= x <= 9007199254740991The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
x >= 01730204346000
Was this page helpful?