# locateRecord (/api/reference/queries/locate-record)

Which of the caller's own workspaces holds a job or a candidate. Use it when a link opens "not found": the record may belong to another workspace the person is in. It looks only inside workspaces the caller's sign-in belongs to, and answers with the workspace, never with the record. Give at least one id.

```graphql
locateRecord(
  candidateId: ID
  jobId: ID
): RecordLocation!
```

### Arguments [#arguments]

#### [`locateRecord.candidateId`](#candidate-id) · [`ID`](/api/reference/scalars/id) `scalar` [#candidate-id]
The candidate's id.

#### [`locateRecord.jobId`](#job-id) · [`ID`](/api/reference/scalars/id) `scalar` [#job-id]
The job's id.

### Type [#type]

#### [`RecordLocation`](/api/reference/objects/record-location) `object` [#recordlocation-object]
Which of the signed-in person's workspaces holds a job or a candidate.