Skip to content
Navigation

Stop a realtime transcription

Stops the session. The decoder finishes the current utterance, the client gets its last finals, and the socket closes. A stop on a closed session answers 202 too.

Learn more: Realtime transcription

POST
https://api.cloudraker.com/v1/realtime/transcriptions/{id}/stop
Try it
Path parameters
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • id
    string
    required

Returns

202

The session, now closing or already closed.

JSON
  • object
    string
    required
  • id
    string
    required
  • status
    created
    or
    active
    or
    closing
    or
    closed
    or
    expired
    or
    failed
    required
  • closeReason
    required

    Any of the following:

    • string
      client_end
      or
      stopped
      or
      idle_timeout
      or
      max_duration
      or
      credits_exhausted
      or
      worker_unavailable
      +2 more
    • null
  • audio
    object
    required
    • encoding
      string
      required
    • sampleRate
      number
      required
    • channels
      number
      required
  • maxDurationSeconds
    integer
    required
    maximum: 9007199254740991 · minimum: -9007199254740991
  • audioSeconds
    number
    required

    Received audio, in seconds.

  • billedMinutes
    integer
    required

    Minutes charged so far.

    maximum: 9007199254740991 · minimum: -9007199254740991
  • finalPass
    object
    required
    • enabled
      boolean
      required
    • status
      disabled
      or
      recording
      or
      uploading
      or
      processing
      or
      ready
      or
      failed
      +1 more
      required
    • fileId
      string | null
      required

      A normal /v1 file (GET /v1/files/{id}).

  • metadata
    required

    Any of the following:

    • map<string>
    • null
  • createdAt
    string
    required
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
  • connectedAt
    required

    Any of the following:

    • string
    • null
  • closedAt
    required

    Any of the following:

    • string
    • null
  • connectBy
    required

    Connect before this time, or the session expires. Null once a client connected.

    Any of the following:

    • string
    • null
  • websocket
    optional
    object

    Only in the create response.

    • object
      string
      required
    • url
      string
      required

      The wss:// URL to open. It carries a single-use ticket that expires after 60 seconds.

    • expiresAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$

401

Missing or invalid credential.

403

The credential may not use the /v1 API.

404

Unknown id, or another API key created it.

429

Rate limited. The /v1 API allows at least 67 requests per minute per organization (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the Retry-After interval and retry — the error is retryable.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close