# Internal Article Search Response

> This is a subset of the full specification, limited to the `internal_article_search_response` schema.
>
> You can find the full specification here: /_bundle/docs/references/@2.18/rest-api/api.intercom.io.yaml

```yaml
openapi: 3.0.1
info:
  title: Intercom API
  version: '2.18'
  description: This is a subset of the full specification, limited to the `internal_article_search_response` schema. Components more than 3 `$ref` hops away are not included.
  contact:
    name: Intercom Developer Hub
    url: https://developers.intercom.com
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
servers:
  - url: https://api.intercom.io
    description: The production API server
  - url: https://api.eu.intercom.io
    description: The european API server
  - url: https://api.au.intercom.io
    description: The australian API server
security:
  - bearerAuth: []
paths: {}
components:
  schemas:
    internal_article:
      title: Internal Article
      type: object
      x-tags:
        - Articles
      description: The Internal Articles API is a central place to gather all information and take actions on your internal articles.
      allOf:
        - $ref: '#/components/schemas/internal_article_list_item'
    internal_article_list_item:
      title: Internal Articles
      type: object
      x-tags:
        - Internal Articles
      description: The data returned about your internal articles when you list them.
      properties:
        id:
          type: integer
          description: The unique identifier for the article which is given by Intercom.
          example: 6871119
        title:
          type: string
          description: The title of the article.
        body:
          type: string
          nullable: true
          description: The body of the article in HTML.
          example: Default language body in html
        body_markdown:
          type: string
          nullable: true
          description: The body of the article in markdown.
          example: |
            # Internal Guide

            Body of the article in markdown
        owner_id:
          type: integer
          description: The id of the owner of the article.
          example: 5017691
        author_id:
          type: integer
          description: The id of the author of the article.
          example: 5017691
        created_at:
          type: integer
          format: date-time
          description: The time when the article was created.
          example: 1672928359
        updated_at:
          type: integer
          format: date-time
          description: The time when the article was last updated.
          example: 1672928610
        locale:
          type: string
          description: The default locale of the article.
        folder_id:
          type: integer
          nullable: true
          description: The ID of the folder this article belongs to, or null if not in a folder.
          example: 6
        audience_ids:
          type: array
          nullable: true
          description: The list of audience IDs this internal article is targeted to for Fin AI Agent. Empty array means no audience targeting is set.
          items:
            type: integer
          example:
            - 1
            - 2
        ai_chatbot_availability:
          type: boolean
          description: Whether the internal article is available for AI Chatbot (Fin).
          example: true
        ai_copilot_availability:
          type: boolean
          description: Whether the internal article is available for AI Copilot.
          example: true
        ai_sales_agent_availability:
          type: boolean
          description: Whether the internal article is available for AI Sales Agent.
          example: true
        tags:
          $ref: '#/components/schemas/tags'
    internal_article_search_response:
      title: Internal Article Search Response
      type: object
      x-tags:
        - Internal Articles
      description: The results of an Internal Article search
      properties:
        type:
          type: string
          description: The type of the object - `list`.
          enum:
            - list
          example: list
        total_count:
          type: integer
          description: The total number of Internal Articles matching the search query
          example: 5
        internal_articles:
          type: array
          description: An array of Internal Article objects
          items:
            $ref: '#/components/schemas/internal_article'
        pages:
          $ref: '#/components/schemas/pages_link'
    pages_link:
      title: Pagination Object
      type: object
      description: |
        The majority of list resources in the API are paginated to allow clients to traverse data over multiple requests.

        Their responses are likely to contain a pages object that hosts pagination links which a client can use to paginate through the data without having to construct a query. The link relations for the pages field are as follows.
      properties:
        type:
          type: string
          example: pages
          enum:
            - pages
        page:
          type: integer
          example: 1
        next:
          type: string
          format: uri
          description: A link to the next page of results. Omitted or `null` on the last page, depending on the list. Some lists never include `next` or `prev`, so compare `page` with `total_pages` to tell whether more pages remain.
          nullable: true
        prev:
          type: string
          format: uri
          description: A link to the previous page of results. Omitted on the first page.
          nullable: true
        per_page:
          type: integer
          example: 50
        total_pages:
          type: integer
          example: 1
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
```
