---
title: "Fetch"
method: GET
path: "/v1/fetch"
tags: ["search"]
---

# Fetch

`GET /v1/fetch`

Load the record behind one typed id returned by `GET /v1/search`.

Whatever kind the id names, the response has the same shape: a readable
rendering plus every field that kind's detail read returns, so a client can
follow a search result without branching per endpoint. The read scope of
the named kind is required.

## Query parameters

- `id` string, required — Typed id returned by `GET /v1/search`, in the form `<type>:<uuid>`.

## Response `200`

Successful Response

- FetchOutput
  - `id` string, required — Typed id of the record, in the form `<type>:<uuid>`.
  - `type` 'lead' | 'account' | 'sequence_template' | 'task', required — Kind of record returned.
  - `title` string, required — Display name of the record.
  - `text` string, required — Readable rendering of the record, for display and search indexing.
  - `url` string, nullable — Deep link to the record in the Topo app, when it has a page.
  - `metadata` object, required — Every field the record's detail read returns.

---

[API](https://skmtc.net/topo/apis/topo-public-api.md) · [All operations](https://skmtc.net/topo/apis/topo-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/topo/topo-public-api/revisions/ad6ac1d13526/schema)
