Skip to main content
POST
/huggingface/discussions/search

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
count
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
status
enum<string> | null
Available options:
open,
closed
type
enum<string> | null
Available options:
discussion,
pull_request
author
string | null

Response

Successful Response

num
integer
required
url
string
required
@type
string
default:HuggingfaceDiscussion
status
string | null
is_pull_request
boolean
default:false
is_pinned
boolean
default:false
created_at
string | null
repo_id
string | null
repo_type
string | null
comment_count
integer | null
reaction_count
integer | null
author
object | null