Create repository
Create a new repository, optionally with initial files via JSON or multipart form.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Repository creation payload (JSON or Multipart)
Only used between client and server for creating a new remote repository.
The name of the repository. When cloned locally, this is the name of the directory. This name uniquely identifies it in the namespace.
The namespace that the repository lives in: dictates application-level repository ownership. A namespace can be e.g. a user, a team, or an entire organization. Namespaces must be unique.
{
"author": "ox",
"email": "ox@example.com",
"id": "a1b2c3d4e5f67890abcdef1234567890",
"message": "Refactor data loading pipeline.",
"parent_ids": ["f1e2d3c4b5a67890fedcba9876543210"],
"timestamp": "2025-01-01T10:00:00Z"
}Which storage backend the server should use for this repo (e.g. "local", "s3").
local, s3 Response
Repository created
{
"latest_commit": {
"author": "ox",
"email": "ox@example.com",
"id": "a1b2c3d4e5f67890abcdef1234567890",
"message": "Initial dataset import.",
"parent_ids": ["f1e2d3c4b5a67890fedcba9876543210"],
"timestamp": "2025-01-01T10:00:00Z"
},
"name": "ImageNet-1k",
"namespace": "ox"
}