Endpoints
- GET /api/prompts/command/ - Get prompt by command
- GET /api/prompts/id/ - Get prompt by ID
Path Parameters
The command trigger for the prompt (only for
/command/{command} endpoint)The unique prompt ID (only for
/id/{id} endpoint)Response
Unique identifier for the prompt
Command trigger for the prompt
ID of the user who created the prompt
Display name for the prompt
The prompt template content
Additional data associated with the prompt
Metadata for the prompt
Array of tag strings
Whether the prompt is currently active
ID of the active history entry (current version)
Unix timestamp (epoch seconds) when prompt was created
Unix timestamp (epoch seconds) when prompt was last updated
Array of access grant objects
Information about the user who created the prompt
Whether the authenticated user has write access to this prompt
Error Responses
- 404 Not Found: Prompt does not exist or user does not have read access