cURL
curl --request POST \ --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/fork \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "namespace": "<string>", "new_repo_name": "<string>" } '
{ "status": "<string>", "status_message": "<string>", "oxen_version": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Namespace of the repository to fork
Name of the repository to fork
Fork target details, including the new namespace and optional new repository name.
Fork initiated successfully