Create prompt

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.

POST /api/v1/spaces/{spaceId}/prompts
API key in header x-api-key

Path parameters

· 1
spaceId string required

ID of the workspace.

Body

application/json

Prompt details

title string required

Short, human-readable name for the prompt.

prompt string required

The instruction run against the transcript.

sampleContent string · nullable

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

Responses