# Function parseBatchOutput

- parseBatchOutput(
  data: string | Blob | Buffer<ArrayBufferLike>,
  ): Promise<BatchOutputLine[]>
  `Experimental`

  Parses a batch output JSONL payload into typed output lines.

  #### Parameters

  - data: string | Blob | Buffer<ArrayBufferLike>

    The data returned from FileApi.fileDownload(), as a Blob, Buffer, or string.

  #### Returns Promise<BatchOutputLine[]>

  A Promise resolving to an array of parsed output lines. This API is experimental and may change at any time without prior notice.

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

  - Defined in packages/foundation-models/dist/azure-openai/azure-openai-batch-output.d.ts:42