> ## 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 a specific external knowledge

> This endpoint retrieves a specific external knowledge record.

`id` is the unique identifier of an external knowledge record.

Returns `404` if the record does not exist.




## OpenAPI

````yaml /openapi.yaml get /external_knowledges/{id}
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/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
        example: 12345
    get:
      tags:
        - External Knowledge
      summary: Get a specific external knowledge
      description: |
        This endpoint retrieves a specific external knowledge record.

        `id` is the unique identifier of an external knowledge record.

        Returns `404` if the record does not exist.
      operationId: getExternalKnowledge
      responses:
        '200':
          description: The external knowledge record
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalKnowledge'
              examples:
                example:
                  $ref: '#/components/examples/ExternalKnowledge'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  schemas:
    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:
    ExternalKnowledge:
      summary: An external knowledge record
      value:
        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.
    NotFound:
      description: Not Found - The specified resource or endpoint could not be found
      content:
        application/json:
          schema:
            type: string
          example: not found
    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.