LogoРТА Технологии
OpenAPIProjects

Create Task

POST
/api/project/create_task

Authorization

OAuth2PasswordBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

project_id*string
Formatuuid
task_type*string
Value in"transcribation" | "diarization" | "summarization"
params*||

Response Body

application/json

application/json

curl -X POST "https://app.otascribe.ru/api/api/project/create_task" \  -H "Content-Type: application/json" \  -d '{    "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",    "task_type": "transcribation",    "params": {}  }'
{
  "message": "OK"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}