Skip to main content
POST
CSharp (SDK)

Autorizações

Authorization
string
header
obrigatório

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Cabeçalhos

X-HuggingFace-Token
string
obrigatório

Caller-owned Hugging Face token with read access to the source dataset repository. Gateway does not use its server-side Hugging Face token for historical imports.

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Corpo

application/json
source
object
suite_id
string

Conjunto existente para importar. As tarefas ausentes são adicionadas como uma nova versão por padrão.

Minimum string length: 1
suite_name
string
padrão:Historical lm-eval harness results
Required string length: 1 - 255
suite_description
string
Maximum string length: 10000
create_missing_tasks
boolean
padrão:true
dry_run
boolean
padrão:false
limit_files
integer

Número máximo de arquivos de resultado a serem importados do Hugging Face, limitado a 100. As importações de listagem de repositórios têm como padrão 50; importações explícitas de source.files não são limitadas, a menos que isso seja definido.

Intervalo obrigatório: 1 <= x <= 100
metadata
object

Resposta

200 - application/json

OK

object
any
obrigatório
source
object
obrigatório
suite_id
string
obrigatório
suite_version
integer
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
created_suite
boolean
obrigatório
created_suite_version
boolean
obrigatório
dry_run
boolean
obrigatório
discovered_files
integer
obrigatório
Intervalo obrigatório: 0 <= x <= 9007199254740991
imported_runs
integer
obrigatório
Intervalo obrigatório: 0 <= x <= 9007199254740991
skipped_runs
integer
obrigatório
Intervalo obrigatório: 0 <= x <= 9007199254740991
imported_samples
integer
obrigatório
Intervalo obrigatório: 0 <= x <= 9007199254740991