Title: feat: `runs.retrieve()` is missing `requestOptions` param · Issue #2769 · triggerdotdev/trigger.dev · GitHub
Open Graph Title: feat: `runs.retrieve()` is missing `requestOptions` param · Issue #2769 · triggerdotdev/trigger.dev
X Title: feat: `runs.retrieve()` is missing `requestOptions` param · Issue #2769 · triggerdotdev/trigger.dev
Description: Is your feature request related to a problem? Please describe. Hi there! :) Some methods like tasks.trigger() do accept a requestOptions param (the 4th in this case, TriggerApiRequestOptions). This supports for example setting { clientCo...
Open Graph Description: Is your feature request related to a problem? Please describe. Hi there! :) Some methods like tasks.trigger() do accept a requestOptions param (the 4th in this case, TriggerApiRequestOptions). This...
X Description: Is your feature request related to a problem? Please describe. Hi there! :) Some methods like tasks.trigger() do accept a requestOptions param (the 4th in this case, TriggerApiRequestOptions). This...
Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/2769
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat: `runs.retrieve()` is missing `requestOptions` param","articleBody":"### Is your feature request related to a problem? Please describe.\n\nHi there! :)\n\nSome methods like `tasks.trigger()` do accept a `requestOptions` param (the 4th in this case, `TriggerApiRequestOptions`). This supports for example setting `{ clientConfig: ... }`.\n```\nawait tasks.trigger(taskId, undefined, { tags: ['...'] }, { clientConfig: { accessToken } })\n```\n\nOthers however do not accept any clientConfig:\n```\nawait runs.retrieve(runId, ) \u003c- does not accept `requestOptions`\n```\n\nI was wondering if this was by choice or just missing parameters/types. \nBecause in my case, I cannot use the `configure()` method to apply the `accessToken`. I have two trigger projects which I both use in my project. Since I have parallel requests (React server actions), the `configure()` is not correctly applied to the requests, even though if I call it directly before each request.\n\n### Describe the solution you'd like to see\n\nIf this is a mistake, than this is a feature request and Ideally, all SDK API methods would be streamlined to support the `requestOptions` param.\n\n### Describe alternate solutions\n\n- I currently use the HTTP API directly with fetch now. However, I noticed that the [docs](https://trigger.dev/docs/management/runs/retrieve#response-status) on these seem outdated, the status enum documented differs from what the `4.1.0` SDK returns as types. \n\n### Additional information\n\n_No response_","author":{"url":"https://github.com/madebyfabian","@type":"Person","name":"madebyfabian"},"datePublished":"2025-12-08T16:15:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2769/trigger.dev/issues/2769"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9538de5d-7024-80ac-bb81-66400f1969ec |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8CE4:FC5B9:1CD02D5:279E614:6964C5E7 |
| html-safe-nonce | dd671f7ff9d3301a695ff192f97c557437d5164f948ee0dc31c96f726567fbc0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0U0OkZDNUI5OjFDRDAyRDU6Mjc5RTYxNDo2OTY0QzVFNyIsInZpc2l0b3JfaWQiOiI4OTE1NTU4ODc1MDQ5MjgxMDAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cb038794b48322d1d1f5af9e4cac34aca4a731c647c015b14212d1ee4ba32a17 |
| hovercard-subject-tag | issue:3707066248 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/2769/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cb7e849bb7ab35aee447422bd1f6a3c2387d7f9989d53cb19ea3b3914b2c66d9/triggerdotdev/trigger.dev/issues/2769 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cb7e849bb7ab35aee447422bd1f6a3c2387d7f9989d53cb19ea3b3914b2c66d9/triggerdotdev/trigger.dev/issues/2769 |
| og:image:alt | Is your feature request related to a problem? Please describe. Hi there! :) Some methods like tasks.trigger() do accept a requestOptions param (the 4th in this case, TriggerApiRequestOptions). This... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | madebyfabian |
| hostname | github.com |
| expected-hostname | github.com |
| None | 21df671ce2c9f1a16940ccbd3af6cb4f3f12a856929ca7eb1b4aea8e384ea442 |
| turbo-cache-control | no-preview |
| go-import | github.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git |
| octolytics-dimension-user_id | 95297378 |
| octolytics-dimension-user_login | triggerdotdev |
| octolytics-dimension-repository_id | 572570113 |
| octolytics-dimension-repository_nwo | triggerdotdev/trigger.dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572570113 |
| octolytics-dimension-repository_network_root_nwo | triggerdotdev/trigger.dev |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5707c685ac172d50a0bdd7533dde4f8aabcf8eef |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width