CortexPlus Context Packs API

The Context Packs API from CortexPlus — 2 operation(s) for context packs.

GitHub OpenAPI

Operations 3

GET /v1/context-packs List context packs #
POST /v1/context-packs Save a context pack #
POST /v1/context-packs/resume Resume a context pack #

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-context-packs-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-context-packs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cortexplus Io Context Packs API
  version: 1.0.0
  description: 'Operations tagged Context Packs 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: Context Packs
paths:
  /v1/context-packs:
    get:
      operationId: listContextPacks
      summary: List context packs
      description: List saved AI session handoff summaries (context packs), optionally filtered by platform.
      x-openai-isConsequential: false
      parameters:
      - name: platform
        in: query
        description: Platform filter, e.g. chatgpt or claude.
        schema:
          type: string
      - name: limit
        in: query
        description: Maximum number of packs to return.
        schema:
          type: integer
          minimum: 1
          maximum: 50
          default: 20
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - packs
                properties:
                  packs:
                    type: array
                    items:
                      type: object
                      required:
                      - id
                      - title
                      - platform
                      - url
                      - savedAt
                      properties:
                        id:
                          type: string
                        title:
                          type: string
                        platform:
                          type:
                          - string
                          - 'null'
                        url:
                          type: string
                          format: uri
                        savedAt:
                          type:
                          - string
                          - 'null'
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Context Packs
    post:
      operationId: saveContextPack
      summary: Save a context pack
      description: Save an AI session handoff summary to CortexPlus memory. Secrets in the content are replaced by placeholders before storing; the secret values are never persisted. Requires the cortex.write scope.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - content
              - platform
              - key
              properties:
                content:
                  type: string
                  description: Handoff summary in Markdown.
                platform:
                  type: string
                  description: AI platform that wrote the summary, e.g. chatgpt or claude.
                key:
                  type: string
                  description: Short stable slug for the topic. Sending the same platform and key again updates the pack instead of creating another.
                title:
                  type: string
                model:
                  type: string
                messageCount:
                  type: integer
                  minimum: 0
                  maximum: 100000
                tags:
                  type: array
                  items:
                    type: string
      responses:
        '201':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - id
                - title
                - url
                - created
                - redactions
                properties:
                  id:
                    type: string
                  title:
                    type: string
                  url:
                    type: string
                    format: uri
                  created:
                    type: boolean
                  redactions:
                    type: array
                    items:
                      type: object
                      required:
                      - kind
                      - placeholder
                      - count
                      properties:
                        kind:
                          type: string
                        placeholder:
                          type: string
                        count:
                          type: integer
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Context Packs
    servers:
    - url: https://api.cortexplus.io
  /v1/context-packs/resume:
    post:
      operationId: resumeContextPack
      summary: Resume a context pack
      description: Load a saved context pack by id or by semantic query to resume work started in another AI conversation.
      x-openai-isConsequential: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                query:
                  type: string
                  description: Topic to find the pack by, in natural language.
                id:
                  type: string
                  description: Pack id, as returned by listContextPacks.
                maxChars:
                  type: integer
                  minimum: 500
                  maximum: 20000
                  default: 6000
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - text
                - pack
                - matches
                properties:
                  text:
                    type: string
                  pack:
                    type:
                    - object
                    - 'null'
                    properties:
                      id:
                        type: string
                      title:
                        type: string
                      url:
                        type: string
                        format: uri
                  matches:
                    type: integer
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Context Packs
    servers:
    - url: https://api.cortexplus.io
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
x-refined-from:
- cortexplus-io-openapi.json
- cortexplus-io-openapi.yml