Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Functions
  • Comparing with other Yandex Cloud services
    • Overview
    • Programming model
    • Managing dependencies
    • Request handler
    • Invocation context
    • Logging
    • Error handling
  • Tools
  • Pricing policy
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ
  1. Developing in R
  2. Invocation context

R function invocation context

Written by
Yandex Cloud
Updated at July 2, 2026
View as Markdown

Invocation context is an object that is optionally accepted by the request handler if the list of parameters contains ycFunctionContext. It is a list-type object with additional information about the R function's version properties:

  • functionFolderId: Returns the folder containing the function.
  • functionId: Returns the string ID of the function.
  • functionVersion: Returns the string ID of the function version.
  • memoryLimitInMB: Returns the amount of memory specified when creating the version, in MB.
  • requestId: Returns the request ID.
  • tokenJson: Returns the parameters for authentication with the Yandex Cloud APIs.

To extract information from the invocation context, use the appropriate method.

Was the article helpful?

Previous
Request handler
Next
Logging
© 2026 Direct Cursus Technology L.L.C.