Invoke LLM
Invokes the platform LLM for the specified organization. Resolves the prompt template (either from a stored prompt reference or an inline string), renders template parameters, and returns the LLM response as plain text.
Documentation Index
Fetch the complete documentation index at: https://developer.kodexa.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.
Path Parameters
Unique identifier (UUID) of the organization.
Body
Request body for invoking the platform LLM. Supply either a promptRef (referencing a stored prompt template) or an inline prompt string.
Size of the model to use.
SMALL, LARGE Key-value parameters for template rendering.
Inline prompt text. Mutually exclusive with promptRef.
Reference to a stored prompt template (e.g., 'orgSlug/promptSlug' or 'promptSlug'). Mutually exclusive with prompt.
Response
LLM response text
The response is of type string.
