---
url: "https://vueda.dev/v3/reference/api/js/use/useResolvedLookupObject/functions/useResolvedLookupObject.md"
title: "useResolvedLookupObject"
---

# useResolvedLookupObject

## Overview

Resolves a single object by pk via the parent lookup context, reactively tracking loading and error state.

## Signature

`useResolvedLookupObject(app, model, pk, fields, expand)`

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| <span id="param-app">app</span> | `string \| Ref` | yes |  |
| <span id="param-model">model</span> | `string \| Ref` | yes |  |
| <span id="param-pk">pk</span> | `string \| Ref` | yes |  |
| <span id="param-fields">fields</span> | `string[] \| Ref` | yes |  |
| <span id="param-expand">expand</span> | `string[] \| Ref` | yes |  |

### Returns

`object`

## Source

`client/lib/use/useResolvedLookupObject.js:34`
