Create a new insight prompt template in the workspace — for example a prompt tailored to a specific task. The prompt is saved to the workspace's prompt library; it does not run automatically on future transcriptions. Use the returned id with the Create insight endpoint.
API ReferenceInsights
Create prompt
/spaces/{spaceId}/promptsAuthorization API key in the x-api-key header
Path parameters
spaceIdstringrequiredID of the workspace.
Body
application/json · object
titlestringrequiredShort, human-readable name for the prompt.
promptstringrequiredThe instruction run against the transcript.
sampleContentstring · nullableOptional example of the desired output, to steer the formatting and style.
Responses
200Created promptapplication/json · Prompt
idstringrequiredThe prompt ID. Pass this as promptId to the Create insight endpoint.
titlestringrequiredShort, human-readable name for the prompt.
promptstringrequiredThe instruction run against the transcript.
sampleContentstring · nullableOptional example of the desired output, used to steer formatting and style.
adminManagedbooleanWhether this is a built-in prompt managed by transcript.lol. Admin-managed prompts cannot be edited.
autoGeneratebooleanWhether this prompt runs automatically when a recording finishes transcribing. Only returned by the List prompts endpoint.
400Invalid inputapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
401Authentication failedapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
403You don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
404Not found or don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available

