Skip to content

Finalize an ECG signal stream

POST
/v3/streams/{stream_id}/finish
curl --request POST \
--url https://api.cardio.ai/v3/streams/1/finish \
--header 'X-Api-Token: <X-Api-Token>'

Marks the specified real-time stream as finished.

The uploaded signal is submitted for analysis. The stream itself is deleted, so further stream requests respond with 404 Not Found.

stream_id
required
integer format: uint64

Stream identifier.

Operation completed successfully.

Bad Request - missing or invalid parameters.

Media type application/json
string
Example generated
example

Unauthorized - missing, expired, or invalid token.

Media type application/json
string
Example generated
example

Forbidden - the provided token is not authorized to call this endpoint.

Media type application/json
string
Example generated
example

Not Found - requested resource does not exist or is unavailable.

Media type application/json
string
Example generated
example

Conflict - current resource state does not allow the operation.

Media type application/json
string
Example generated
example

Too Many Requests - rate limit exceeded.

Media type application/json
string
Example generated
example