Skip to content

Download carve archive

GET
/api/v1/carves/{env}/archive/{name}
curl --request GET \
--url https://osctrl.net/api/v1/carves/example/archive/example \
--header 'Authorization: <Authorization>'

Downloads the archive for a completed file carve.

env
required
string

Environment name or UUID

name
required
string

Carve query name

OK

Media typeapplication/octet-stream
string format: binary

Bad request

Media typeapplication/octet-stream
object
code
string
error
string

Unauthorized

Media typeapplication/octet-stream
object
code
string
error
string

Forbidden

Media typeapplication/octet-stream
object
code
string
error
string

Not found

Media typeapplication/octet-stream
object
code
string
error
string

Conflict

Media typeapplication/octet-stream
object
code
string
error
string

Too many requests

Media typeapplication/octet-stream
object
code
string
error
string

Internal server error

Media typeapplication/octet-stream
object
code
string
error
string

Service unavailable

Media typeapplication/octet-stream
object
code
string
error
string