CortexPlus Consolidation API

The Consolidation API from CortexPlus — 5 operation(s) for consolidation.

GitHub OpenAPI

Operations 6

GET /v1/consolidation Get the daily consolidation #
POST /v1/consolidation/run Run the daily consolidation #
GET /v1/consolidation/preferences Get consolidation preferences #
PATCH /v1/consolidation/preferences Update consolidation preferences #
POST /v1/consolidation/chat Add a turn to the consolidation conversation #
POST /v1/consolidation/undo Undo a consolidation action #

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-consolidation-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-consolidation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cortexplus Io Consolidation API
  version: 1.0.0
  description: 'Operations tagged Consolidation 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: Consolidation
paths:
  /v1/consolidation:
    get:
      operationId: getConsolidation
      summary: Get the daily consolidation
      description: Return the consolidation brief and conversation turns. Requires the Subscription plan.
      x-openai-isConsequential: false
      parameters:
      - name: day
        in: query
        schema:
          type: string
          format: date
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - day
                - status
                - brief
                - turns
                properties:
                  day:
                    type: string
                    format: date
                  status:
                    type: string
                    enum:
                    - ready
                    - running
                    - failed
                    - none
                  brief:
                    type:
                    - object
                    - 'null'
                    additionalProperties: true
                    description: Daily brief with generatedAt, summary, sections and questions.
                    properties:
                      day:
                        type: string
                        format: date
                      generatedAt:
                        type: string
                        format: date-time
                      summary:
                        type: string
                      sections:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              enum:
                              - priorities
                              - sales
                              - nutrition
                            title:
                              type: string
                            items:
                              type: array
                              items:
                                type: object
                                properties:
                                  nodeId:
                                    type:
                                    - string
                                    - 'null'
                                  title:
                                    type: string
                                  line:
                                    type: string
                                  level:
                                    type: string
                                    enum:
                                    - low
                                    - normal
                                    - high
                                    - critical
                                  score:
                                    type: integer
                                    minimum: 0
                                    maximum: 100
                                  reasons:
                                    type: array
                                    items:
                                      type: string
                                  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
                      questions:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            section:
                              type:
                              - string
                              - 'null'
                              enum:
                              - priorities
                              - sales
                              - nutrition
                              - null
                            nodeId:
                              type:
                              - string
                              - 'null'
                            kind:
                              type: string
                              enum:
                              - next_step
                              - status
                              - goal
                              - client_check
                              - free
                            text:
                              type: string
                  turns:
                    type: array
                    items:
                      type: object
                      required:
                      - id
                      - day
                      - createdAt
                      - transcript
                      - reply
                      - actions
                      properties:
                        id:
                          type: string
                        day:
                          type: string
                          format: date
                        createdAt:
                          type: string
                          format: date-time
                        transcript:
                          type: string
                        reply:
                          type: string
                        warning:
                          type: string
                        actions:
                          type: array
                          items:
                            type: object
                            required:
                            - id
                            - type
                            - status
                            - summary
                            - nodeId
                            - undoable
                            properties:
                              id:
                                type: string
                              type:
                                type: string
                              status:
                                type: string
                                enum:
                                - applied
                                - failed
                                - undone
                              summary:
                                type: string
                              nodeId:
                                type:
                                - string
                                - 'null'
                              undoable:
                                type: boolean
        '402':
          description: The account needs the Subscription plan.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    enum:
                    - subscription_required
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Consolidation
    servers:
    - url: https://api.cortexplus.io
  /v1/consolidation/run:
    post:
      operationId: runConsolidation
      summary: Run the daily consolidation
      description: The operation is idempotent per day; force regenerates the consolidation. Requires the Subscription plan. Requires the cortex.write scope.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                force:
                  type: boolean
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - day
                - status
                - brief
                - turns
                properties:
                  day:
                    type: string
                    format: date
                  status:
                    type: string
                    enum:
                    - ready
                    - running
                    - failed
                    - none
                  brief:
                    type:
                    - object
                    - 'null'
                    additionalProperties: true
                    description: Daily brief with generatedAt, summary, sections and questions.
                    properties:
                      day:
                        type: string
                        format: date
                      generatedAt:
                        type: string
                        format: date-time
                      summary:
                        type: string
                      sections:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              enum:
                              - priorities
                              - sales
                              - nutrition
                            title:
                              type: string
                            items:
                              type: array
                              items:
                                type: object
                                properties:
                                  nodeId:
                                    type:
                                    - string
                                    - 'null'
                                  title:
                                    type: string
                                  line:
                                    type: string
                                  level:
                                    type: string
                                    enum:
                                    - low
                                    - normal
                                    - high
                                    - critical
                                  score:
                                    type: integer
                                    minimum: 0
                                    maximum: 100
                                  reasons:
                                    type: array
                                    items:
                                      type: string
                                  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
                      questions:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            section:
                              type:
                              - string
                              - 'null'
                              enum:
                              - priorities
                              - sales
                              - nutrition
                              - null
                            nodeId:
                              type:
                              - string
                              - 'null'
                            kind:
                              type: string
                              enum:
                              - next_step
                              - status
                              - goal
                              - client_check
                              - free
                            text:
                              type: string
                  turns:
                    type: array
                    items:
                      type: object
                      required:
                      - id
                      - day
                      - createdAt
                      - transcript
                      - reply
                      - actions
                      properties:
                        id:
                          type: string
                        day:
                          type: string
                          format: date
                        createdAt:
                          type: string
                          format: date-time
                        transcript:
                          type: string
                        reply:
                          type: string
                        warning:
                          type: string
                        actions:
                          type: array
                          items:
                            type: object
                            required:
                            - id
                            - type
                            - status
                            - summary
                            - nodeId
                            - undoable
                            properties:
                              id:
                                type: string
                              type:
                                type: string
                              status:
                                type: string
                                enum:
                                - applied
                                - failed
                                - undone
                              summary:
                                type: string
                              nodeId:
                                type:
                                - string
                                - 'null'
                              undoable:
                                type: boolean
        '402':
          description: The account needs the Subscription plan.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    enum:
                    - subscription_required
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Consolidation
    servers:
    - url: https://api.cortexplus.io
  /v1/consolidation/preferences:
    get:
      operationId: getConsolidationPreferences
      summary: Get consolidation preferences
      description: Return the daily consolidation schedule. Requires the Subscription plan.
      x-openai-isConsequential: false
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - enabled
                - time
                - digestTime
                properties:
                  enabled:
                    type: boolean
                  time:
                    type: string
                    pattern: ^([01]\d|2[0-3]):[0-5]\d$
                  digestTime:
                    type: string
                    pattern: ^([01]\d|2[0-3]):[0-5]\d$
        '402':
          description: The account needs the Subscription plan.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    enum:
                    - subscription_required
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Consolidation
    patch:
      operationId: updateConsolidationPreferences
      summary: Update consolidation preferences
      description: Merge the supplied schedule preferences. Requires the Subscription plan. Requires the cortex.write scope.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                enabled:
                  type: boolean
                time:
                  type: string
                  pattern: ^([01]\d|2[0-3]):[0-5]\d$
                digestTime:
                  type: string
                  pattern: ^([01]\d|2[0-3]):[0-5]\d$
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - enabled
                - time
                - digestTime
                properties:
                  enabled:
                    type: boolean
                  time:
                    type: string
                    pattern: ^([01]\d|2[0-3]):[0-5]\d$
                  digestTime:
                    type: string
                    pattern: ^([01]\d|2[0-3]):[0-5]\d$
        '402':
          description: The account needs the Subscription plan.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    enum:
                    - subscription_required
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Consolidation
    servers:
    - url: https://api.cortexplus.io
  /v1/consolidation/chat:
    post:
      operationId: chatConsolidation
      summary: Add a turn to the consolidation conversation
      description: Send text or audio to discuss the daily brief. Requires the Subscription plan. Requires the cortex.write scope.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                day:
                  type: string
                  format: date
                text:
                  type: string
                  minLength: 1
                  maxLength: 4000
                questionId:
                  type: string
                  minLength: 1
                  maxLength: 120
                audio:
                  type: object
                  additionalProperties: false
                  required:
                  - key
                  properties:
                    key:
                      type: string
                      description: Upload key from POST /v1/uploads, as with audio captures.
                    contentType:
                      type: string
                      pattern: ^audio/
                    durationSeconds:
                      type: number
                      minimum: 0
              oneOf:
              - required:
                - text
                not:
                  required:
                  - audio
              - required:
                - audio
                not:
                  required:
                  - text
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - id
                - day
                - createdAt
                - transcript
                - reply
                - actions
                properties:
                  id:
                    type: string
                  day:
                    type: string
                    format: date
                  createdAt:
                    type: string
                    format: date-time
                  transcript:
                    type: string
                  reply:
                    type: string
                  warning:
                    type: string
                  actions:
                    type: array
                    items:
                      type: object
                      required:
                      - id
                      - type
                      - status
                      - summary
                      - nodeId
                      - undoable
                      properties:
                        id:
                          type: string
                        type:
                          type: string
                        status:
                          type: string
                          enum:
                          - applied
                          - failed
                          - undone
                        summary:
                          type: string
                        nodeId:
                          type:
                          - string
                          - 'null'
                        undoable:
                          type: boolean
        '402':
          description: The account needs the Subscription plan.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    enum:
                    - subscription_required
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Consolidation
    servers:
    - url: https://api.cortexplus.io
  /v1/consolidation/undo:
    post:
      operationId: undoConsolidationAction
      summary: Undo a consolidation action
      description: Undo a reversible action from a conversation turn. Requires the Subscription plan. Requires the cortex.write scope.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - actionId
              properties:
                actionId:
                  type: string
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                - action
                properties:
                  action:
                    type: object
                    required:
                    - id
                    - type
                    - status
                    - summary
                    - nodeId
                    - undoable
                    properties:
                      id:
                        type: string
                      type:
                        type: string
                      status:
                        type: string
                        enum:
                        - applied
                        - failed
                        - undone
                      summary:
                        type: string
                      nodeId:
                        type:
                        - string
                        - 'null'
                      undoable:
                        type: boolean
        '402':
          description: The account needs the Subscription plan.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    enum:
                    - subscription_required
        default:
          description: Request failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  field:
                    type: string
                required:
                - error
      tags:
      - Consolidation
    servers:
    - url: https://api.cortexplus.io
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
x-refined-from:
- cortexplus-io-openapi.json
- cortexplus-io-openapi.yml