Retrieve a list of Evaluations associated to the trust_product resource

GET /v1/TrustProducts/{TrustProductSid}/Evaluations

TODO: Resource-level docs

Retrieve a list of Evaluations associated to the trust_product resource.

Path parameters

  • TrustProductSid string Required

    The unique string that we created to identify the trust_product resource.

Query parameters

  • 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.

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • meta object
      Hide meta attributes Show meta attributes
    • results array[object]
      Hide results attributes Show results attributes
      • account_sid string | null

        The SID of the Account that created the resource

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

      • date_created string(date-time) | null
      • policy_sid string | null

        The unique string of a policy

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

      • results array | null

        The results of the Evaluation resource

      • sid string | null

        The unique string that identifies the Evaluation resource

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

      • status string | null

        The compliance status of the Evaluation resource

        Values are compliant or noncompliant.

      • trust_product_sid string | null

        The unique string that identifies the resource

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

      • url string(uri) | null
GET /v1/TrustProducts/{TrustProductSid}/Evaluations
curl \
 -X GET https://trusthub.twilio.com/v1/TrustProducts/{TrustProductSid}/Evaluations \
 --user "username:password"
Response examples (200)
{
  "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"
  },
  "results": [
    {
      "account_sid": "string",
      "date_created": "2023-05-04T09:42:00+00:00",
      "policy_sid": "string",
      "results": [],
      "sid": "string",
      "status": "compliant",
      "trust_product_sid": "string",
      "url": "https://example.com"
    }
  ]
}