Skip to main content
POST
/
v1beta2
/
tool
/
get-block-stream-url
Get Block Stream Url
curl --request POST \
  --url https://api.hunch.tools/v1beta2/tool/get-block-stream-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tool_run_uid": "abc123",
  "block_title": "Results"
}'
{
  "stream_url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null

Body

application/json

The request body used to get a signed URL for streaming a block's output.

tool_run_uid
string
required

The unique identifier of the tool run

block_title
string
required

The title of the block to stream

Response

Successful Response

The response body returned when requesting a signed URL for streaming a block's output.

stream_url
string
required

The signed URL that can be used to stream the block's output