---
title: "Call a saved query: its params as the query string"
method: GET
path: "/api/v1/q/{queryId}"
tags: ["Saved queries"]
---

# Call a saved query: its params as the query string

`GET /api/v1/q/{queryId}`

## Request

- Base URL: `https://unbrowse.ai`
- URL: `https://unbrowse.ai/api/v1/q/{queryId}`
- Auth: one of:
  - OAuth 2 (authorization code, authorization URL `https://unbrowse.ai/authorize`, token URL `https://unbrowse.ai/oauth/token`, scopes: `unbrowse`)
  - HTTP bearer

Answers { status, result, verified, cached, age?, runId }. 409 `schema_changed` when the answer lost fields it had when compiled, 409 `stale` when its tool is gone: recompile. `fresh=1` skips the cache.

## Path parameters

- `queryId` string, required

## Query parameters

- `fresh` '1'

## Response `200`

The answer

- Object

## Other responses

- `202`: The run needs input (input_required)
- `400`: An error
- `401`: Missing or invalid credentials. The WWW-Authenticate header names the protected-resource metadata.
- `402`: An error
- `404`: An error
- `409`: An error
- `429`: An error

---

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