CortexPlus Study API

The Study API from CortexPlus — 3 operation(s) for study.

GitHub OpenAPI

Operations 3

GET /v1/study/due List due flashcards #
POST /v1/study/review Review a flashcard #
POST /v1/study/quiz Generate a quiz #

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/cortexplus-io:cortexplus-io-study-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

cortexplus-io-study-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cortexplus Io Study API
  version: 1.0.0
  description: 'Operations tagged Study across 2 of this provider''s published API definitions: cortexplus-io-openapi.json, cortexplus-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.cortexplus.io
security:
- bearerAuth: []
tags:
- name: Study
paths:
  /v1/study/due:
    get:
      operationId: listDueFlashcards
      summary: List due flashcards
      description: List study flashcards due for review, oldest first.
      x-openai-isConsequential: false
      parameters:
      - name: subject
        in: query
        description: Subject name or slug (`materia:<slug>` tag) to filter by.
        schema:
          type: string
      - name: limit
        in: query
        description: Maximum number of flashcards to return.
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - items
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
                      description: Full node as returned by the CortexPlus backend.
                      properties:
                        ancestors:
                          type: array
                          items:
                            type: object
                            required:
                            - id
                            - title
                            - type
                            - tags
                            properties:
                              id:
                                type: string
                              title:
                                type: string
                              type:
                                type: string
                              tags:
                                type: array
                                items:
                                  type: string
                        interaction:
                          type: object
                          required:
                          - lastAt
                          - days
                          - answered
                          properties:
                            lastAt:
                              type:
                              - string
                              - 'null'
                              format: date-time
                            days:
                              type:
                              - integer
                              - 'null'
                            answered:
                              type: boolean
                        parent:
                          type: object
                          required:
                          - id
                          - title
                          - type
                          - tags
                          properties:
                            id:
                              type: string
                            title:
                              type: string
                            type:
                              type: string
                            tags:
                              type: array
                              items:
                                type: string
                        relevance:
                          type:
                          - object
                          - 'null'
                          description: 'Computed relevance (not stored): score 0-100, level, reason codes. null when no scorer applies.'
                          properties:
                            score:
                              type: integer
                              minimum: 0
                              maximum: 100
                            level:
                              type: string
                              enum:
                              - low
                              - normal
                              - high
                              - critical
                            reasons:
                              type: array
                              items:
                                type: string
                            snoozedUntil:
                              type:
                              - string
                              - 'null'
                              format: date
                            aiDelta:
                              type: integer
                              minimum: -20
                              maximum: 20
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Study
    servers:
    - url: https://api.cortexplus.io
  /v1/study/review:
    post:
      operationId: reviewFlashcard
      summary: Review a flashcard
      description: Apply an SM-2 grade to a flashcard and return it with the new schedule. Returns 404 when the card does not exist. Requires the cortex.write scope.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - cardId
              - grade
              properties:
                cardId:
                  type: string
                  description: Flashcard memory id.
                grade:
                  type: string
                  enum:
                  - again
                  - hard
                  - good
                  - easy
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - card
                properties:
                  card:
                    type: object
                    additionalProperties: true
                    description: Full node as returned by the CortexPlus backend.
                    properties:
                      ancestors:
                        type: array
                        items:
                          type: object
                          required:
                          - id
                          - title
                          - type
                          - tags
                          properties:
                            id:
                              type: string
                            title:
                              type: string
                            type:
                              type: string
                            tags:
                              type: array
                              items:
                                type: string
                      interaction:
                        type: object
                        required:
                        - lastAt
                        - days
                        - answered
                        properties:
                          lastAt:
                            type:
                            - string
                            - 'null'
                            format: date-time
                          days:
                            type:
                            - integer
                            - 'null'
                          answered:
                            type: boolean
                      parent:
                        type: object
                        required:
                        - id
                        - title
                        - type
                        - tags
                        properties:
                          id:
                            type: string
                          title:
                            type: string
                          type:
                            type: string
                          tags:
                            type: array
                            items:
                              type: string
                      relevance:
                        type:
                        - object
                        - 'null'
                        description: 'Computed relevance (not stored): score 0-100, level, reason codes. null when no scorer applies.'
                        properties:
                          score:
                            type: integer
                            minimum: 0
                            maximum: 100
                          level:
                            type: string
                            enum:
                            - low
                            - normal
                            - high
                            - critical
                          reasons:
                            type: array
                            items:
                              type: string
                          snoozedUntil:
                            type:
                            - string
                            - 'null'
                            format: date
                          aiDelta:
                            type: integer
                            minimum: -20
                            maximum: 20
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Study
    servers:
    - url: https://api.cortexplus.io
  /v1/study/quiz:
    post:
      operationId: createStudyQuiz
      summary: Generate a quiz
      description: Generate a multiple-choice quiz from the study material of a subject. Nothing is stored.
      x-openai-isConsequential: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - subject
              properties:
                subject:
                  type: string
                  description: Subject name or slug.
                count:
                  type: integer
                  minimum: 1
                  maximum: 10
                  default: 5
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - items
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      required:
                      - question
                      - options
                      - answerIndex
                      - explanation
                      - sourceId
                      properties:
                        question:
                          type: string
                        options:
                          type: array
                          items:
                            type: string
                        answerIndex:
                          type: integer
                        explanation:
                          type: string
                        sourceId:
                          type:
                          - string
                          - 'null'
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Study
    servers:
    - url: https://api.cortexplus.io
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
x-refined-from:
- cortexplus-io-openapi.json
- cortexplus-io-openapi.yml