---
title: "Api Mint Prompt"
method: POST
path: "/api/mint-prompt"
tags: ["portal"]
---

# Api Mint Prompt

`POST /api/mint-prompt`

## Request

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

API endpoint to mint a deterministic, signed paste-prompt.

## Request body

- MintPromptRequest
  - `repo_url` string, required
  - `domain` string, required
  - `auth_type` string
  - `ttl_minutes` integer
  - `routes` RouteInputSchema[]
    - `path` string, required
    - `method` string
    - `is_mutative` boolean
    - `requires_confirm` boolean
    - `description` string
    - `output_fields` string[]
  - `adapter_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/teetra/apis/warrant.md) · [All operations](https://skmtc.dev/teetra/apis/warrant/llms.txt) · [OpenAPI document](https://skmtc.dev/teetra/apis/warrant/revisions/a33505db716f?raw)
