Skip to main content
Repositories are the top-level containers for organizing your datasets on Alphacast. Use this endpoint to create a new repository under your account. You will automatically become the Owner of any repository you create.

Request

Send a JSON body with the Content-Type: application/json header.

Authentication

This endpoint requires HTTP Basic Auth. Pass your API key as the username and leave the password empty.

Body parameters

string
required
Display name for the new repository.
string
required
Visibility setting for the repository. Must be either "Public" or "Private".
string
Optional description of the repository’s contents or purpose.
string
Optional team name to associate this repository with for collaborative access.

Response

Returns 201 Created with the newly created repository object.
integer
Unique numeric identifier assigned to the new repository.
string
Display name of the repository.
string
Description of the repository, if provided.
string
Visibility setting. Either "Public" or "Private".
string
The team this repository belongs to, if provided.
string
Your access level. Always "Owner" for repositories you create.

Example