# remoteUI

Audience: Developer

Resolves the fully rendered web + mobile UI bundle URLs for a specific workflow execution, keyed by workflow ID + run ID.

Resolves the fully rendered web + mobile UI bundle URLs for a specific
workflow execution, keyed by workflow ID + run ID.

The bundle slug/version come from the Worker Deployment Version the
execution is pinned to (read from that version's metadata); the origin and
path layout come from the tenant's stored URL templates. The two are
combined and forwarded as-is — no composition happens in this resolver.

When the bundle can't be read from a pinned version (none pinned, or not
stamped yet) it falls back to the system-wide default bundle if one is
configured, otherwise it errors.

**Served by:** [workflow](https://docs.pyck.cloud/dev/api/services/workflow.md)

## Arguments

| Name | Type |
| --- | --- |
| `input` | [RemoteUIQueryInput](https://docs.pyck.cloud/dev/api/inputs/remoteuiqueryinput.md)! |

## Returns

[RemoteUIBundleURLs](https://docs.pyck.cloud/dev/api/types/remoteuibundleurls.md)

## Example

Returns the rendered web and mobile UI bundle URLs for one workflow execution, identified by its workflow ID and execution ID.

```graphql
query GetRemoteUI($input: RemoteUIQueryInput!) {
  remoteUI(input: $input) {
    mobileURL
    webURL
  }
}
```

**Variables**

```json
{
  "input": {
    "workflowExecutionID": "<workflow execution ID>",
    "workflowID": "<workflow ID>"
  }
}
```
