Skip to content

LangfusePromptListResponse

This docs was updated at: 2026-02-23

com.paragon.prompts.LangfusePromptListResponse  ยท  Class


Response from the Langfuse prompts list API (v2).

Represents the paginated response from GET /api/public/v2/prompts.

Since: 1.0

Methods

LangfusePromptListResponse

public LangfusePromptListResponse()

Default constructor for Jackson deserialization.


getData

public List<PromptMeta> getData()

Returns the list of prompt metadata entries.

Returns

list of prompt metadata


getMeta

public PageMeta getMeta()

Returns pagination metadata.

Returns

page metadata


PromptMeta

public PromptMeta()

Default constructor for Jackson deserialization.


getName

public String getName()

Returns the prompt name (used as promptId).

Returns

prompt name


getType

public String getType()

Returns the prompt type ("text" or "chat").

Returns

prompt type


getVersions

public List<Integer> getVersions()

Returns available versions.

Returns

list of version numbers


getLabels

public List<String> getLabels()

Returns labels assigned to this prompt.

Returns

list of labels


getTags

public List<String> getTags()

Returns tags assigned to this prompt.

Returns

list of tags


getLastUpdatedAt

public String getLastUpdatedAt()

Returns the last updated timestamp.

Returns

ISO 8601 timestamp string


PageMeta

public PageMeta()

Default constructor for Jackson deserialization.