Narrareach Article briefs API

Plan long-form articles and have Narrareach write them into drafts in the writer's voice.

GitHub OpenAPI

Operations 4

GET /api/v1/article-briefs List article briefs #
POST /api/v1/article-briefs Generate article briefs #
GET /api/v1/article-briefs/{id} Get an article brief #
POST /api/v1/article-briefs/{id}/draft Queue an article draft #

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/narrareach-com:narrareach-com-article-briefs-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

narrareach-com-article-briefs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Narrareach Automation Article briefs API
  version: 1.1.0
  description: Scoped REST API for authenticated Narrareach agents and automations. Create tokens in Narrareach settings and grant only the permissions required by the client. 1.1.0 adds Note versions (/api/v1/notes/{id}/versions) and hashtag sets (/api/v1/notes/hashtag-sets), the article and Note request fields the API already accepted, the refresh parameter on LinkedIn Article destinations, Stats engagement-peak basis and benchmark fields, the outbound webhooks payloads, and a list of error codes (components.x-error-codes). 429 is now declared only on the operations that can return it.
  contact:
    name: Narrareach Support
    url: https://www.narrareach.com/contact
servers:
- url: https://www.narrareach.com
  description: Production
tags:
- name: Article briefs
  description: Plan long-form articles and have Narrareach write them into drafts in the writer's voice.
paths:
  /api/v1/article-briefs:
    get:
      tags:
      - Article briefs
      summary: List article briefs
      description: The token user's article briefs from the last 14 days, newest first, plus any older brief with a draft, each with its draft status (IDEA, QUEUED, WRITING, READY or FAILED), and draftAllowance for this month. Requires research:read or research:write, a paid plan, and article briefs on the plan (Revenue Writer and above).
      operationId: listArticleBriefs
      security:
      - scopedBearerToken:
        - research:read
      - scopedBearerToken:
        - research:write
      responses:
        '200':
          description: The writer's briefs and this month's draft allowance.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArticleBriefList'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '500':
          $ref: '#/components/responses/InternalError'
    post:
      tags:
      - Article briefs
      summary: Generate article briefs
      description: 'Plans 3 or 5 long-form articles for the token user: a working title, the question each answers, why now, the pillar, a 4 to 6 section outline, and evidence links. source topics builds on timely topics in their pillars, profile on their pillars, niche and past articles, own on the topic you send. Briefs use the writer''s voice and add no facts beyond their material and the evidence. Takes about 20 seconds. When briefs is empty, emptyReason is no_topics (nothing timely right now; try profile) or no_usable_briefs (try again). Briefs are free, 10 runs a day; each call spends 5 units of the per-user rate-limit budget shared with MCP. Requires research:write, a paid plan, and article briefs on the plan (Revenue Writer and above).'
      operationId: generateArticleBriefs
      security:
      - scopedBearerToken:
        - research:write
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateArticleBriefsRequest'
      responses:
        '200':
          description: The new briefs, or none with emptyReason.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArticleBriefRun'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          description: 'DAILY_LIMIT_REACHED: 10 brief runs today. RESEARCH_RATE_LIMITED: the per-user window shared with MCP is spent (each call costs 5 units); wait Retry-After seconds.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          description: 'TEMPORARILY_UNAVAILABLE: briefs could not be generated; retry in a minute. RESEARCH_RATE_LIMIT_UNAVAILABLE: the allowance could not be checked.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/v1/article-briefs/{id}:
    get:
      tags:
      - Article briefs
      summary: Get an article brief
      description: One brief and its draft status. After queueing a draft, poll this about every 30 seconds until status is READY (draftUrl opens the draft in Narrareach) or FAILED (failureCode says why; queue it again). A draft usually takes 1 to 3 minutes. Requires research:read or research:write.
      operationId: getArticleBrief
      security:
      - scopedBearerToken:
        - research:read
      - scopedBearerToken:
        - research:write
      parameters:
      - name: id
        in: path
        required: true
        description: A brief id from generate or list.
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: The brief.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArticleBrief'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '500':
          $ref: '#/components/responses/InternalError'
  /api/v1/article-briefs/{id}/draft:
    post:
      tags:
      - Article briefs
      summary: Queue an article draft
      description: 'Has Narrareach write the brief into a full first draft in the writer''s voice, in the background. It is saved to their Drafts as an article and the writer gets an email when it is ready; poll GET /api/v1/article-briefs/{id}. Where the piece needs the writer''s own experience or numbers, the draft leaves a marked [Your experience: …] prompt instead of inventing them. Each draft counts toward the plan''s monthly allowance (8 on Revenue Writer, 30 on Full Agentic); a failed draft does not count and can be queued again. Each call spends 5 units of the per-user rate-limit budget shared with MCP. Requires research:write.'
      operationId: queueArticleDraft
      security:
      - scopedBearerToken:
        - research:write
      parameters:
      - name: id
        in: path
        required: true
        description: A brief id from generate or list.
        schema:
          type: string
          minLength: 1
      responses:
        '202':
          description: Queued. Poll the brief until READY.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArticleDraftQueued'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: 'CONFLICT: the brief already has a draft queued, being written or ready.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: 'MONTHLY_ALLOWANCE_USED: this month''s drafts are used. RESEARCH_RATE_LIMITED: the per-user window shared with MCP is spent (each call costs 5 units); wait Retry-After seconds.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          description: 'RESEARCH_RATE_LIMIT_UNAVAILABLE: the allowance could not be checked; retry after Retry-After seconds.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    ArticleBriefList:
      type: object
      required:
      - briefs
      - draftAllowance
      properties:
        briefs:
          type: array
          items:
            $ref: '#/components/schemas/ArticleBrief'
        draftAllowance:
          $ref: '#/components/schemas/DraftAllowance'
    DraftAllowance:
      type: object
      required:
      - limit
      - used
      - resetsAt
      properties:
        limit:
          type: integer
        used:
          type: integer
        resetsAt:
          type: string
          format: date-time
    GenerateArticleBriefsRequest:
      type: object
      required:
      - source
      additionalProperties: false
      properties:
        source:
          type: string
          enum:
          - topics
          - profile
          - own
        count:
          type: integer
          enum:
          - 3
          - 5
          default: 3
        pillarId:
          type: string
          minLength: 1
          maxLength: 120
          description: A pillar id from GET /api/v1/topics, to plan for one pillar.
        topic:
          type: string
          maxLength: 200
          description: Required when source is own.
    ArticleBriefRun:
      type: object
      required:
      - batchId
      - briefs
      - emptyReason
      properties:
        batchId:
          type: string
        briefs:
          type: array
          items:
            $ref: '#/components/schemas/ArticleBrief'
        emptyReason:
          type:
          - string
          - 'null'
          enum:
          - no_topics
          - no_usable_briefs
          - null
    ArticleBrief:
      type: object
      required:
      - id
      - batchId
      - source
      - title
      - question
      - whyNow
      - pillar
      - outline
      - evidence
      - status
      - draftId
      - draftUrl
      - failureCode
      - createdAt
      - expiresAt
      properties:
        id:
          type: string
        batchId:
          type: string
        source:
          type: string
          enum:
          - topics
          - profile
          - own
        title:
          type: string
        question:
          type: string
          description: The question the article answers for the reader.
        whyNow:
          type: string
        pillar:
          type:
          - string
          - 'null'
        outline:
          type: array
          items:
            type: object
            required:
            - heading
            - note
            properties:
              heading:
                type: string
              note:
                type: string
        evidence:
          type: array
          items:
            type: object
            required:
            - title
            - url
            - outlet
            - publishedAt
            properties:
              title:
                type: string
              url:
                type:
                - string
                - 'null'
              outlet:
                type:
                - string
                - 'null'
              publishedAt:
                type:
                - string
                - 'null'
        status:
          type: string
          enum:
          - IDEA
          - QUEUED
          - WRITING
          - READY
          - FAILED
        draftId:
          type:
          - string
          - 'null'
        draftUrl:
          type:
          - string
          - 'null'
          description: Opens the draft in Narrareach once status is READY.
        failureCode:
          type:
          - string
          - 'null'
          enum:
          - GENERATION_FAILED
          - QUALITY_FAILED
          - SAVE_FAILED
          - STALLED
          - null
        createdAt:
          type: string
          format: date-time
        expiresAt:
          type: string
          format: date-time
    ApiError:
      type: object
      required:
      - error
      properties:
        code:
          type: string
          deprecated: true
          description: Compatibility alias for error.code. New clients should use error.code.
        message:
          type: string
          deprecated: true
          description: Compatibility alias for error.message. New clients should use error.message.
        resolution:
          type: string
          deprecated: true
          description: Compatibility alias for error.resolution. New clients should use error.resolution.
        error:
          type: object
          required:
          - code
          - message
          - resolution
          properties:
            code:
              type: string
              example: TOKEN_MISSING_SCOPE
              description: Stable error.code values. components.x-error-codes lists the codes the API returns, with HTTP status and the operations that return each; new codes may be added, so treat an unlisted code by its HTTP status.
            message:
              type: string
              example: This API token does not include the notes:write permission.
            resolution:
              type: string
              example: Create a token with notes:write and retry the request.
            details:
              description: Optional validation or recovery details.
    ArticleDraftQueued:
      type: object
      required:
      - brief
      - draftAllowance
      properties:
        brief:
          $ref: '#/components/schemas/ArticleBrief'
        draftAllowance:
          $ref: '#/components/schemas/DraftAllowance'
  responses:
    NotFound:
      description: The requested resource or API route does not exist.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    BadRequest:
      description: The request is malformed or failed validation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    PaymentRequired:
      description: The account needs an active subscription or a plan with Automation API access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    InternalError:
      description: The request could not be completed safely.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Unauthorized:
      description: The bearer token is missing, invalid, revoked, or expired.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Conflict:
      description: The request conflicts with current resource or idempotency state. Reply delivery may return REPLY_NOT_DELIVERED or DELIVERY_UNCONFIRMED; the latter requires checking the provider thread before recovery.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Forbidden:
      description: The token is valid but lacks the required scope or workspace role.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    scopedBearerToken:
      type: http
      scheme: bearer
      bearerFormat: Narrareach automation token
      description: 'Send `Authorization: Bearer nrr_api_…`. Tokens are user-created and restricted to the operation scopes listed in each Security Requirement Object; a token needs any one of the scopes an operation lists. New tokens get every scope unless you choose fewer. A token stored with no scopes (an older token) is accepted for every operation. A token whose scopes were chosen does not gain scopes added later; create a new token to use them.'
      x-available-scopes:
        notes:read: Read Notes, Note operation state, and stored Stats insights.
        notes:write: Create, update, schedule, publish, and delete Notes.
        articles:write: Create, schedule, reschedule, and cancel articles.
        activity:read: Read connected Substack reader activity.
        activity:write: Reply to and triage connected Substack reader activity.
        webhooks:write: 'Reserved. No /api/v1 operation requires it yet: webhook endpoints are registered in Narrareach Settings → Integrations → REST API & webhooks, not with a token.'
        research:read: Read transcripts that were already requested (GET /api/v1/transcripts/{id}) and list topic suggestions (GET /api/v1/topics). Does not use the transcript allowance.
        research:write: Request transcripts of YouTube videos, podcast episodes, and audio files (POST /api/v1/transcripts), which uses the daily transcript allowance. Also reads them.
externalDocs:
  description: Connector and API setup
  url: https://www.narrareach.com/api-docs