Skip to main content
POST
/huggingface/spaces

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
space
string
required
Minimum string length: 1
timeout
integer
default:300
Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
url
string
required
@type
string
default:HuggingfaceSpace
author
string | null
sha
string | null
emoji
string | null
sdk
string | null
sdk_version
string | null
license
string | null
color_from
string | null
color_to
string | null
like_count
integer | null
tags
string[]
gated
is_private
boolean
default:false
is_disabled
boolean
default:false
is_dev_mode
boolean
default:false
subdomain
string | null
host
string | null
stage
string | null
hardware
string | null
requested_hardware
string | null
replicas
integer | null
py_spaces_version
string | null
created_at
string | null
last_modified
string | null
used_storage
integer | null
card_data
object | null
models
string[]
siblings
string[]