Compose published skill context
Runs the published skill context composer (RAG / context-store) for the supplied user message without invoking the LLM. Returns composed context text for inspection or downstream use. Requires skills:invoke and use access on the skill.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Numeric skill id.
42
Body
User message or intent used to compose relevant context (RAG query).
1"What tables describe customer churn?"
Optional cap on context items when the API falls back to structured JSON (no fragment markdown). Ignored when composed markdown is returned.
1 <= x <= 20025
Response
Composed context for the skill and intent (markdown from the context composer, or structured JSON fallback).
"## Retrieved Context\n\n### customers\n\n..."
Deprecated. Always an empty array. Use context for composed text (markdown or JSON fallback).
[]Total context items considered before filtering.
42
Session id used for this composition (for correlation).
"api-skill-42-550e8400-e29b-41d4-a716-446655440000"