Skip to main content
POST
/
v1
/
all-day-sessions
Submit a long-form recording for boundary detection + per-segment analysis
curl --request POST \
  --url http://localhost:3000/v1/all-day-sessions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "org_id": "<string>",
  "rep_id": "<string>",
  "recording_url": "<string>",
  "file_key": "<string>",
  "options": {
    "auto_analyze": true,
    "min_confidence": 0.5,
    "callback_url": "<string>",
    "language": "<string>",
    "skip_diarization": true,
    "playbook_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "prompt_overrides": [
      {
        "title": "<string>",
        "content": "<string>"
      }
    ]
  },
  "metadata": {}
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "queued",
  "created_at": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.goparlay.io/llms.txt

Use this file to discover all available pages before exploring further.

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