---
title: "Q Agent"
method: POST
path: "/api/query/agent"
---

# Q Agent

`POST /api/query/agent`

## Request

- Base URL: `https://pozeidon.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://pozeidon.ai/api/query/agent`
- Auth: none declared

## Request body

- AgentPrompt
  - `prompt` string, required
  - `session_id` string, nullable
  - `demo_mode` boolean
  - `file_ids` string[], nullable
  - `model_id` string, nullable
  - `quotes` Quote[], nullable
    - `ref` string, required
    - `name` string, required
    - `label` string, nullable
    - `text` string, required
    - `range` 'selection' | 'line' | 'block' | 'section', required
    - `source` 'auto' | 'picker' | 'click' | 'select', required
    - `entity` QuoteEntity
      - `network` string, required
      - `type` string, required
      - `ids` object
  - `timezone` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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