UNPKG

@sap-ai-sdk/ai-api

Version:

SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.

40 lines 1.83 kB
/* * Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved. * * This is a generated file powered by the SAP Cloud SDK for JavaScript. */ import { OpenApiRequestBuilder } from '@sap-ai-sdk/core'; /** * Representation of the 'ExecutableApi'. * This API is part of the 'AI_CORE_API' service. */ export const ExecutableApi = { _defaultBasePath: undefined, /** * Retrieve a list of executables for a scenario. Filter by version ID, if required. * * @param scenarioId - Scenario identifier * @param queryParameters - Object containing the following keys: versionId. * @param headerParameters - Object containing the following keys: AI-Resource-Group. * @returns The request builder, use the `execute()` method to trigger the request. */ executableQuery: (scenarioId, queryParameters, headerParameters) => new OpenApiRequestBuilder('get', '/lm/scenarios/{scenarioId}/executables', { pathParameters: { scenarioId }, queryParameters, headerParameters }, ExecutableApi._defaultBasePath), /** * Retrieve details about an executable identified by executableId belonging * to a scenario identified by scenarioId. * * @param scenarioId - Scenario identifier * @param executableId - Executable identifier * @param headerParameters - Object containing the following keys: AI-Resource-Group. * @returns The request builder, use the `execute()` method to trigger the request. */ executableGet: (scenarioId, executableId, headerParameters) => new OpenApiRequestBuilder('get', '/lm/scenarios/{scenarioId}/executables/{executableId}', { pathParameters: { scenarioId, executableId }, headerParameters }, ExecutableApi._defaultBasePath) }; //# sourceMappingURL=executable-api.js.map