---
schema_version: "1"
id: 5aaf7154fa78c1cc55fbfc1a3666bf0da5aa42542fc211f1601a36f36b3ba676
title: Models API Apex Classes
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/genai/agentforce/references/apex/models-apex-reference.md
canonical_url: https://developer.salesforce.com/docs/ai/agentforce/references/models-apex-api/models-apex-reference.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9a7f8c8cd98f5721fea99f7e500227eaecd6029659522fcb1ac967b4d164cd7c
products:
  - Agentforce Developer Guide
  - Agentforce and Einstein Generative AI
---
# Models API Apex Classes

The Models API provides Apex classes that connect your application to large language models (LLMs). To get started, see [Access Models API with Apex](/docs/ai/agentforce/guide/access-models-api-with-apex.html).

This page lists all the Apex classes that are autogenerated from the Models REST API specification using [External Services](https://help.salesforce.com/s/articleView?id=platform.external_services.htm). The methods for each capability are located within the main `ModelsAPI` class. The rest of the classes contain property values associated with a request or a response.

The namespace for all Models API classes is `aiplatform`.

## `ModelsAPI`

The main class for the Models API.

### Methods

The methods of the `ModelsAPI` class are the primary way to interact with the Models API via Apex.

#### `createChatGenerations(...)`

Generate a response based on a list of messages representing a chat conversation.

- **Parameters**: [createChatGenerations_Request](#createchatgenerations_request) input
- **Returns**: [createChatGenerations_Response](#createchatgenerations_response)
- **Throws**: [createChatGenerations_ResponseException](#createchatgenerations_responseexception)
- **Signature**: `createChatGenerations_Response createChatGenerations(createChatGenerations_Request input);`
- **Example**: `aiplatform.ModelsAPI.createChatGenerations_Response response = modelsAPI.createChatGenerations(request);`

#### `createEmbeddings(...)`

Create an embedding vector representing the input text.

- **Parameters**: [createEmbeddings_Request](#createembeddings_request) input
- **Returns**: [createEmbeddings_Response](#createembeddings_response)
- **Throws**: [createEmbeddings_ResponseException](#createembeddings_responseexception)
- **Signature**: `createEmbeddings_Response createEmbeddings(createEmbeddings_Request input)`
- **Example**: `aiplatform.ModelsAPI.createEmbeddings_Request request = new aiplatform.ModelsAPI.createEmbeddings_Request();`

#### `createGenerations(...)`

Generate a response based on the provided prompt.

- **Parameters**: [createGenerations_Request](#creategenerations_request) input
- **Returns**: [createGenerations_Response](#creategenerations_response)
- **Throws**: [createGenerations_ResponseException](#creategenerations_responseexception)
- **Signature**: `createChatGenerations_Response createChatGenerations(createChatGenerations_Request input);`
- **Example**: `aiplatform.ModelsAPI.createChatGenerations_Response response = modelsAPI.createChatGenerations(request);`

#### `submitFeedback(...)`

Submit feedback for generated text.

- **Parameters**: [submitFeedback_Request](#submitfeedback_request) input
- **Returns**: [submitFeedback_Response](#submitfeedback_response)
- **Throws**: [submitFeedback_ResponseException](#submitfeedback_responseexception)
- **Signature**: `submitFeedback_Response submitFeedback(submitFeedback_Request input)`
- **Example**: `aiplatform.ModelsAPI.submitFeedback_Response response = modelsAPI.submitFeedback(request);`

### Child Classes

The child classes of the `ModelsAPI` parent class.

#### `createChatGenerations_Request`

Contains the request information for a chat generations request.

| Property  | Type                                                                  | Description                                                                                                    |
| --------- | --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| modelName | String                                                                | Configured model name. To learn more, see [Supported Models](/docs/ai/agentforce/guide/supported-models.html). |
| body      | [ModelsAPI_ChatGenerationsRequest](#modelsapi_chatgenerationsrequest) | Generation request class containing the messages, localization, and necessary tags.                            |

#### `createChatGenerations_Response`

Contains the response information for a chat generations response.

| Property     | Type                                                                    | Description                                                                                                   |
| ------------ | ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| Code200      | [ModelsAPI_ChatGenerationsResponse](#modelsapi_chatgenerationsresponse) | The response information for a successful chat generations response, including the prompt and generated text. |
| responseCode | Integer                                                                 | An HTTP status code.                                                                                          |

#### `createChatGenerations_ResponseException`

An exception for chat generation responses other than `Code200`. For information on HTTP and status code standards, see [RFC 9110 HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110.html#).

| Property        | Type                                | Description                      |
| --------------- | ----------------------------------- | -------------------------------- |
| responseCode    | Integer                             | An HTTP status code.             |
| Code400         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 400 error response. |
| Code401         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 401 error response. |
| Code403         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 403 error response. |
| Code423         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 423 error response. |
| Code429         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 429 error response. |
| Code500         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 500 error response. |
| Code503         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 503 error response. |
| defaultResponse | [ModelsAPI_Error](#modelsapi_error) | A default error response.        |

#### `createGenerations_Request`

Contains the request information for a generations request.

| Property  | Type                                                        | Description                                                                                                    |
| --------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| modelName | String                                                      | Configured model name. To learn more, see [Supported Models](/docs/ai/agentforce/guide/supported-models.html). |
| body      | [ModelsAPI_GenerationRequest](#modelsapi_generationrequest) | Generation request class containing the prompt, localization, and necessary tags.                              |

#### `createGenerations_Response`

Contains the response information for a generations response.

| Property     | Type                                                          | Description                                                                                                   |
| ------------ | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| Code200      | [ModelsAPI_GenerationResponse](#modelsapi_generationresponse) | The response information for a successful chat generations response, including the prompt and generated text. |
| responseCode | Integer                                                       | Response code.                                                                                                |

#### `createGenerations_ResponseException`

An exception for generation responses other than `Code200`. For information on HTTP and status code standards, see [RFC 9110 HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110.html#).

| Property        | Type                                | Description                      |
| --------------- | ----------------------------------- | -------------------------------- |
| responseCode    | Integer                             | An HTTP status code.             |
| Code400         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 400 error response. |
| Code401         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 401 error response. |
| Code403         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 403 error response. |
| Code423         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 423 error response. |
| Code429         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 429 error response. |
| Code500         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 500 error response. |
| Code503         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 503 error response. |
| defaultResponse | [ModelsAPI_Error](#modelsapi_error) | A default error response.        |

#### `createEmbeddings_Request`

Contains the request information for an embeddings request.

| Property  | Type                                                      | Description                                                                                                    |
| --------- | --------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| modelName | String                                                    | Configured model name. To learn more, see [Supported Models](/docs/ai/agentforce/guide/supported-models.html). |
| body      | [ModelsAPI_EmbeddingRequest](#modelsapi_embeddingrequest) | Embedding class containing input text, localization, and necessary tags.                                       |

#### `createEmbeddings_Response`

Contains the response information for an embeddings request.

| Property     | Type                                                        | Description                                                   |
| ------------ | ----------------------------------------------------------- | ------------------------------------------------------------- |
| Code200      | [ModelsAPI_EmbeddingResponse](#modelsapi_embeddingresponse) | The response information for a successful embedding response. |
| responseCode | Integer                                                     | An HTTP status code.                                          |

#### `createEmbeddings_ResponseException`

An exception for embeddings responses other than `Code200`. For information on HTTP and status code standards, see [RFC 9110 HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110.html#).

| Property        | Type                                | Description                      |
| --------------- | ----------------------------------- | -------------------------------- |
| responseCode    | Integer                             | An HTTP status code.             |
| Code400         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 400 error response. |
| Code401         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 401 error response. |
| Code403         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 403 error response. |
| Code423         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 423 error response. |
| Code429         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 429 error response. |
| Code500         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 500 error response. |
| Code503         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 503 error response. |
| defaultResponse | [ModelsAPI_Error](#modelsapi_error) | A default error response.        |

#### `submitFeedback_Request`

Contains the request information for a feedback submission.

| Property | Type                                                    | Description   |
| -------- | ------------------------------------------------------- | ------------- |
| body     | [ModelsAPI_FeedbackRequest](#modelsapi_feedbackrequest) | Request body. |

#### `submitFeedback_Response`

The response information for an accepted feedback response.

| Property     | Type                                                                  | Description                                                 |
| ------------ | --------------------------------------------------------------------- | ----------------------------------------------------------- |
| Code202      | [ModelsAPI_submitFeedback_OUT_202](#modelsapi_submitfeedback_out_202) | The response information for an accepted feedback response. |
| responseCode | Integer                                                               | An HTTP status code.                                        |

#### `submitFeedback_ResponseException`

An exception for chat feedback responses other than `Code200`. For information on HTTP and status code standards, see [RFC 9110 HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110.html#).

| Property        | Type                                | Description                      |
| --------------- | ----------------------------------- | -------------------------------- |
| responseCode    | Integer                             | An HTTP status code.             |
| Code400         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 400 error response. |
| Code401         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 401 error response. |
| Code403         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 403 error response. |
| Code423         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 423 error response. |
| Code429         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 429 error response. |
| Code500         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 500 error response. |
| Code503         | [ModelsAPI_Error](#modelsapi_error) | An HTTP code 503 error response. |
| defaultResponse | [ModelsAPI_Error](#modelsapi_error) | A default error response.        |

## ModelsAPI_ChatGenerationsRequest

A chat generation request.

| Property     | Type                                                                      | Description                                                                                                     |
| ------------ | ------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| messages     | List&lt;[ModelsAPI_ChatMessageRequest](#modelsapi_chatmessagerequest)&gt; | List of messages to send to the model. These messages should be in chronological order.                         |
| localization | [ModelsAPI_Localization](#modelsapi_localization)                         | Localization information, which can include the default locale, input locale(s), and expected output locale(s). |
| tags         | [ModelsAPI_Tags](#modelsapi_tags)                                         | Entries used by the Models API for non-generative purposes and entries used by the client for free-form data.   |

## ModelsAPI_ChatGenerationsResponse

A chat generation response.

| Property          | Type                                                        | Description                             |
| ----------------- | ----------------------------------------------------------- | --------------------------------------- |
| id                | String                                                      | Unique identifier for the response.     |
| generationDetails | [ModelsAPI_GenerationDetails](#modelsapi_generationdetails) | Details for a chat generation response. |

## ModelsAPI_ChatMessage

A message in a conversation. This message is used in a chat generation response.

| Property       | Type                                                                          | Description                                                   |
| -------------- | ----------------------------------------------------------------------------- | ------------------------------------------------------------- |
| id             | String                                                                        | Generation ID. Required to register feedback.                 |
| role           | String                                                                        | Persona that sent the message.                                |
| content        | String                                                                        | The content of the message.                                   |
| timestamp      | Long                                                                          | Timestamp when the message was sent.                          |
| parameters     | [ModelsAPI_ChatMessage_parameters](#modelsapi_chatmessage_parameters)         | Provider-specific attributes included as part of this object. |
| contentQuality | [ModelsAPI_ContentTrustRepresentation](#modelsapi_contenttrustrepresentation) | Content quality details.                                      |

## ModelsAPI_ChatMessageRequest

A message in a conversation. This message is used in a chat generation request.

| Property | Type   | Description                    |
| -------- | ------ | ------------------------------ |
| role     | String | Persona that sent the message. |
| content  | String | The content of the message.    |

## ModelsAPI_ChatMessage_parameters

Any provider-specific attributes included as part of this object.

| Property   | Type                  | Description                   |
| ---------- | --------------------- | ----------------------------- |
| properties | Map of String, Object | Provider-specific properties. |

## ModelsAPI_ContentModeration

This class is deprecated.

## ModelsAPI_ContentTrustRepresentation

Content moderation details for generated content.

| Property     | Type                                                                          | Description            |
| ------------ | ----------------------------------------------------------------------------- | ---------------------- |
| scanToxicity | [ModelsAPI_TrustScannerRepresentation](#modelsapi_trustscannerrepresentation) | Toxicity scan details. |

## ModelsAPI_EmbeddingRequest

An embedding request.

| Property     | Type                                              | Description                                                                                                     |
| ------------ | ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| input        | List&lt;String&gt;                                | Input text used for generating an embedding. Data is encoded as an array of strings.                            |
| localization | [ModelsAPI_Localization](#modelsapi_localization) | Localization information, which can include the default locale, input locale(s), and expected output locale(s). |
| tags         | [ModelsAPI_Tags](#modelsapi_tags)                 | Entries used by the Models API for non-generative purposes and entries used by the client for free-form data.   |

## ModelsAPI_EmbeddingResponse

An embedding response.

| Property   | Type                                                                              | Description                                                       |
| ---------- | --------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| embeddings | List&lt;[ModelsAPI_Embeddings](#modelsapi_embeddings)&gt;                         | A list of embedding responses.                                    |
| parameters | [ModelsAPI_EmbeddingResponse_parameters](#modelsapi_embeddingresponse_parameters) | Any provider-specific attributes included as part of this object. |

## ModelsAPI_EmbeddingResponse_parameters

Any provider-specific attributes included as part of this object.

| Property   | Type                  | Description                   |
| ---------- | --------------------- | ----------------------------- |
| properties | Map of String, Object | Provider-specific properties. |

## ModelsAPI_Embeddings

An embedding vector for the text.

| Property  | Type               | Description                                                      |
| --------- | ------------------ | ---------------------------------------------------------------- |
| embedding | List&lt;Double&gt; | Embedding of the text. Data is specified as an array of numbers. |
| index     | Integer            | Index of the input text to which the embedding belongs.          |

## ModelsAPI_Error

Models API error.

| Property    | Type                                                                  | Description                                                                                                               |
| ----------- | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| errorCode   | String                                                                | Error code to map the error message.                                                                                      |
| messageCode | String                                                                | A specification of the error that uniquely identifies an error message.                                                   |
| message     | String                                                                | Description of the error.                                                                                                 |
| targets     | List&lt;[ModelsAPI_Error_targets](#modelsapi_error_targets)&gt;       | Collection of references representing the specific occurrence of the problem.                                             |
| parameters  | List&lt;[ModelsAPI_Error_parameters](#modelsapi_error_parameters)&gt; | A collection of name-value pairs where each item in the collection represents a parameter leveraged in the error message. |
| properties  | Map of String, Object                                                 | A map of the properties.                                                                                                  |

## ModelsAPI_Error_parameters

A collection of name-value pairs where each item in the collection represents a parameter leveraged in the error message.

| Property | Type   | Description      |
| -------- | ------ | ---------------- |
| name     | String | Parameter name.  |
| value    | String | Parameter value. |

## ModelsAPI_Error_targets

Collection of references representing the specific occurrence of the problem.

| Property  | Type   | Description                                               |
| --------- | ------ | --------------------------------------------------------- |
| z0type    | String | Type of the target (FIELD, QUERY_PARAMETER, HTTP_HEADER). |
| reference | String | Reference to the specific occurrence of the problem.      |

## ModelsAPI_FeedbackRequest

A feedback request.

| Property        | Type                                                                            | Description                                                                                                                                                                                                                                                                          |
| --------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| id              | String                                                                          | Unique ID for the feedback object.                                                                                                                                                                                                                                                   |
| generationId    | String                                                                          | Identifies the target of this feedback data. You can specify the ID of a `/generations` response, or use any other identifier as a string value. The Models API doesn’t do any semantic validation on this field. It’s only meant for identifying this information in the datastore. |
| feedback        | String                                                                          | The feedback sentiment. Can be `null`.                                                                                                                                                                                                                                               |
| feedbackText    | String                                                                          | The textual representation of the feedback as provided by the user.                                                                                                                                                                                                                  |
| source          | String                                                                          | The source of the feedback. For example, `human` or `app`.                                                                                                                                                                                                                           |
| appFeedback     | [ModelsAPI_FeedbackRequest_appFeedback](#modelsapi_feedbackrequest_appfeedback) | Dictionary of any app-level feedback and any other free-form parameters.                                                                                                                                                                                                             |
| appGenerationId | String                                                                          | App-specific generation ID to support cases where the client has multiple responses in a single generation.                                                                                                                                                                          |
| appGeneration   | String                                                                          | App-specific generation text to support cases where the client has multiple responses in a single generation.                                                                                                                                                                        |

## ModelsAPI_FeedbackRequest_appFeedback

Dictionary of any app-level feedback and any other free-form parameters.

| Property   | Type                  | Description              |
| ---------- | --------------------- | ------------------------ |
| properties | Map of String, Object | A map of the properties. |

## ModelsAPI_GenerationDetails

Details for a chat generation response.

| Property    | Type                                                                              | Description                                                       |
| ----------- | --------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| generations | List&lt;[ModelsAPI_ChatMessage](#modelsapi_chatmessage)&gt;                       | A list of messages used in a chat generation response.            |
| parameters  | [ModelsAPI_GenerationDetails_parameters](#modelsapi_generationdetails_parameters) | Any provider-specific attributes included as part of this object. |

## ModelsAPI_GenerationDetails_parameters

Any provider-specific attributes included as part of this object.

| Property   | Type                  | Description              |
| ---------- | --------------------- | ------------------------ |
| properties | Map of String, Object | A map of the properties. |

## ModelsAPI_GenerationRepresentation

The generated text that is part of the generation response.

| Property       | Type                                                                                            | Description                                                                      |
| -------------- | ----------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| id             | String                                                                                          | Generation ID. This value is required to register feedback.                      |
| generatedText  | String                                                                                          | The generated text.                                                              |
| contentQuality | [ModelsAPI_ContentTrustRepresentation](#modelsapi_contenttrustrepresentation)                   | Content moderation details for generated content.                                |
| parameters     | [ModelsAPI_GenerationRepresentation_parameters](#modelsapi_generationrepresentation_parameters) | Any provider-specific attributes included as part of this object. Can be `null`. |

## ModelsAPI_GenerationRepresentation_parameters

Any provider-specific attributes included as part of this object. Can be `null`.

| Property   | Type                  | Description              |
| ---------- | --------------------- | ------------------------ |
| properties | Map of String, Object | A map of the properties. |

## ModelsAPI_GenerationRequest

A generation request containing prompt, localization, and tag information.

| Property     | Type                                              | Description                                                                                                     |
| ------------ | ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| prompt       | String                                            | The prompt or text to be completed.                                                                             |
| localization | [ModelsAPI_Localization](#modelsapi_localization) | Localization information, which can include the default locale, input locale(s), and expected output locale(s). |
| tags         | [ModelsAPI_Tags](#modelsapi_tags)                 | Entries used by the Models API for non-generative purposes and entries used by the client for free-form data.   |

## ModelsAPI_GenerationResponse

A generations response.

| Property        | Type                                                                                  | Description                                                                              |
| --------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| id              | String                                                                                | ID of the generation request.                                                            |
| generation      | [ModelsAPI_GenerationRepresentation](#modelsapi_generationrepresentation)             | The generated text that is part of the generation response.                              |
| moreGenerations | List&lt;[ModelsAPI_GenerationRepresentation](#modelsapi_generationrepresentation)&gt; | List of generated text items if the number of requested generations is greater than one. |
| prompt          | String                                                                                | Prompt used for the generation. Can be null.                                             |
| parameters      | [ModelsAPI_GenerationResponse_parameters](#modelsapi_generationresponse_parameters)   | Any provider-specific attributes included as part of this object. Can be `null`.         |

## ModelsAPI_GenerationResponse_parameters

Any provider-specific attributes included as part of this object. Can be `null`.

| Property   | Type                  | Description              |
| ---------- | --------------------- | ------------------------ |
| properties | Map of String, Object | A map of the properties. |

## ModelsAPI_Localization

Localization information, which can include the default locale, input locale(s), and expected output locale(s). To learn more, see [Specify Languages and Locales with Models API](/docs/ai/agentforce/guide/models-api-languages-and-locales.html).

| Property        | Type                                                              | Description                                                                                                |
| --------------- | ----------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| defaultLocale   | String                                                            | Default locale.                                                                                            |
| inputLocales    | List&lt;[ModelsAPI_ProbableLocale](#modelsapi_probablelocale)&gt; | List of language codes or locales found in the prompt.                                                     |
| expectedLocales | List&lt;String&gt;                                                | Expected output languages of the generations. Derived from the output language instructions of the prompt. |

## ModelsAPI_ProbableLocale

The locale and an optional probability value.

| Property    | Type   | Description                                                                              |
| ----------- | ------ | ---------------------------------------------------------------------------------------- |
| locale      | String | A language or locale.                                                                    |
| probability | Double | An estimate of how frequently you expect this language or locale to appear in the input. |

## ModelsAPI_Tags

Entries used by the Models API for non-generative purposes and entries used by the client for free-form data.

| Property   | Type                  | Description              |
| ---------- | --------------------- | ------------------------ |
| properties | Map of String, Object | A map of the properties. |

## ModelsAPI_TrustCategoryDetail

Safety score for a given category.

| Property     | Type   | Description                                                                           |
| ------------ | ------ | ------------------------------------------------------------------------------------- |
| categoryName | String | Name of the category.                                                                 |
| score        | Double | A toxicity score value. A higher score means the response is more likely to be toxic. |

## ModelsAPI_TrustScannerRepresentation

Represents safety and toxicity data.

| Property   | Type                                                                        | Description                                                                                                               |
| ---------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| isDetected | Boolean                                                                     | Indicates whether a scan detected any toxic content. A false value doesn’t necessarily mean that the content isn’t toxic. |
| categories | List&lt;[ModelsAPI_TrustCategoryDetail](#modelsapi_trustcategorydetail)&gt; | List of safety scores for different categories.                                                                           |

## ModelsAPI_submitFeedback_OUT_202

An accepted feedback message.

| Property | Type   | Description                   |
| -------- | ------ | ----------------------------- |
| message  | String | An accepted feedback message. |
