calls = client.functions.calls.list(function_id=1)
func = client.functions.retrieve(id=1)
calls = func.list_calls()
{
"items": [
{
"id": 4503599627370496,
"status": "Running",
"startTime": 1730204346000,
"functionId": 4503599627370496,
"endTime": 1730204346000,
"error": {
"message": "Could not authenticate.",
"trace": "Cannot assign foo to bar."
},
"scheduleId": 4503599627370496,
"scheduledTime": 1730204346000
}
],
"nextCursor": "<string>"
}Use advanced filtering options to find function calls.
calls = client.functions.calls.list(function_id=1)
func = client.functions.retrieve(id=1)
calls = func.list_calls()
{
"items": [
{
"id": 4503599627370496,
"status": "Running",
"startTime": 1730204346000,
"functionId": 4503599627370496,
"endTime": 1730204346000,
"error": {
"message": "Could not authenticate.",
"trace": "Cannot assign foo to bar."
},
"scheduleId": 4503599627370496,
"scheduledTime": 1730204346000
}
],
"nextCursor": "<string>"
}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 id.
Cursor for paging through results. In general, if a response contains a nextCursor
property, it means that there may be more results, and you should pass that value as the
cursor parameter in the next request.
Note that the cursor may or may not be encrypted, but either way, it is not intended to be decoded. Its internal structure is not a part of the public API, and may change without notice. You should treat it as an opaque string and not attempt to craft your own cursors.
Was this page helpful?