Canvas Smart Search API

The Smart Search API from Canvas — 1 operation(s) for smart search.

Operations 1

GET /v1/courses/{course_id}/smartsearch Search course content #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/canvas-smart-search-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

canvas-smart-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Canvas LMS REST Smart Search API
  version: v1
  summary: The complete Canvas LMS REST API, converted from the Swagger 1.2 documents Instructure publishes under https://canvas.instructure.com/doc/api/.
  description: The Canvas LMS REST API covers courses, assignments, quizzes, grades, users, enrollments, accounts, files, modules, rubrics, submissions, SIS imports, LTI, analytics and account administration.
  contact:
    name: Instructure Canvas
    url: https://canvas.instructure.com/doc/api/
  license:
    name: AGPL-3.0
    url: https://github.com/instructure/canvas-lms/blob/master/LICENSE
servers:
- url: https://canvas.instructure.com/api
  description: Instructure-hosted Canvas (canvas.instructure.com)
- url: https://{canvas_host}/api
  description: Any Canvas instance; Canvas is multi-tenant and self-hostable, so the host is the institution's Canvas domain.
  variables:
    canvas_host:
      default: canvas.instructure.com
      description: Your institution's Canvas hostname, e.g. school.instructure.com
security:
- bearerAuth: []
- oauth2: []
tags:
- name: Smart Search
  x-resource: smart_search
  externalDocs:
    url: https://canvas.instructure.com/doc/api/smart_search.html
paths:
  /v1/courses/{course_id}/smartsearch:
    get:
      tags:
      - Smart Search
      operationId: search_course_content
      summary: Search course content
      description: Find course content using a meaning-based search
      parameters:
      - name: course_id
        in: path
        schema:
          type: string
        required: true
        description: ID
      - name: q
        in: query
        schema:
          type: string
        required: true
        description: The search query
      - name: filter
        in: query
        schema:
          type: array
          items:
            type: string
        required: false
        description: 'Types of objects to search. By default, all supported types are searched. Supported types

          include +pages+, +assignments+, +announcements+, and +discussion_topics+.'
      - name: include
        in: query
        schema:
          type: array
          items:
            type: string
            enum:
            - status
            - modules
        required: false
        description: 'Optional information to include with each search result:

          modules:: An array of module objects that the search result belongs to.

          status:: The published status for all results and the due_date for all assignments.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SearchResult'
      externalDocs:
        url: https://canvas.instructure.com/doc/api/smart_search.html
components:
  schemas:
    SearchResult:
      type: object
      properties:
        content_id:
          type: integer
          format: int64
          example: 2
          description: The ID of the matching object.
        content_type:
          type: string
          example: WikiPage
          description: The type of the matching object.
        title:
          type: string
          example: Nicolaus Copernicus
          description: The title of the matching object.
        body:
          type: string
          example: Nicolaus Copernicus was a Renaissance-era mathematician and astronomer who...
          description: The body of the matching object.
        html_url:
          type: string
          example: https://canvas.example.com/courses/123/pages/nicolaus-copernicus
          description: The Canvas URL of the matching object.
        distance:
          type: number
          example: '0.212'
          description: The distance between the search query and the result. Smaller numbers indicate closer matches.
      description: Reference to an object that matches a smart search
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Canvas OAuth2 access token sent as "Authorization: Bearer <token>". See https://canvas.instructure.com/doc/api/file.oauth.html'
    oauth2:
      type: oauth2
      description: Canvas OAuth2. See https://canvas.instructure.com/doc/api/file.oauth.html and https://canvas.instructure.com/doc/api/file.oauth_endpoints.html
      flows:
        authorizationCode:
          authorizationUrl: https://canvas.instructure.com/login/oauth2/auth
          tokenUrl: https://canvas.instructure.com/login/oauth2/token
          refreshUrl: https://canvas.instructure.com/login/oauth2/token
          scopes: {}
externalDocs:
  description: Canvas LMS REST API Documentation
  url: https://canvas.instructure.com/doc/api/
x-generated-from: https://canvas.instructure.com/doc/api/api-docs.json
x-provenance:
  method: derived
  derived_by: API Evangelist enrichment pipeline (Swagger 1.2 -> OpenAPI 3.1 conversion)
  source: openapi/_original/swagger-1.2/*.json (144 verbatim first-party Swagger 1.2 documents)
  source_url: https://canvas.instructure.com/doc/api/api-docs.json
  fetched: '2026-09-05'
  http_status: 200