Rankability Campaigns API

Client campaign records: context, log entries, snapshots and attached documents.

GitHub OpenAPI

Operations 11

GET /api/agent/v1/clients/{client_id}/campaigns List client campaign records #
POST /api/agent/v1/clients/{client_id}/campaigns Create a campaign #
GET /api/agent/v1/clients/{client_id}/campaigns/{campaign_id} Get a campaign summary #
PATCH /api/agent/v1/clients/{client_id}/campaigns/{campaign_id} Update a campaign #
POST /api/agent/v1/clients/{client_id}/campaigns/{campaign_id}/documents Attach an existing Knowledge source as `internal` or `client_facing` #
GET /api/agent/v1/clients/{client_id}/campaigns/{campaign_id}/log Page the campaign log #
POST /api/agent/v1/clients/{client_id}/campaigns/{campaign_id}/log Append a campaign log entry #
GET /api/agent/v1/clients/{client_id}/campaigns/{campaign_id}/snapshots List campaign snapshots #
POST /api/agent/v1/clients/{client_id}/campaigns/{campaign_id}/snapshots Save a campaign snapshot #
GET /api/agent/v1/clients/{client_id}/campaigns/{campaign_id}/snapshots/{snapshot_id} Get a full stored campaign snapshot #
GET /api/agent/v1/clients/{client_id}/campaigns/{campaign_id}/snapshots/compare Compare two snapshots #

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/rankability-com:rankability-com-campaigns-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

rankability-com-campaigns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rankability Agent Campaigns API
  version: 1.24.0
  description: 'REST API for programmatic SEO and AI search visibility work in Rankability: content jobs, AI and organic rank tracking, keyword research, page and site audits, clients and their Knowledge sources, crawling, and usage.


    Authenticate with an organization API key (`Authorization: Bearer rk_live_...`, created in Settings > API keys) or an OAuth 2.0 access token. Each operation lists the scopes it needs in `x-required-scopes` (all required) or `x-accepted-scopes` (any one is enough); an empty `x-required-scopes` with no `x-accepted-scopes` means any Agent API scope works.


    Errors use one shape: `{ "error": { "code", "message", "details" } }`. Every response carries `X-Request-Id`, `X-API-Version` and `X-RateLimit-*` headers. Call `GET /usage` before starting on-demand work.'
  contact:
    name: Rankability support
    url: https://help.rankability.com
  termsOfService: https://www.rankability.com/terms/
servers:
- url: https://app.rankability.com
  description: Production
security:
- ApiKeyAuth: []
- OAuth2: []
tags:
- name: Campaigns
  description: 'Client campaign records: context, log entries, snapshots and attached documents.'
paths:
  /api/agent/v1/clients/{client_id}/campaigns:
    get:
      operationId: get_clients_by_client_id_campaigns
      summary: List client campaign records
      description: 'List client campaign records (archived hidden unless `include_archived=true`)


        Required scope: `clients:read`.'
      tags:
      - Campaigns
      x-required-scopes:
      - clients:read
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - clients:read
      parameters:
      - name: client_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
    post:
      operationId: post_clients_by_client_id_campaigns
      summary: Create a campaign
      description: 'Create a campaign; `Idempotency-Key` required. Prompt set is `{tracker_cluster_id}` or `{tracker_project_ids}`; nothing is created or scanned


        Required scope: `clients:write`.'
      tags:
      - Campaigns
      x-required-scopes:
      - clients:write
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - clients:write
      parameters:
      - name: client_id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Optional. A stable key for this logical request so retries never repeat or double-charge the work.
        schema:
          type: string
          maxLength: 255
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
  /api/agent/v1/clients/{client_id}/campaigns/{campaign_id}:
    get:
      operationId: get_clients_by_client_id_campaigns_by_campaign_id
      summary: Get a campaign summary
      description: 'Compact summary; `log_limit` (0 to 50), `include_log_detail`. Report status needs `reporter:read`


        Required scope: `clients:read`.'
      tags:
      - Campaigns
      x-required-scopes:
      - clients:read
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - clients:read
      parameters:
      - name: client_id
        in: path
        required: true
        schema:
          type: string
      - name: campaign_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
    patch:
      operationId: patch_clients_by_client_id_campaigns_by_campaign_id
      summary: Update a campaign
      description: 'Patch fields; context lists replace only the lists provided; `Idempotency-Key` required


        Required scope: `clients:write`.'
      tags:
      - Campaigns
      x-required-scopes:
      - clients:write
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - clients:write
      parameters:
      - name: client_id
        in: path
        required: true
        schema:
          type: string
      - name: campaign_id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Optional. A stable key for this logical request so retries never repeat or double-charge the work.
        schema:
          type: string
          maxLength: 255
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
  /api/agent/v1/clients/{client_id}/campaigns/{campaign_id}/documents:
    post:
      operationId: post_clients_by_client_id_campaigns_by_campaign_id_documents
      summary: Attach an existing Knowledge source as `internal` or `client_facing`
      description: 'Attach an existing Knowledge source as `internal` or `client_facing`


        Required scope: `clients:write`.'
      tags:
      - Campaigns
      x-required-scopes:
      - clients:write
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - clients:write
      parameters:
      - name: client_id
        in: path
        required: true
        schema:
          type: string
      - name: campaign_id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Optional. A stable key for this logical request so retries never repeat or double-charge the work.
        schema:
          type: string
          maxLength: 255
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
  /api/agent/v1/clients/{client_id}/campaigns/{campaign_id}/log:
    get:
      operationId: get_clients_by_client_id_campaigns_by_campaign_id_log
      summary: Page the campaign log
      description: 'Page the log (`limit`, `before`, `kind`) or append an entry; resolve with `resolves_entry_id`


        Required scope: `clients:read`.'
      tags:
      - Campaigns
      x-required-scopes:
      - clients:read
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - clients:read
      parameters:
      - name: client_id
        in: path
        required: true
        schema:
          type: string
      - name: campaign_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
    post:
      operationId: post_clients_by_client_id_campaigns_by_campaign_id_log
      summary: Append a campaign log entry
      description: 'Page the log (`limit`, `before`, `kind`) or append an entry; resolve with `resolves_entry_id`


        Required scope: `clients:write`.'
      tags:
      - Campaigns
      x-required-scopes:
      - clients:write
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - clients:write
      parameters:
      - name: client_id
        in: path
        required: true
        schema:
          type: string
      - name: campaign_id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Optional. A stable key for this logical request so retries never repeat or double-charge the work.
        schema:
          type: string
          maxLength: 255
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
  /api/agent/v1/clients/{client_id}/campaigns/{campaign_id}/snapshots:
    get:
      operationId: get_clients_by_client_id_campaigns_by_campaign_id_snapshots
      summary: List campaign snapshots
      description: 'List snapshots with headline numbers, or save one (no scan, no sync, no usage). First-party totals match the SEO performance dashboard for `first_party_range`; each item reports `payload_version` and `first_party` (`basis`, `range`, `partial`, `caveats`). Version 1 snapshots used stored-row totals (`basis: "stored_rows"`) and are always partial


        Required scope: `clients:read`.'
      tags:
      - Campaigns
      x-required-scopes:
      - clients:read
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - clients:read
      parameters:
      - name: client_id
        in: path
        required: true
        schema:
          type: string
      - name: campaign_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
    post:
      operationId: post_clients_by_client_id_campaigns_by_campaign_id_snapshots
      summary: Save a campaign snapshot
      description: 'List snapshots with headline numbers, or save one (no scan, no sync, no usage). First-party totals match the SEO performance dashboard for `first_party_range`; each item reports `payload_version` and `first_party` (`basis`, `range`, `partial`, `caveats`). Version 1 snapshots used stored-row totals (`basis: "stored_rows"`) and are always partial


        Required scope: `clients:write` and `reporter:read`.'
      tags:
      - Campaigns
      x-required-scopes:
      - clients:write
      - reporter:read
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - clients:write
        - reporter:read
      parameters:
      - name: client_id
        in: path
        required: true
        schema:
          type: string
      - name: campaign_id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Optional. A stable key for this logical request so retries never repeat or double-charge the work.
        schema:
          type: string
          maxLength: 255
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
  /api/agent/v1/clients/{client_id}/campaigns/{campaign_id}/snapshots/{snapshot_id}:
    get:
      operationId: get_clients_by_client_id_campaigns_by_campaign_id_snapshots_by_snapshot_id
      summary: Get a full stored campaign snapshot
      description: 'Full stored snapshot payload


        Required scope: `clients:read` and `reporter:read`.'
      tags:
      - Campaigns
      x-required-scopes:
      - clients:read
      - reporter:read
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - clients:read
        - reporter:read
      parameters:
      - name: client_id
        in: path
        required: true
        schema:
          type: string
      - name: campaign_id
        in: path
        required: true
        schema:
          type: string
      - name: snapshot_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
  /api/agent/v1/clients/{client_id}/campaigns/{campaign_id}/snapshots/compare:
    get:
      operationId: get_clients_by_client_id_campaigns_by_campaign_id_snapshots_compare
      summary: Compare two snapshots
      description: 'Compare two snapshots (`before_id`, `after_id`; default baseline vs latest)


        Required scope: `clients:read`.'
      tags:
      - Campaigns
      x-required-scopes:
      - clients:read
      security:
      - ApiKeyAuth: []
      - OAuth2:
        - clients:read
      parameters:
      - name: client_id
        in: path
        required: true
        schema:
          type: string
      - name: campaign_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            X-API-Version:
              $ref: '#/components/headers/X-API-Version'
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/Error'
components:
  headers:
    X-RateLimit-Limit:
      description: Maximum requests in the current window.
      schema:
        type: integer
    X-RateLimit-Reset:
      description: Seconds until the window resets.
      schema:
        type: integer
    X-RateLimit-Remaining:
      description: Requests remaining in the current window.
      schema:
        type: integer
    X-Request-Id:
      description: Unique request id for tracing and support.
      schema:
        type: string
    X-API-Version:
      description: Agent API contract version.
      schema:
        type: string
  responses:
    BadRequest:
      description: Invalid input (`invalid_input`) or an operation not valid in the current state.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The credential lacks a required scope (`forbidden`), or the organization's plan does not include this (`plan_required`, `plan_limit_exceeded`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing, invalid, expired or revoked credentials (`unauthorized`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found or not owned by your organization (`not_found`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Too many requests (`rate_limit_exceeded`), on-demand usage paused (`usage_limit_reached`), Tracker busy (`capacity_reached`) or too many concurrent jobs (`concurrency_limit_reached`). Honor `Retry-After`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error:
      description: Error. See `error.code`; common codes include `insufficient_credits` (402), `conflict` (409) and `service_unavailable` (503).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              example: invalid_input
            message:
              type: string
            details:
              type: object
              additionalProperties: true
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: rk_live_ API key
      description: 'Organization API key sent as `Authorization: Bearer rk_live_...`. Create keys in Settings > API keys; each key carries its own scopes.'
    OAuth2:
      type: oauth2
      description: 'OAuth 2.0 authorization code flow with PKCE (S256), used by MCP clients and integrations. Dynamic client registration is available at /oauth/register; metadata at /.well-known/oauth-authorization-server. Send the access token as `Authorization: Bearer <token>`.'
      flows:
        authorizationCode:
          authorizationUrl: https://app.rankability.com/oauth/authorize
          tokenUrl: https://app.rankability.com/oauth/token
          refreshUrl: https://app.rankability.com/oauth/token
          scopes:
            copywriter:run: Create content
            copywriter:read: Read content
            reporter:read: Read reporter data
            reporter:run: Trigger scans
            reporter:write: Manage reporter projects
            prospect_scan:run: Run prospect visibility reports
            prospect_scan:read: Read prospect visibility reports
            researcher:run: Run keyword research
            researcher:read: Read research jobs & projects
            seo_research:run: Run SEO research
            seo_research:read: Read SEO research
            clients:read: Read workspaces
            clients:write: Create, update & delete workspaces
            connections:read: Read eligible provider properties and workspace connections
            connections:write: Link authorized provider properties to workspaces
            kb:read: Read knowledge base
            optimize:run: Run page optimization
            page_audit:read: Read page audits
            page_audit:write: Run page audits
            site-auditor:read: Read site audits
            site-auditor:write: Run site audits
            search_intelligence:query: Query search intelligence (Google + AI platforms)
            scrape:run: Scrape a page (SEO + AEO extraction)
            crawl:run: Crawl a site (bounded multi-page)
            extract:run: Extract structured data from a page
            prospector:read: Read Prospector lists & outreach items
            prospector:write: Manage Prospector lists & outreach items
            prospector:run: Run Prospector opportunity discovery
            backlinks:read: Read saved backlink profile evidence
            backlinks:run: Refresh backlink profile evidence
            gbp-audit:read: Read saved GBP audit evidence
            gbp-audit:run: Run connected Google Business Profile audits
            batch-url:read: Read saved Batch URL Analyzer runs
            routines:read: Read Automate settings and history
            routines:write: Manage Automate settings and recurring work
            publishing:read: Read publishing connections & receipts
            publishing:write: Create publishing drafts
            serena:ask: Consult Serena (read-only)