GET
/
api
/
public
/
v2
/
prompts
/
{promptName}
{
  "type": "<string>",
  "name": "<string>",
  "version": 123,
  "config": null,
  "labels": [
    {
      "label": "<string>"
    }
  ],
  "tags": [
    {
      "tag": "<string>"
    }
  ],
  "prompt": [
    {
      "role": "<string>",
      "content": "<string>"
    }
  ]
}

Response Description

Below you will see the description of the get prompt response

type
string
required

Type of the interaction (e.g., “chat”).

name
string
required

Name of the interaction or entity.

version
integer
required

Version of the configuration.

config
null

Configuration details (nullable).

labels
array
required

List of labels associated with the interaction.

tags
array
required

List of tags associated with the interaction.

prompt
array
required

List of prompts containing roles and content.

Code Response

Exemples of Response Code

200

Request Successful Response

400

Request Failure