Knowledge Bases

List all knowledge bases

Changed on

Returns a list of your knowledge bases. The knowledge bases are returned sorted by creation date, with the most recent knowledge bases appearing first

get/v2/knowledge

Request

  • Base URL
    https://my.orq.ai
  • URL
    https://my.orq.ai/v2/knowledge
  • Auth
    HTTP bearer

Query parameters

starting_afterstring

A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with 01JJ1HDHN79XAS7A01WB3HYSDB, your subsequent call can include starting_after=01JJ1HDHN79XAS7A01WB3HYSDB in order to fetch the next page of the list.

ending_beforestring

A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with 01JJ1HDHN79XAS7A01WB3HYSDB, your subsequent call can include ending_before=01JJ1HDHN79XAS7A01WB3HYSDB in order to fetch the previous page of the list.

limitinteger

A limit on the number of objects to be returned. Limit can range between 1 and 300, and the default is 25

searchstring

Filter knowledge bases by key (case-insensitive match)

updated_bystring

Filter by the users who last updated the knowledge base. Accepts a comma-separated list of user IDs

type'internal' | 'external'

Filter knowledge bases by type

project_idstring

Filter knowledge bases by project ID

Response

Knowledge bases retrieved

object'list' required
has_moreboolean required

Example response

{
  "data": [
    {
      "path": "Default"
    }
  ]
}

Changes

    • breaking

      added subschema #1 subschema #2 to the / response property oneOf list for the response status

    • info

      removed subschema #1 subschema #2 from the / response property oneOf list for the response status

    • breaking

      added subschema #1 subschema #2 to the / response property oneOf list for the response status

    • info

      removed subschema #1 subschema #2 from the / response property oneOf list for the response status