---
title: "Record Prompt Call"
method: POST
path: "/api/internal/prompt/call"
tags: ["internal"]
---

# Record Prompt Call

`POST /api/internal/prompt/call`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/internal/prompt/call`
- Auth: none declared

Record a real (production) use of a published prompt version — the
Prompt Debug call-tracking association table. Best-effort from the worker;
failures must never break generation, so the worker fires this fire-and-
forget.

## Request body

- PromptCallRequest
  - `prompt_key` string, required
  - `version_num` integer, nullable
  - `atom_job_id` string, nullable
  - `input_ref` object, nullable
  - `output_ref` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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