Skip to main content
POST
/
functions
/
{functionId}
/
calls
/
byids
Python SDK
call = client.functions.calls.retrieve(call_id=2, function_id=1)

func = client.functions.retrieve(id=1)
call = func.retrieve_call(id=2)
{
  "items": [
    {
      "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

functionId
integer
required

The function id.

Body

application/json

List of IDs of calls to retrieve. Must be up to a maximum of 10000 items and all of them must be unique.

items
object[]
required
Required array length: 1 - 10000 elements
ignoreUnknownIds
boolean
default:false

Ignore IDs and external IDs that are not found

Response

List of function calls.

items
FunctionCall · object[]
required
Last modified on May 13, 2026