v1

latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MB
Transcript Scenario Generation

Upload and parse a transcript file

Upload a single transcript file for parsing and content extraction. This is the second step in the three-step workflow.

The file is streamed directly to Redis via the streamUpload middleware, then:

  1. Read back from Redis
  2. Parsed based on file type (PDF, CSV, DOCX)
  3. Analyzed for speaker labels (Agent/Customer)
  4. Stored as structured data in Redis (keyed by requestId)

Multiple files can be uploaded by calling this endpoint multiple times with the same requestId. The generate endpoint retrieves all files for the request by requestId.

post/v1/transcript-upload

Query parameters

projectIdstring

Project identifier

Response

File uploaded and parsed successfully

successboolean required
fileIdstring required

Unique file identifier

fileNamestring required

Original file name

fileSizeinteger required

File size in bytes

fileType'pdf' | 'csv' | 'docx' required

Detected file type

textLengthinteger required

Length of extracted text content

processedAtstring date-time required