GET
/
api
/
prompts
curl --request GET \
  --url https://app.asserto.ai/api/prompts
{
  "data": [
    {
      "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>

Response

200
application/json

Successful Response

The response is of type object.