API ReferenceInsights

Get insights

This will return all insights generated from this recording's transcript

GET/spaces/{spaceId}/recordings/{recordingId}/insights

Authorization API key in the x-api-key header

Path parameters

  • spaceIdstringrequired

    ID of the workspace. You can find from the url in dashboard when you open the workspace or using the list workspaces endpoint.

  • recordingIdstringrequired

    ID of the recording. You can find from the url in dashboard when you open the workspace or using the list recordings endpoint.

Responses

  • 200Insights

    application/json · array of Insight

    Insights generated on the recording

    • idstringrequired

      ID of the insight

    • contentstringrequired

      Content of the insight generated by AI model

    • tweaksarray of stringrequired

      List of user tweaks passed in while generating this insight

      A tweak passed by the user.

      Examples:

      • Make it shorter

      • Make it formal

    • promptBasePromptrequired

      Prompt used while generating this insight

      Show 2 properties
      • idstringrequired

        ID of prompt

      • titlestringrequired

        Title of the prompt

  • 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/recordings/string/insights' \
  --header 'x-api-key: YOUR_API_KEY'
const response = await fetch("https://transcript.lol/api/v1/spaces/string/recordings/string/insights", {
  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/recordings/string/insights",
    headers={
        "x-api-key": "YOUR_API_KEY"
    },
)
print(response.text)
[
  {
    "id": "string",
    "content": "string",
    "tweaks": [
      "string"
    ],
    "prompt": {
      "id": "string",
      "title": "string"
    }
  }
]
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}