tasks

Complete Dialogue Upload

Close the attempt after the client's direct-to-GCS PUT.

Carries the capture metadata for an early-minted attempt (legacy clients send {} and everything is already on the row), re-runs the rules that could not run at mint time against the merged result, verifies the object landed with exactly the reported size (422 otherwise — the attempt stays open, the client may re-PUT and retry), then flips progress to Pending and dispatches the validation worker. The response is the full task payload, as GET /available/{taskUid} returns it.

Authorizable by the usual credentials or by the attempt's one-time complete token; the token survives a 422 → re-PUT → complete retry and dies with the first successful close.

post/api/available/dialogue/{task_uid}/complete

Request

  • Base URL
    https://api.ncspeech.org (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

task_uidstring required

Headers

X-Dialogue-Complete-Tokenstring nullable
X-Test-UIDstring nullable

Request body

sampleRateinteger nullable
channels1 nullable
bitsPerSample16 nullable
sizeBytesinteger nullable
sessionIdstring nullable
durationSecondsnumber nullable
endReason'selfStopped' | 'partnerEnded' | 'minDurationNotReached' | 'connectionLost' | 'error' nullable
ratinginteger nullable
gpsstring nullable
deviceTypestring nullable
inputHashstring nullable
inputLabelstring nullable
outputHashstring nullable
outputLabelstring nullable
topicIdstring nullable
topicTitlestring nullable
convLangstring nullable
droppedFramesinteger nullable
startedAtEpochMsinteger nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.