Project

List Custom URL Classifications

Changed on

List the custom URL classifications defined for a project. These complement the built-in classifications and can be assigned to URLs.

get/classifications/urls

Request

  • Base URL
    https://api.peec.ai/customer/v1
  • URL
    https://api.peec.ai/customer/v1/classifications/urls
  • Auth
    • API key in header X-API-Key
    • or API key in query parameter api_key
    • or HTTP bearer

Query parameters

project_idstring

Required if using a company api key

Example:or_f45b94ba-5e35-4982-93ed-285e72ee14eb
limitinteger
offsetinteger

Response

Success

total_countnumber required

Total number of matching custom URL classifications, ignoring pagination

totalCountnumber required

Total number of matching custom URL classifications, ignoring pagination

Example response

{
  "data": [
    {
      "name": "Tutorial",
      "color": "orange"
    }
  ],
  "total_count": 5,
  "totalCount": 5
}

Changes

    • breaking

      for the query request parameter limit, the type changed from number to integer

    • breaking

      for the query request parameter offset, the type changed from number to integer

    • warning

      for the query request parameter offset, the max was set to 9007199254740991.00