---
title: "Get Query"
method: GET
path: "/api/v1/experts/queries/{query_id}"
tags: ["Expert Oracle"]
---

# Get Query

`GET /api/v1/experts/queries/{query_id}`

## Request

- Base URL: `https://app.aimrank.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.aimrank.io/api/v1/experts/queries/{query_id}`
- Auth: none declared

Poll for the answer to a previously-submitted query.

Side-effect: if ``status='pending'`` AND the query has expired,
this call flips ``status='expired'`` so subsequent polls see the
final state without further work.

## Path parameters

- `query_id` string, required

## Response `200`

Successful Response

- ExpertQueryResponse
  - `id` string, required
  - `domain_id` string, nullable, required
  - `question` string, required
  - `context` string, nullable, required
  - `sla_tier` string, required
  - `status` string, required
  - `answer` string, nullable, required
  - `expert_user_id` string, nullable, required
  - `expert_kappa_at_answer` number, nullable, required
  - `llm_judge_fallback` boolean, required
  - `created_at` string, nullable, required
  - `expires_at` string, nullable, required
  - `answered_at` string, nullable, required

## Other responses

- `422`: Validation Error

---

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