---
title: "POST /v1/debug/{+name}/items:searchByViewUrl"
method: POST
path: "/v1/debug/{+name}/items:searchByViewUrl"
tags: ["debug"]
---

# POST /v1/debug/{+name}/items:searchByViewUrl

`POST /v1/debug/{+name}/items:searchByViewUrl`

Fetches the item whose viewUrl exactly matches that of the URL provided in the request. **Note:** This API requires an admin account to execute.

## Path parameters

- `name` string, required

## Request body

- SearchItemsByViewUrlRequest
  - `debugOptions` DebugOptions — Shared request debug options for all cloudsearch RPC methods.
    - `enableDebugging` boolean — If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.
  - `viewUrl` string — Specify the full view URL to find the corresponding item. The maximum length is 2048 characters.
  - `pageToken` string — The next_page_token value returned from a previous request, if any.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/cloudsearch.md) · [All operations](https://skmtc.net/google/apis/cloudsearch/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/cloudsearch/versions/d64d6afc59a6/schema)
