# Variable ExecutableApi`Const`

ExecutableApi: {
_defaultBasePath: undefined;
executableGet: (
scenarioId: string,
executableId: string,
headerParameters: { "AI-Resource-Group": string },
) => OpenApiRequestBuilder<AiExecutable>;
executableQuery: (
scenarioId: string,
queryParameters: { versionId?: string },
headerParameters: { "AI-Resource-Group": string },
) => OpenApiRequestBuilder<AiExecutableList>;
}

Representation of the 'ExecutableApi'. This API is part of the 'AI_CORE_API' service.

#### Type Declaration

- ##### _defaultBasePath: undefined

- ##### executableGet: (
  scenarioId: string,
  executableId: string,
  headerParameters: { "AI-Resource-Group": string },
  ) => OpenApiRequestBuilder<AiExecutable>

  Retrieve details about an executable identified by executableId belonging to a scenario identified by scenarioId.

- ##### executableQuery: (
  scenarioId: string,
  queryParameters: { versionId?: string },
  headerParameters: { "AI-Resource-Group": string },
  ) => OpenApiRequestBuilder<AiExecutableList>

  Retrieve a list of executables for a scenario. Filter by version ID, if required.

  Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/ai-api/dist/client/AI_CORE_API/executable-api.d.ts:7