API ReferenceInsights

List prompts

List the insight prompt templates available in the workspace. Use a prompt's id with the Create insight endpoint to generate an insight from it.

GET/spaces/{spaceId}/prompts

Authorization API key in the x-api-key header

Path parameters

  • spaceIdstringrequired

    ID of the workspace.

Responses

  • 200List of prompts

    application/json · array of Prompt

    • idstringrequired

      The prompt ID. Pass this as promptId to the Create insight endpoint.

    • titlestringrequired

      Short, human-readable name for the prompt.

    • promptstringrequired

      The instruction run against the transcript.

    • sampleContentstring · nullable

      Optional example of the desired output, used to steer formatting and style.

    • adminManagedboolean

      Whether this is a built-in prompt managed by transcript.lol. Admin-managed prompts cannot be edited.

    • autoGenerateboolean

      Whether this prompt runs automatically when a recording finishes transcribing. Only returned by the List prompts endpoint.

  • 400Invalid input

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 401Authentication failed

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 403You don't have access

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 404Not found or don't have access

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

curl 'https://transcript.lol/api/v1/spaces/string/prompts' \
  --header 'x-api-key: YOUR_API_KEY'
const response = await fetch("https://transcript.lol/api/v1/spaces/string/prompts", {
  method: "GET",
  headers: {
    "x-api-key": "YOUR_API_KEY"
  },
});
const text = await response.text();
import requests

response = requests.get(
    "https://transcript.lol/api/v1/spaces/string/prompts",
    headers={
        "x-api-key": "YOUR_API_KEY"
    },
)
print(response.text)
[
  {
    "id": "string",
    "title": "string",
    "prompt": "string",
    "sampleContent": "string",
    "adminManaged": true,
    "autoGenerate": true
  }
]
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}