get_guideline
Fetch the full markdown content of one guideline.
Parameters#
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
slug | string | yes | Guideline slug — discoverable via list_guidelines |
Returns#
json
{
"guideline": {
"slug": "brand",
"path": "guidelines/brand.md",
"content": "# Brand voice\n\n- Warm, direct, never corporate...",
"content_type": "markdown",
"version": 3,
"pinned_in_prompt": true,
"frontmatter": { "requires": [] },
"updated_at": "2026-04-15T12:00:00Z"
},
"source": "adlyse.guidelines@v1"
}See list_guidelines for field descriptions; the only addition here is guideline.content with the full markdown payload.
Errors#
error_type | When |
|---|---|
auth_error | Missing / invalid API key |
not_found | No active guideline at that slug for your org |
validation_error | Empty or non-string slug |
Example#
Request:
json
{ "slug": "brand" }Response:
json
{
"guideline": {
"slug": "brand",
"content": "# Brand voice\n\nWarm, direct, never corporate. Prefer concrete proof points over superlatives.\n...",
"version": 3,
"pinned_in_prompt": true
},
"source": "adlyse.guidelines@v1"
}See also#
list_guidelines— discover slugs- Guidelines — the in-app authoring view