POST
/
tasks
curl --request POST \
  --url https://api.getflex.ai/v1/tasks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>"
}'
[
  {
    "id": "<string>",
    "config": {},
    "user_id": "<string>",
    "model_id": "<string>",
    "name": "<string>",
    "checkpoints_count": 123,
    "total_steps": 123,
    "dataset_id": "<string>",
    "engine_data": {
      "runpod_run_id": "<string>"
    }
  }
]

Authorizations

Authorization
string
header
required

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

Body

application/json
id
string

Response

200
application/json
Successful response
id
string
config
object
user_id
string
model_id
string
name
string
checkpoints_count
integer
total_steps
integer
dataset_id
string
engine_data
object