Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Create new object.
Create model:
POST /api/object
{
"payload": {
"object_type": "model",
"name": "model name",
"type": "local",
"content": {
"meta": {"entrance_file": "main.jl"},
"tree": [],
}
}
}
Create model from GitHub repo:
POST /api/object
{
"payload": {
"object_type": "model",
"repo": "vectorly-ai/simple-model",
"branch": "main",
"type": "repo",
}
}
Create model from GitHub gist:
POST /api/object
{
"payload": {
"object_type": "model",
"repo": "<the-gist-id>",
"type": "gist",
}
}
Create experiment:
POST /api/object
{
"payload": {
"object_type": "experiment",
"name": "experiment name",
"model_id": "M1234567",
}
}
Create share of experiment:
POST /api/object
{
"payload": {
"object_type": "share",
"objid": "X1234567",
"password": "the-pass",
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.