Skip to main content

Documentation Index

Fetch the complete documentation index at: https://usesapient.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Topics organize Visibility prompts. Use topic commands to create prompt groups and control what happens to prompts when a topic is removed.

Commands

CommandDescription
sapient prompts topics createCreate a prompt topic.
sapient prompts topics update --topic-id <topic_id>Update a prompt topic.
sapient prompts topics delete --topic-id <topic_id>Delete a prompt topic.

Create a topic

sapient prompts topics create --name "Web crawling APIs"

Update a topic

sapient prompts topics update --topic-id topic_123 --name "Web crawling and scraping APIs"

Delete a topic

sapient prompts topics delete --topic-id topic_123
Add --archive-prompts when deleting a topic should archive prompts assigned to that topic:
sapient prompts topics delete --topic-id topic_123 --archive-prompts
To inspect available topic IDs before creating prompts, run:
sapient prompts config retrieve