Skip to main content

Create Custom Model

Create a new custom speech recognition model.

Endpoint

POST /api/v3/custom_models

Request Type

type CreateCustomModelPayload = {
name: string;
language_id: number;
organization_id: number;
};

Request Fields

FieldTypeRequiredDescription
namestringYesModel display name
language_idnumberYesLanguage identifier
organization_idnumberYesOrganization identifier

Response Type

type CreateCustomModelResponse = {
result:
| { id: number; name: string; type: number }
| Array<{ id: number; name: string; type: number }>;
count?: number;
total_results?: number;
};

Wrapped in:

type BaseResponse<T> = {
// Response wrapper structure
};

Notes

  • Models are created for a specific organization
  • Language is specified by ID, not language code
  • The response may contain a single model or an array of models
  • Model type is indicated by numeric identifier

See Also


Need help? Contact support@scriptix.io or visit our documentation.