Skip to main content
POST
/
api
/
repos
/
{namespace}
/
{repo_name}
/
fork
Fork repo
curl --request POST \
  --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/fork \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '"{\n    \"namespace\": \"5b1d2e0f-6e7b-4ce6-8009-e11e9475026d\",\n    \"new_repo_name\": \"my_name\" // optional\n}"'

Authorizations

Authorization
string
header
required

Path Parameters

namespace
string
required
Example:
repo_name
string
required
Example:

Body

application/json · any