# 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.15/rest-api/api.intercom.io.yaml

```yaml
openapi: 3.0.1
info:
  title: Intercom API
  version: '2.15'
  description: This is a subset of the full specification, limited to the `internal_article_search_response` schema.
  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:
        type:
          type: string
          description: The type of object - `internal_article`.
          enum:
            - internal_article
          default: internal_article
          example: internal_article
        id:
          type: string
          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
        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.
          example: en
    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
        data:
          type: object
          description: An object containing the results of the search.
          properties:
            internal_articles:
              type: array
              description: An array of Internal Article objects
              items:
                $ref: '#/components/schemas/internal_article'
        pages:
          $ref: '#/components/schemas/cursor_pages'
    cursor_pages:
      title: Cursor based pages
      type: object
      description: |
        Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data.
        A "cursor" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or "pages" as needed.
      nullable: true
      properties:
        type:
          type: string
          description: the type of object `pages`.
          example: pages
          enum:
            - pages
        page:
          type: integer
          description: The current page
          example: 1
        next:
          $ref: '#/components/schemas/starting_after_paging'
        per_page:
          type: integer
          description: Number of results per page
          example: 2
        total_pages:
          type: integer
          description: Total number of pages
          example: 13
    starting_after_paging:
      title: 'Pagination: Starting After'
      type: object
      nullable: true
      properties:
        per_page:
          type: integer
          description: The number of results to fetch per page.
          example: 2
        starting_after:
          type: string
          description: The cursor to use in the next request to get the next page of results.
          nullable: true
          example: your-cursor-from-response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
```
