civai-co Publisher Projects API

The publisher-projects API from civai-co — 3 operation(s) for publisher-projects.

Operations 6

GET /api/publisher/projects Publisher List Projects #
POST /api/publisher/projects Publisher Create Project #
GET /api/publisher/projects/{project_id} Publisher Get Project #
PUT /api/publisher/projects/{project_id} Publisher Update Project #
DELETE /api/publisher/projects/{project_id} Publisher Delete Project #
GET /api/publisher/projects/{project_id}/initialization-status Publisher Initialization Status #

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-projects-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-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Civai Co Publisher Projects API
  version: 1.0.0
  description: 'Operations tagged publisher-projects 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-projects
paths:
  /api/publisher/projects:
    get:
      tags:
      - publisher-projects
      summary: Publisher List Projects
      operationId: publisher_list_projects_api_publisher_projects_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ProjectResponse'
                type: array
                title: Response Publisher List Projects Api Publisher Projects Get
    post:
      tags:
      - publisher-projects
      summary: Publisher Create Project
      operationId: publisher_create_project_api_publisher_projects_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectCreate'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/projects/{project_id}:
    get:
      tags:
      - publisher-projects
      summary: Publisher Get Project
      operationId: publisher_get_project_api_publisher_projects__project_id__get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - publisher-projects
      summary: Publisher Update Project
      operationId: publisher_update_project_api_publisher_projects__project_id__put
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - publisher-projects
      summary: Publisher Delete Project
      operationId: publisher_delete_project_api_publisher_projects__project_id__delete
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/publisher/projects/{project_id}/initialization-status:
    get:
      tags:
      - publisher-projects
      summary: Publisher Initialization Status
      operationId: publisher_initialization_status_api_publisher_projects__project_id__initialization_status_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'
components:
  schemas:
    ProjectCreate:
      properties:
        name:
          type: string
          title: Name
          description: Project name
        description:
          type: string
          title: Description
          description: Product description
        keywords:
          anyOf:
          - type: string
          - type: 'null'
          title: Keywords
          description: Comma-separated keywords
        output_dir:
          anyOf:
          - type: string
          - type: 'null'
          title: Output Dir
          description: Output directory (auto-generated if not provided)
        days_back:
          type: integer
          title: Days Back
          description: How many days back to search
          default: 90
        min_query:
          type: integer
          title: Min Query
          description: Minimum number of queries
          default: 5
        max_query:
          type: integer
          title: Max Query
          description: Maximum number of queries
          default: 20
        require_product_name_in_queries:
          type: boolean
          title: Require Product Name In Queries
          description: Require product name in queries
          default: false
        report_only:
          type: boolean
          title: Report Only
          description: Report-only mode
          default: false
        promo:
          type: boolean
          title: Promo
          description: Promo mode
          default: false
        export_pdf:
          type: boolean
          title: Export Pdf
          description: Export PDF
          default: false
      type: object
      required:
      - name
      - description
      title: ProjectCreate
      description: Model for creating a new project.
    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
    ProjectUpdate:
      properties:
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        keywords:
          anyOf:
          - type: string
          - type: 'null'
          title: Keywords
        status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        config:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Config
      type: object
      title: ProjectUpdate
      description: Model for updating a project.
    ProjectResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        keywords:
          anyOf:
          - type: string
          - type: 'null'
          title: Keywords
        output_dir:
          anyOf:
          - type: string
          - type: 'null'
          title: Output Dir
        status:
          type: string
          title: Status
        created_at:
          type: string
          title: Created At
        updated_at:
          type: string
          title: Updated At
        config:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Config
        role:
          anyOf:
          - type: string
          - type: 'null'
          title: Role
          description: owner or member
          default: owner
        permissions:
          anyOf:
          - additionalProperties:
              type: boolean
            type: object
          - type: 'null'
          title: Permissions
          description: read/edit/create/delete flags for the current user
      type: object
      required:
      - id
      - name
      - description
      - keywords
      - output_dir
      - status
      - created_at
      - updated_at
      title: ProjectResponse
      description: Model for project response.
    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