DeepFellow DOCS

Register a fine-tuning worker

POST
/v1/fine_tuning/workers

Register a new fine-tuning worker.

Authorization

headerAuthorizationBearer <token>

Request Body

application/json
  1. body

Request body for registering a new fine-tuning worker.

data*|
enabled?boolean

Whether this worker should accept new jobs immediately.

Defaulttrue

Response Body

Successful Response

application/json
  1. response

Public representation of a fine-tuning worker (token excluded).

id*string

The worker identifier.

Match^[0-9a-fA-F]{24}$
data*|
enabled*boolean

Whether this worker is available to accept new jobs.

created_at*integer

The Unix timestamp (in seconds) for when the worker was registered.

Example Request
curl -X POST 'https://deepfellow-server-host/v1/fine_tuning/workers' \  -H 'Content-Type: application/json' \  -d '{  "data": {    "type": "infra",    "prefix": "string"  }}'
Example Response
{  "id": "5eb7cf5a86d9755df3a6c593",  "data": {    "type": "infra",    "prefix": "string"  },  "enabled": true,  "created_at": 0}

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.