> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.tribalhabits.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get all external knowledge

> This endpoint retrieves all external knowledge records (paginated).

Results are paginated. For example, `GET /papi/external_knowledges?page=2` returns the second page.




## OpenAPI

````yaml /openapi.yaml get /external_knowledges
openapi: 3.1.0
info:
  title: Tribal Habits Public API
  version: '1'
  description: >
    The Tribal Habits Public API V1. Use it to manage your Tribal Habits user
    accounts (list, show, create and update) and other entities.


    Replace `myorg` in the server URL with your organisation's subdomain. See
    [Vanity URL](/vanity-url) if you use your own domain.
servers:
  - url: https://myorg.tribalhabits.com/papi
security:
  - ApiKeyHeader: []
tags:
  - name: Users
    description: Users
  - name: Topics
    description: Topics
  - name: Pathways
    description: Pathways
  - name: Enrolments
    description: Topic and Pathway Enrolments
  - name: Certificates
    description: >-
      Certificate generation and retrieval for completed topic and pathway
      enrolments.
  - name: External Knowledge
    description: Knowledge obtained from a source external of Tribal Habits.
  - name: Webhooks
    description: >-
      Webhooks triggered from certain actions in code that will call URLs
      assigned by you.
paths:
  /external_knowledges:
    get:
      tags:
        - External Knowledge
      summary: Get all external knowledge
      description: >
        This endpoint retrieves all external knowledge records (paginated).


        Results are paginated. For example, `GET
        /papi/external_knowledges?page=2` returns the second page.
      operationId: getExternalKnowledges
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/MaxPerPage'
        - $ref: '#/components/parameters/UpdatedAt'
      responses:
        '200':
          description: A page of external knowledge records
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Pagination'
                  - type: object
                    properties:
                      records:
                        type: array
                        items:
                          $ref: '#/components/schemas/ExternalKnowledge'
              examples:
                example:
                  $ref: '#/components/examples/ExternalKnowledgePage'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    Page:
      name: page
      in: query
      description: Results page to return
      schema:
        type: integer
        default: 1
    MaxPerPage:
      name: max_per_page
      in: query
      description: >-
        Maximum number of results per page. Maximum permitted page size is 100.
        Larger values are reduced to 100.
      schema:
        type: integer
        default: 25
    UpdatedAt:
      name: updated_at
      in: query
      description: >-
        Only records updated after this time, in UTC. Use the ISO 8601 form
        "yyyy-mm-ddThh:mm:ss", eg "2023-02-01T15:12:13". Do not include a time
        zone offset
      schema:
        type: string
        example: '2023-02-01T15:12:13'
  schemas:
    Pagination:
      type: object
      properties:
        total_records:
          type: integer
          description: Total number of records
        max_per_page:
          type: integer
          description: Maximum number of results per page
        current_page:
          type: integer
          description: Results page returned
        total_pages:
          type: integer
          description: Total number of pages
    ExternalKnowledge:
      type: object
      properties:
        id:
          type: integer
          description: >-
            Unique identifier of the external knowledge record, used with show
            and update
        knowledge_type:
          type: integer
          enum:
            - 1
            - 2
            - 3
            - 4
            - 5
            - 6
          description: >-
            `1` = Training, `2` = Certificate, `3` = Qualification, `4` =
            License, `5` = Document, `6` = Development Plan
        title:
          type: string
        code:
          type:
            - string
            - 'null'
          description: >-
            Code for the knowledge. For Documents this holds the document type,
            and for Development Plans the stage
        provider:
          type: string
        date_obtained:
          type: string
          description: Date in the form 'yyyy-mm-dd'
        certificate_number:
          type:
            - string
            - 'null'
        country_obtained:
          type:
            - string
            - 'null'
        state_obtained:
          type:
            - string
            - 'null'
          description: State or region code
        expires:
          type:
            - string
            - 'null'
          description: Date in the form 'yyyy-mm-dd'
        qualification_level:
          type:
            - string
            - 'null'
        assessment_score:
          type:
            - number
            - 'null'
        total_time:
          type:
            - integer
            - 'null'
        notes:
          type:
            - string
            - 'null'
        klass:
          type:
            - string
            - 'null'
          description: Class of knowledge
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        development_focus:
          type:
            - string
            - 'null'
  examples:
    ExternalKnowledgePage:
      summary: A page of external knowledge records
      value:
        total_records: 47
        max_per_page: 25
        current_page: 1
        total_pages: 2
        records:
          - id: 12345
            knowledge_type: 1
            title: title1
            code: code1
            provider: prov1
            date_obtained: '2021-06-01'
            certificate_number: CI1
            country_obtained: AU
            state_obtained: NSW
            expires: null
            qualification_level: null
            assessment_score: 1
            total_time: 2
            notes: Notes
            klass: ClassA
            created_at: '2019-08-08T15:51:31.424+10:00'
            updated_at: '2020-01-22T14:38:39.099+11:00'
            development_focus: null
  responses:
    Unauthorized:
      description: >-
        Unauthorized - The request does not include the API key, the API key is
        incorrect, or API access is not enabled on your plan.
    TooManyRequests:
      description: >-
        Too Many Requests - You have exceeded the rate limit. See [Rate
        limits](/rate-limits)
      headers:
        Retry-After:
          description: Number of seconds until the rate limit window resets
          schema:
            type: integer
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              retry_after_seconds:
                type: integer
          example:
            error: Rate limit exceeded. Please slow down.
            retry_after_seconds: 23
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: Authorization
      description: >
        Your organisation's API key, sent as `Authorization: my_api_key`. The
        key can also be passed as an `api_key` query parameter. See
        [Authentication](/authentication).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.