GET
/
api
/
prompts
/
{slug}
curl --request GET \
  --url https://app.asserto.ai/api/prompts/{slug}
{
  "slug": "<string>",
  "messages": [
    {
      "role": "<string>",
      "content": {
        "type": "text",
        "text": "<string>"
      }
    }
  ],
  "variables": [
    "<string>"
  ],
  "model": {
    "name": "<string>",
    "url": "<string>"
  },
  "temperature": 123
}

Headers

authorization
string

API Key in the format: Authorization: ApiKey <key>

Path Parameters

slug
string
required

Response

200
application/json

Successful Response

The response is of type object.