Create task
POST/v1/tasks
The task is created in the default pricing tier; tier and AI model are set by Kobana (model in the body is rejected).
Request​
Responses​
- 201
- 400
- 401
- 403
- 409
- 422
- 503
created
VALIDATION_ERROR
INVALID_TOKEN / INVALID_AUDIENCE / INVALID_ISSUER / TOKEN_EXPIRED / TOKEN_REVOKED / MTLS_REQUIRED
INSUFFICIENT_SCOPE — the token lacks the access level (or the kadu/… resource) the operation requires; details: { required, granted }. USER_PERMISSION_DENIED — the role of the person who owns the token does not grant the operation; details: { required }. NOT_A_MEMBER — the person is not a member of the organization. FEATURE_NOT_ENABLED — the operation is not enabled for the organization; details: { permission }. UNKNOWN_ORGANIZATION — the token's org is not a Kadu organization.
IDEMPOTENCY_KEY_REUSED / IDEMPOTENCY_REQUEST_IN_PROGRESS (or the route's CONFLICT)
VALIDATION_ERROR — workspace/activity outside the organization or skill_slug not allowed
AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).