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/schedules/{scheduleId} \
--header 'Authorization: Bearer <token>'{
"id": 4503599627370496,
"name": "My schedule",
"createdTime": 1730204346000,
"cronExpression": "* * * * *",
"when": "Every hour",
"sessionId": "<string>",
"description": "This is a nice schedule",
"functionId": 4503599627370496,
"functionExternalId": "my.known.id"
}Required capabilities:
functionsAcl:READ
Retrieve a function schedule by its id.
curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/functions/schedules/{scheduleId} \
--header 'Authorization: Bearer <token>'{
"id": 4503599627370496,
"name": "My schedule",
"createdTime": 1730204346000,
"cronExpression": "* * * * *",
"when": "Every hour",
"sessionId": "<string>",
"description": "This is a nice schedule",
"functionId": 4503599627370496,
"functionExternalId": "my.known.id"
}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 schedule id.
OK
A server-generated ID for the object.
1 <= x <= 9007199254740991Name of function schedule.
1 - 140"My schedule"
The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
x >= 01730204346000
Cron expression describes when the function should be called. Use http://www.cronmaker.com to create a cron expression.
1024"* * * * *"
When the schedule will trigger, in human readable text.
"Every hour"
Id of the session.
Description of function schedule.
500"This is a nice schedule"
A server-generated ID for the object.
1 <= x <= 9007199254740991The external ID provided by the client. Must be unique for the resource type.
255"my.known.id"
Was this page helpful?