POST
Refine Capture Endpoint
Refine Capture Endpoint POST /api/voice/captures/{capture_id}/refine All requests authenticate with your PeachDesk API key in the X-API-Key header (an interactive session token in Authorization: Bearer also works тАФ see Authentication). Use the playground to send a live request and inspect the response.

Authorizations

X-API-Key
string
header
required

Organization API key (bibha_...). Takes precedence over the session credential, and is refused outright on user-session-only and super-admin routes.

Path Parameters

capture_id
string
required

Body

application/json

Request to refine a capture's transcript via the LLM.

flags
RefinementFlagsModel ┬╖ object | null

Boolean toggles that drive the refinement prompt builder.

model_size
string | null
default:BRAHMA-30B-FP8
Pattern: ^(BRAHMA-30B-FP8)$

Response

Successful Response

Response model for a capture.

id
string
required
audio_path
string
required
source
string
required
transcript_raw
string
required
created_at
string<date-time>
required
language
string | null
duration_ms
integer | null
transcript_refined
string | null
stt_model
string | null
llm_model
string | null
refinement_flags
RefinementFlagsModel ┬╖ object | null

Boolean toggles that drive the refinement prompt builder.