---
title: "Get Prompts"
method: GET
path: "/api/langfuse/prompts"
tags: ["langfuse"]
deprecated: true
---

# Get Prompts

`GET /api/langfuse/prompts`

> **Deprecated.**

Get prompts from Langfuse.

Fetches prompt configurations from Langfuse, optionally filtered by name, label, or tag.

## Query parameters

- `name` string, nullable — Filter by prompt name
- `label` string, nullable — Filter by label
- `tag` string, nullable — Filter by tag

## Response `200`

Successful Response

- LangfusePromptsResponse — Response containing list of Langfuse prompts.
  - `prompts` LangfusePrompt[] — List of prompts
    - `name` string, required — Prompt name
    - `version` integer, required — Version number
    - `prompt` string, required — Prompt text or template
    - `type` string, required — Prompt type (text, chat)
    - `labels` string[] — Labels
    - `tags` string[] — Tags
    - `config` LangfusePromptConfig — Configuration for a Langfuse prompt.
      - `model` string, nullable — Model name
      - `temperature` number, nullable — Temperature setting
      - `max_tokens` integer, nullable — Max tokens
      - `top_p` number, nullable — Top P setting
      - `frequency_penalty` number, nullable — Frequency penalty
      - `presence_penalty` number, nullable — Presence penalty
    - `created_at` string, date-time, required — Creation timestamp
    - `updated_at` string, date-time, required — Last update timestamp
  - `total` integer, required — Total number of prompts

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/aab3fe5c9f05/schema)
