From da4256a1b1aab1e482bba670428a7c21fe2c9cb0 Mon Sep 17 00:00:00 2001 From: Fabien FLEUREAU Date: Wed, 16 Sep 2026 09:36:26 +0200 Subject: [PATCH] feat(agentic-workflow): add llm_provider_id to the workflow model schemas Lets a workflow take its credential from an existing LLM provider instead of an inline api_key. Nullable and absent by default, so inline configuration is unchanged. Returned in the response, unlike api_key, because it names a credential rather than carrying one. --- openapi.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 4cd9ef7e..c57b2449 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -32145,6 +32145,14 @@ components: settings: type: string default: '' + llm_provider_id: + type: string + format: uuid + nullable: true + description: >- + An existing LLM provider to take the credential from, instead of `api_key`. The two are + mutually exclusive: a request setting both is rejected. The provider must belong to the + workflow's organization, be one the caller may use, and match `type`. AgenticWorkflowModelResponse: type: object required: @@ -32155,6 +32163,13 @@ components: $ref: '#/components/schemas/AgenticWorkflowModelType' settings: type: string + llm_provider_id: + type: string + format: uuid + nullable: true + description: >- + The LLM provider the workflow takes its credential from, or null when it carries its own + `api_key`. Unlike `api_key` this is returned: it names a credential rather than carrying one. AgenticWorkflowHeader: type: object required: