Skip to main content
GET
/
api
/
public
/
v2
/
prompts
/
{promptName}
Get a prompt
curl --request GET \
  --url https://api.example.com/api/public/v2/prompts/{promptName}
{
  "type": "<string>",
  "name": "<string>",
  "version": 123,
  "config": null,
  "labels": [
    {
      "label": "<string>"
    }
  ],
  "tags": [
    {
      "tag": "<string>"
    }
  ],
  "prompt": [
    {
      "role": "<string>",
      "content": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.toolzz.dev/llms.txt

Use this file to discover all available pages before exploring further.

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