POST
/
api
/
repos
/
{namespace}
/
{repo_name}
/
fork
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

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

namespace
string
required
Example:

"ox"

repo_name
string
required
Example:

"0ac8da37-dd47-4404-a096-07f797291a19"

Body

application/json · any

The body is of type any.