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

Response

200
application/json

Successful response

The response is of type object[].