---
title: "Refresh Str Comps"
method: POST
path: "/admin/refresh-str-comps"
---

# Refresh Str Comps

`POST /admin/refresh-str-comps`

## Request

- Base URL: `https://api.terravue.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.terravue.app/admin/refresh-str-comps`
- Auth: none declared

Trigger the Inside Airbnb STR comps pipeline.
Secured via Authorization: Bearer {ADMIN_SECRET}.

Set up Cloud Scheduler to POST here quarterly:
  gcloud scheduler jobs create http refresh-str-comps         --schedule="0 3 1 */3 *"         --uri="https://propertyiq-api-o2xkaj2p2a-uc.a.run.app/admin/refresh-str-comps"         --message-body=""         --headers="Authorization=Bearer {ADMIN_SECRET}"         --location=us-central1

## Query parameters

- `max_cities` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/terravue/apis/propertyiq-api.md) · [All operations](https://skmtc.dev/terravue/apis/propertyiq-api/llms.txt) · [OpenAPI document](https://skmtc.dev/terravue/apis/propertyiq-api/revisions/ea492f95ac2a?raw)
