copilotPromptTemplates
Requires permission catalog:copilot:chat.
This organization's saved Minori prompts. Each body is inserted as the seller's own message — it never reaches the system prompt, carries no skill, and gets exactly the permissions and autonomy cap the seller already has.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query CopilotPromptTemplates {
copilotPromptTemplates {
title
body
slug
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query CopilotPromptTemplates {\n copilotPromptTemplates {\n title\n body\n slug\n }\n}"
}
EOF
Response:
{
"data": {
"copilotPromptTemplates": [
{
"title": "string",
"body": "string",
"slug": "string"
}
]
}
}
copilotPromptTemplates: [CopilotPromptTemplateType!]!
Type
CopilotPromptTemplateType object
A saved prompt: work a workspace does every week, written down once. It is inserted as the seller's own message and nothing more.