List feedbacks

GET /v1/Assistants/{id}/Feedbacks

List feedbacks

Path parameters

  • id string Required

    The assistant ID.

Query parameters

  • Page integer

    The page index. This value is simply for client state.

    Minimum value is 0.

  • PageSize integer

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

  • PageToken string

    The page token. This is provided by the API.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • feedbacks array[object]
      Hide feedbacks attributes Show feedbacks attributes object
      • assistant_id string Required

        The Assistant ID.

      • id string Required

        The Feedback ID.

        Format should match the following pattern: ^aia_fdbk_.+$.

      • account_sid string

        The SID of the Account that created the Feedback.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

      • user_sid string

        The SID of the User created the Feedback.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^US[0-9a-fA-F]{32}$.

      • message_id string Required

        The Message ID.

      • score number(float) Required

        The Score to provide as Feedback (0-1)

        Minimum value is 0, maximum value is 1.

      • session_id string Required

        The Session ID.

      • text string Required

        The text to be given as feedback.

      • date_created string(date-time) Required

        The date and time in GMT when the Feedback was created specified in ISO 8601 format.

      • date_updated string(date-time) Required

        The date and time in GMT when the Feedback was last updated specified in ISO 8601 format.

    • meta object
      Hide meta attributes Show meta attributes object
      • first_page_url string(uri)
      • key string
      • next_page_url string(uri) | null
      • page integer
      • page_size integer
      • previous_page_url string(uri) | null
      • url string(uri)
GET /v1/Assistants/{id}/Feedbacks
curl \
 --request GET 'https://assistants.twilio.com/v1/Assistants/{id}/Feedbacks' \
 --user "username:password"
Response examples (200)
{
  "feedbacks": [
    {
      "assistant_id": "string",
      "id": "string",
      "account_sid": "string",
      "user_sid": "string",
      "message_id": "string",
      "score": 42.0,
      "session_id": "string",
      "text": "string",
      "date_created": "2025-05-04T09:42:00Z",
      "date_updated": "2025-05-04T09:42:00Z"
    }
  ],
  "meta": {
    "first_page_url": "https://example.com",
    "key": "string",
    "next_page_url": "https://example.com",
    "page": 42,
    "page_size": 42,
    "previous_page_url": "https://example.com",
    "url": "https://example.com"
  }
}