Integrations
Connect Hugging Face account
PUT
/
v1
/
settings
/
integrations
/
huggingface
Connect Hugging Face account
curl --request PUT \
--url https://api.veri.studio/v1/settings/integrations/huggingface \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'import requests
url = "https://api.veri.studio/v1/settings/integrations/huggingface"
payload = { "token": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({token: '<string>'})
};
fetch('https://api.veri.studio/v1/settings/integrations/huggingface', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"configured": true,
"username": "<string>"
}Authorizations
API key with the vk_ prefix. Create one from the dashboard.
Body
application/json
Hugging Face access token (huggingface.co/settings/tokens) with write scope. Stored encrypted at rest; never returned by the API.
Connect Hugging Face account
curl --request PUT \
--url https://api.veri.studio/v1/settings/integrations/huggingface \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'import requests
url = "https://api.veri.studio/v1/settings/integrations/huggingface"
payload = { "token": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({token: '<string>'})
};
fetch('https://api.veri.studio/v1/settings/integrations/huggingface', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"configured": true,
"username": "<string>"
}
