GET
/
prompts
curl --request GET \
  --url https://api.getbasalt.ai/prompts \
  --header 'Authorization: Bearer <token>'
{
  "prompts": [
    {
      "slug": "my-prompt",
      "name": "My Prompt",
      "status": "live",
      "description": "This is a description of the prompt",
      "availableVersions": [
        "1.0.0",
        "1.0.1"
      ],
      "availableTags": [
        "latest",
        "production"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

featureSlug
string

The feature slug to filter prompts by

Example:

"feature-slug"

Response

200
application/json

Array of prompts.

The response is of type object.