SDK
Context
The third parameter in a Job’s run()
function. An object that contains information about the Organization, Job, Run and more.
These are the docs for Trigger.dev v2 which will be deprecated on January 31st, 2025. You probably want the v3 docs.
context
has useful information about the:
- Job
- Environment
- Organization
- Run
- event
- source
- account
Properties
Metadata about the Job
Metadata about the Environment
Metadata about the Organization
Metadata about the Run
Metadata about the Project
Metadata about the Event that triggered the Run.
Metadata about the Source that triggered the Run.
Metadata about the Account that triggered the Run. See the BYO Auth docs for more information.