Skip to main content
POST
Submit a long-form recording for boundary detection + per-segment analysis

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
org_id
string
required

Partner-supplied org id this session belongs to.

Required string length: 1 - 256
Pattern: ^[A-Za-z0-9._:-]+$
rep_id
string
required

Partner-supplied rep id. Required — every segment analysis is scoped to this rep.

Required string length: 1 - 256
Pattern: ^[A-Za-z0-9._:-]+$
recording_url
string<uri>

Publicly reachable HTTPS URL of the long-form audio. Pre-signed S3/GCS URLs are perfect. Audio stays on partner storage — we never re-host the file. Mutually exclusive with file_key.

file_key
string

GCS key returned from POST /v1/admin/partners/:id/uploads/signed-url after a browser-direct PUT. The server resolves this to a 1-hour signed read URL internally. Mutually exclusive with recording_url.

Required string length: 1 - 512
options
object
metadata
object

Free-form key/value bag for partner bookkeeping. Not interpreted by Parlay.

Response

202 - application/json

Default Response

id
string<uuid>
required
status
enum<string>
required
Available options:
queued,
transcribing,
detecting,
analyzing,
completed,
failed
created_at
string
required