civai-co Publisher Calendars API

The publisher-calendars API from civai-co — 16 operation(s) for publisher-calendars.

Operations 24

GET /api/publisher/content-calendars Publisher List Calendars From Token #
POST /api/publisher/content-calendars Publisher Create Calendar From Token #
GET /api/publisher/projects/{project_id}/content-calendars Publisher List Calendars #
POST /api/publisher/projects/{project_id}/content-calendars Publisher Create Calendar #
GET /api/publisher/content-calendars/{cal_id} Publisher Get Calendar From Token #
PATCH /api/publisher/content-calendars/{cal_id} Publisher Patch Calendar From Token #
DELETE /api/publisher/content-calendars/{cal_id} Publisher Delete Calendar From Token #
GET /api/publisher/projects/{project_id}/content-calendars/{cal_id} Publisher Get Calendar #
PATCH /api/publisher/projects/{project_id}/content-calendars/{cal_id} Publisher Patch Calendar #
DELETE /api/publisher/projects/{project_id}/content-calendars/{cal_id} Publisher Delete Calendar #
POST /api/publisher/content-calendars/{cal_id}/rows Publisher Create Row From Token #
POST /api/publisher/projects/{project_id}/content-calendars/{cal_id}/rows Publisher Create Row #
PATCH /api/publisher/content-calendars/{cal_id}/rows/{row_id} Publisher Patch Row From Token #
DELETE /api/publisher/content-calendars/{cal_id}/rows/{row_id} Publisher Delete Row From Token #
PATCH /api/publisher/projects/{project_id}/content-calendars/{cal_id}/rows/{row_id} Publisher Patch Row #
DELETE /api/publisher/projects/{project_id}/content-calendars/{cal_id}/rows/{row_id} Publisher Delete Row #
POST /api/publisher/content-calendars/{cal_id}/rows/bulk-delete Publisher Bulk Delete Rows From Token #
POST /api/publisher/projects/{project_id}/content-calendars/{cal_id}/rows/bulk-delete Publisher Bulk Delete Rows #
POST /api/publisher/content-calendars/{cal_id}/rows/{row_id}/schedule Publisher Schedule Row From Token #
POST /api/publisher/projects/{project_id}/content-calendars/{cal_id}/rows/{row_id}/schedule Publisher Schedule Row #
POST /api/publisher/content-calendars/{cal_id}/rows/{row_id}/unschedule Publisher Unschedule Row From Token #
POST /api/publisher/projects/{project_id}/content-calendars/{cal_id}/rows/{row_id}/unschedule Publisher Unschedule Row #
POST /api/publisher/content-calendars/{cal_id}/schedule-all Publisher Schedule All From Token #
POST /api/publisher/projects/{project_id}/content-calendars/{cal_id}/schedule-all Publisher Schedule All #

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/civai-co:civai-co-publisher-calendars-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

civai-co-publisher-calendars-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Civai Co Publisher Calendars API
  version: 1.0.0
  description: 'Operations tagged publisher-calendars across 2 of this provider''s published API definitions: audience-resolver-api.civai.co-openapi.json, audience-resolver-api.civai.co-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: publisher-calendars
paths:
  /api/publisher/content-calendars:
    get:
      tags:
      - publisher-calendars
      summary: Publisher List Calendars From Token
      operationId: publisher_list_calendars_from_token_api_publisher_content_calendars_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
    post:
      tags:
      - publisher-calendars
      summary: Publisher Create Calendar From Token
      operationId: publisher_create_calendar_from_token_api_publisher_content_calendars_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublisherCreateCalendarRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/projects/{project_id}/content-calendars:
    get:
      tags:
      - publisher-calendars
      summary: Publisher List Calendars
      operationId: publisher_list_calendars_api_publisher_projects__project_id__content_calendars_get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - publisher-calendars
      summary: Publisher Create Calendar
      operationId: publisher_create_calendar_api_publisher_projects__project_id__content_calendars_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublisherCreateCalendarRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/content-calendars/{cal_id}:
    get:
      tags:
      - publisher-calendars
      summary: Publisher Get Calendar From Token
      operationId: publisher_get_calendar_from_token_api_publisher_content_calendars__cal_id__get
      parameters:
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - publisher-calendars
      summary: Publisher Patch Calendar From Token
      operationId: publisher_patch_calendar_from_token_api_publisher_content_calendars__cal_id__patch
      parameters:
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchCalendarRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - publisher-calendars
      summary: Publisher Delete Calendar From Token
      operationId: publisher_delete_calendar_from_token_api_publisher_content_calendars__cal_id__delete
      parameters:
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/projects/{project_id}/content-calendars/{cal_id}:
    get:
      tags:
      - publisher-calendars
      summary: Publisher Get Calendar
      operationId: publisher_get_calendar_api_publisher_projects__project_id__content_calendars__cal_id__get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - publisher-calendars
      summary: Publisher Patch Calendar
      operationId: publisher_patch_calendar_api_publisher_projects__project_id__content_calendars__cal_id__patch
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchCalendarRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - publisher-calendars
      summary: Publisher Delete Calendar
      operationId: publisher_delete_calendar_api_publisher_projects__project_id__content_calendars__cal_id__delete
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/content-calendars/{cal_id}/rows:
    post:
      tags:
      - publisher-calendars
      summary: Publisher Create Row From Token
      operationId: publisher_create_row_from_token_api_publisher_content_calendars__cal_id__rows_post
      parameters:
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRowRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/projects/{project_id}/content-calendars/{cal_id}/rows:
    post:
      tags:
      - publisher-calendars
      summary: Publisher Create Row
      operationId: publisher_create_row_api_publisher_projects__project_id__content_calendars__cal_id__rows_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRowRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/content-calendars/{cal_id}/rows/{row_id}:
    patch:
      tags:
      - publisher-calendars
      summary: Publisher Patch Row From Token
      operationId: publisher_patch_row_from_token_api_publisher_content_calendars__cal_id__rows__row_id__patch
      parameters:
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      - name: row_id
        in: path
        required: true
        schema:
          type: string
          title: Row Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchRowRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - publisher-calendars
      summary: Publisher Delete Row From Token
      operationId: publisher_delete_row_from_token_api_publisher_content_calendars__cal_id__rows__row_id__delete
      parameters:
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      - name: row_id
        in: path
        required: true
        schema:
          type: string
          title: Row Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/projects/{project_id}/content-calendars/{cal_id}/rows/{row_id}:
    patch:
      tags:
      - publisher-calendars
      summary: Publisher Patch Row
      operationId: publisher_patch_row_api_publisher_projects__project_id__content_calendars__cal_id__rows__row_id__patch
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      - name: row_id
        in: path
        required: true
        schema:
          type: string
          title: Row Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchRowRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - publisher-calendars
      summary: Publisher Delete Row
      operationId: publisher_delete_row_api_publisher_projects__project_id__content_calendars__cal_id__rows__row_id__delete
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      - name: row_id
        in: path
        required: true
        schema:
          type: string
          title: Row Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/content-calendars/{cal_id}/rows/bulk-delete:
    post:
      tags:
      - publisher-calendars
      summary: Publisher Bulk Delete Rows From Token
      operationId: publisher_bulk_delete_rows_from_token_api_publisher_content_calendars__cal_id__rows_bulk_delete_post
      parameters:
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteCalendarRowsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/projects/{project_id}/content-calendars/{cal_id}/rows/bulk-delete:
    post:
      tags:
      - publisher-calendars
      summary: Publisher Bulk Delete Rows
      operationId: publisher_bulk_delete_rows_api_publisher_projects__project_id__content_calendars__cal_id__rows_bulk_delete_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteCalendarRowsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/content-calendars/{cal_id}/rows/{row_id}/schedule:
    post:
      tags:
      - publisher-calendars
      summary: Publisher Schedule Row From Token
      operationId: publisher_schedule_row_from_token_api_publisher_content_calendars__cal_id__rows__row_id__schedule_post
      parameters:
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      - name: row_id
        in: path
        required: true
        schema:
          type: string
          title: Row Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/projects/{project_id}/content-calendars/{cal_id}/rows/{row_id}/schedule:
    post:
      tags:
      - publisher-calendars
      summary: Publisher Schedule Row
      operationId: publisher_schedule_row_api_publisher_projects__project_id__content_calendars__cal_id__rows__row_id__schedule_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      - name: row_id
        in: path
        required: true
        schema:
          type: string
          title: Row Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/content-calendars/{cal_id}/rows/{row_id}/unschedule:
    post:
      tags:
      - publisher-calendars
      summary: Publisher Unschedule Row From Token
      operationId: publisher_unschedule_row_from_token_api_publisher_content_calendars__cal_id__rows__row_id__unschedule_post
      parameters:
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      - name: row_id
        in: path
        required: true
        schema:
          type: string
          title: Row Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/projects/{project_id}/content-calendars/{cal_id}/rows/{row_id}/unschedule:
    post:
      tags:
      - publisher-calendars
      summary: Publisher Unschedule Row
      operationId: publisher_unschedule_row_api_publisher_projects__project_id__content_calendars__cal_id__rows__row_id__unschedule_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      - name: row_id
        in: path
        required: true
        schema:
          type: string
          title: Row Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/content-calendars/{cal_id}/schedule-all:
    post:
      tags:
      - publisher-calendars
      summary: Publisher Schedule All From Token
      operationId: publisher_schedule_all_from_token_api_publisher_content_calendars__cal_id__schedule_all_post
      parameters:
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/projects/{project_id}/content-calendars/{cal_id}/schedule-all:
    post:
      tags:
      - publisher-calendars
      summary: Publisher Schedule All
      operationId: publisher_schedule_all_api_publisher_projects__project_id__content_calendars__cal_id__schedule_all_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: cal_id
        in: path
        required: true
        schema:
          type: string
          title: Cal Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CreateRowRequest:
      properties:
        day:
          anyOf:
          - type: string
          - type: 'null'
          title: Day
        campaign_phase:
          anyOf:
          - type: string
          - type: 'null'
          title: Campaign Phase
        content_pillar:
          anyOf:
          - type: string
          - type: 'null'
          title: Content Pillar
        post_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Post Type
        creative_visual_direction:
          anyOf:
          - type: string
          - type: 'null'
          title: Creative Visual Direction
        creative_copy:
          anyOf:
          - type: string
          - type: 'null'
          title: Creative Copy
        caption:
          anyOf:
          - type: string
          - type: 'null'
          title: Caption
        cta:
          anyOf:
          - type: string
          - type: 'null'
          title: Cta
        hashtags:
          anyOf:
          - type: string
          - type: 'null'
          title: Hashtags
        basic_graphics:
          anyOf:
          - type: string
          - type: 'null'
          title: Basic Graphics
        scheduled_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Scheduled At
        target_platform:
          anyOf:
          - type: string
          - type: 'null'
          title: Target Platform
        target_account_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Target Account Id
        linked_asset_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Linked Asset Id
        targets:
          anyOf:
          - items:
              $ref: '#/components/schemas/RowTargetPayload'
            type: array
          - type: 'null'
          title: Targets
        all_channels:
          anyOf:
          - type: boolean
          - type: 'null'
          title: All Channels
      type: object
      title: CreateRowRequest
    RowTargetPayload:
      properties:
        platform:
          type: string
          title: Platform
        account_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Account Id
        scheduled_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Scheduled At
      type: object
      required:
      - platform
      title: RowTargetPayload
    PatchCalendarRequest:
      properties:
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        default_targets:
          anyOf:
          - items:
              $ref: '#/components/schemas/DefaultTarget'
            type: array
          - type: 'null'
          title: Default Targets
        default_post_times:
          anyOf:
          - additionalProperties:
              type: string
            type: object
          - type: 'null'
          title: Default Post Times
      type: object
      title: PatchCalendarRequest
    PatchRowRequest:
      properties:
        day:
          anyOf:
          - type: string
          - type: 'null'
          title: Day
        campaign_phase:
          anyOf:
          - type: string
          - type: 'null'
          title: Campaign Phase
        content_pillar:
          anyOf:
          - type: string
          - type: 'null'
          title: Content Pillar
        post_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Post Type
        creative_visual_direction:
          anyOf:
          - type: string
          - type: 'null'
          title: Creative Visual Direction
        creative_copy:
          anyOf:
          - type: string
          - type: 'null'
          title: Creative Copy
        caption:
          anyOf:
          - type: string
          - type: 'null'
          title: Caption
        cta:
          anyOf:
          - type: string
          - type: 'null'
          title: Cta
        hashtags:
          anyOf:
          - type: string
          - type: 'null'
          title: Hashtags
        basic_graphics:
          anyOf:
          - type: string
          - type: 'null'
          title: Basic Graphics
        scheduled_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Scheduled At
        target_platform:
          anyOf:
          - type: string
          - type: 'null'
          title: Target Platform
        target_account_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Target Account Id
        linked_asset_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Linked Asset Id
        schedule_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Schedule Status
        targets:
          anyOf:
          - items:
              $ref: '#/components/schemas/RowTargetPayload'
            type: array
          - type: 'null'
          title: Targets
        all_channels:
          anyOf:
          - type: boolean
          - type: 'null'
          title: All Channels
        post_format:
          anyOf:
          - type: string
          - type: 'null'
          title: Post Format
      type: object
      title: PatchRowRequest
    DefaultTarget:
      properties:
        platform:
          type: string
          title: Platform
        account_id:
          type: string
          title: Account Id
      type: object
      required:
      - platform
      - account_id
      title: DefaultTarget
    DeleteCalendarRowsRequest:
      properties:
        row_ids:
          items:
            type: string
          type: array
          minItems: 1
          title: Row Ids
      type: object
      required:
      - row_ids
      title: DeleteCalendarRowsRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    PublisherCreateCalendarRequest:
      properties:
        title:
          type: string
          title: Title
        source:
          type: string
          pattern: ^(blank|import_md|import_pdf|import_xlsx|import_gsheet|import_webpage|nova_mcp)$
          title: Source
        markdown_body:
          anyOf:
          - type: string
          - type: 'null'
          title: Markdown Body
        rows:
          anyOf:
          - items:
              additionalProperties:
                type: string
              type: object
            type: array
          - type: 'null'
          title: Rows
        default_targets:
          items:
            $ref: '#/components/schemas/DefaultTarget'
          type: array
          title: Default Targets
        nova_preview_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Nova Preview Id
        pdf_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Pdf Url
        campaign_pack_json:
          anyOf:
          - type: string
          - type: 'null'
          title: Campaign Pack Json
        square_rows:
          anyOf:
          - items:
              additionalProperties: true
              type: object
            type: array
          - type: 'null'
          title: Square Rows
        default_post_times:
          anyOf:
          - additionalProperties:
              type: string
            type: object
          - type: 'null'
          title: Default Post Times
        project_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Project Id
      type: object
      required:
      - title
      - source
      title: PublisherCreateCalendarRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
x-refined-from:
- audience-resolver-api.civai.co-openapi.json
- audience-resolver-api.civai.co-openapi.json