Skip to main content

Add the ability to determine what position in the queue a run is in

Could be done using an SDK method like so:

```ts
const details = await runs.getQueueDetails(run.id)

// details = { queue: “my-queue”, position: 54 };
```

2 comments

Comments2

  • An Anonymous User

    •

    May 6, 2025

    It might make more sense to just return this when using runs.retrieve()

  • Justin Sun

    •

    May 3, 2025

    yes!!!