Skip to main content
GET
/
functions
/
{functionId}
/
calls
/
{callId}
Retrieve a function call by its id
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.

Authorizations

Authorization
string
header
required

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.

Path Parameters

callId
integer
required

The function call id.

functionId
integer
required

The function id.

Response

OK

id
integer<int64>
required

A server-generated ID for the object.

Required range: 1 <= x <= 9007199254740991
status
enum<string>
required

Status of the function call.

Available options:
Running,
Completed,
Failed,
Timeout
Example:

"Running"

startTime
integer<int64>
required

The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.

Required range: x >= 0
Example:

1730204346000

functionId
integer<int64>
required

A server-generated ID for the object.

Required range: 1 <= x <= 9007199254740991
endTime
integer<int64>

The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.

Required range: x >= 0
Example:

1730204346000

error
string

Error message when the call status is Failed or Timeout.

Example:

"ZeroDivisionError: division by zero"

scheduleId
integer<int64>

A server-generated ID for the object.

Required range: 1 <= x <= 9007199254740991
scheduledTime
integer<int64>

The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.

Required range: x >= 0
Example:

1730204346000

Last modified on May 13, 2026