Project

List the topics of a project

get/topics

Request

  • Base URL
    https://api.peec.ai/customer/v1
  • URL
    https://api.peec.ai/customer/v1/topics
  • 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 topics, ignoring pagination

totalCountnumber required

Total number of matching topics, ignoring pagination

Example response

{
  "data": [
    {
      "id": "to_5524d66a-df1e-47e4-9dbc-802af39235ad",
      "name": "SEO"
    }
  ],
  "total_count": 42,
  "totalCount": 42
}

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