Skip to main content
POST
/huggingface/discussions

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
repo
string
required
Minimum string length: 1
num
integer
required
Required range: x >= 1
timeout
integer
default:300
Required range: 20 <= x <= 1500
repo_type
enum<string>
default:model
Available options:
model,
dataset,
space

Response

Successful Response

num
integer
required
url
string
required
@type
string
default:HuggingfaceDiscussionDetail
status
string | null
is_pull_request
boolean
default:false
is_locked
boolean
default:false
is_pinned
boolean
default:false
created_at
string | null
repo_id
string | null
repo_type
string | null
text
string | null
diff_url
string | null
author
object | null
comments
object[]