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.
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.
