* Register User * Create new user without the need to be logged in. * @param data The data for the request. * @param data.requestBody * @returns UserPublic Successful Response * @throws ApiError
(
data: UsersRegisterUserData,
)
| 491 | * @throws ApiError |
| 492 | */ |
| 493 | public static registerUser( |
| 494 | data: UsersRegisterUserData, |
| 495 | ): CancelablePromise<UsersRegisterUserResponse> { |
| 496 | return __request(OpenAPI, { |
| 497 | method: 'POST', |
| 498 | url: '/api/v1/users', |
| 499 | body: data.requestBody, |
| 500 | mediaType: 'application/json', |
| 501 | errors: { |
| 502 | 422: 'Validation Error', |
| 503 | }, |
| 504 | }) |
| 505 | } |
| 506 | |
| 507 | /** |
| 508 | * Get My Ai Usage Quota |