---
title: "Upsert Thesis"
method: PUT
path: "/watchlists/{watchlist_id}/theses/{ticker}"
tags: ["watchlists"]
---

# Upsert Thesis

`PUT /watchlists/{watchlist_id}/theses/{ticker}`

## Request

- Base URL: `https://api.tickertrac.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tickertrac.com/watchlists/{watchlist_id}/theses/{ticker}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Path parameters

- `watchlist_id` integer, required
- `ticker` string, required

## Request body

- ThesisIn
  - `thesis_text` string, required

## Response `200`

Successful Response

- ThesisOut
  - `ticker` string, required
  - `thesis_text` string, required
  - `version_number` integer, required
  - `is_active` boolean, required
  - `monitoring_eligible` boolean
  - `archived_at` string, date-time, nullable, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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