AutoContent Platform API v1

The current AutoContent product: a Project-centred, scope-based REST API that turns a website, reusable Knowledge or a bounded topic into first-class content Assets — articles, lead magnets, ebooks, slides, infographics, quizzes, podcast episodes and five video products. 55 operations across 39 paths, prepaid USD billing quoted by a non-consuming preview endpoint and accepted under a caller-supplied max_cost_usd ceiling, cursor pagination, Idempotency-Key on keyed mutations, signed webhooks, and a hosted OAuth MCP service over the same scopes.

Operations 55

POST /projects Create a Project from one website URL #
GET /projects List Projects #
GET /projects/{id} Get a Project and analysis status #
PATCH /projects/{id} Edit and confirm a Project profile #
DELETE /projects/{id} Archive a Project and its Loops #
POST /projects/{id}/refresh Refresh Project website analysis #
POST /projects/{id}/collections Create a Source collection #
GET /projects/{id}/collections List Source collections #
PATCH /collections/{id} Rename a Source collection #
DELETE /collections/{id} Delete an empty Source collection #
POST /projects/{id}/sources Add a Project Source #
GET /projects/{id}/sources List Project Sources #
GET /sources/{id} Get Source ingestion status and revision #
DELETE /sources/{id} Remove a Source from future Generations #
POST /sources/{id}/refresh Refresh a remote Source #
GET /asset-types List first-class Asset contracts #
GET /models List pinnable models for an Asset type #
GET /voices List compatible stock and Project Voices #
POST /projects/{id}/voices Create a consented custom Project Voice #
GET /voices/{id} Get a visible Voice and readiness state #
DELETE /voices/{id} Revoke a custom Project Voice #
GET /avatars List compatible stock and Project Avatars #
POST /projects/{id}/avatars Create a consented custom Project Avatar #
GET /avatars/{id} Get a visible Avatar and readiness state #
DELETE /avatars/{id} Revoke a custom Project Avatar #
POST /generations/preview Validate, normalize, and quote a Generation #
POST /generations Reserve USD and create a Generation #
GET /generations List Generations #
GET /generations/{id} Get a Generation and its Assets #
POST /generations/{id}/edit/preview Validate and quote a full Asset edit from frozen Generation context #
POST /generations/{id}/edit Reserve USD and fully rerender selected Assets from frozen Generation context #
POST /generations/{id}/cancel Cancel undispatched Generation work #
GET /assets List the Project Asset library #
GET /assets/{id} Get Asset detail and Artifacts #
POST /assets/{id}/feedback Record Asset usefulness feedback #
POST /content-loops Create and schedule a Content Loop #
GET /content-loops List Content Loops #
GET /content-loops/{id} Get a Content Loop #
PATCH /content-loops/{id} Update a Content Loop configuration #
DELETE /content-loops/{id} Archive a Content Loop #
POST /content-loops/{id}/run Start one immediate Content Loop Run #
GET /content-loops/{id}/runs List Content Loop Run history #
GET /content-loop-runs/{id} Get a Content Loop Run #
POST /content-loop-runs/{id}/feedback Record Content Loop Run topic feedback #
GET /account Get the current Platform account #
POST /api-keys Create a scoped Platform API key #
GET /api-keys List Platform API key metadata #
DELETE /api-keys/{id} Revoke a Platform API key #
GET /billing/usage Get prepaid usage and resource counters #
POST /billing/prepayment-session Create a prepaid Stripe Checkout session #
POST /webhooks Register a signed HTTPS webhook destination #
GET /webhooks List active webhook destinations #
DELETE /webhooks/{id} Revoke a webhook destination #

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/platform-api-v1"
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

autocontent-api-platform-v1-openapi.json Raw ↑
{
  "openapi": "3.1.0",
  "info": {
    "title": "AutoContent Platform API",
    "version": "1.0.0",
    "description": "First-class content Assets with prepaid USD billing. Generic document and video routes do not exist."
  },
  "servers": [
    {
      "url": "https://api.autocontentapi.com/v1"
    }
  ],
  "paths": {
    "/projects": {
      "post": {
        "operationId": "createProject",
        "summary": "Create a Project from one website URL",
        "tags": [
          "projects"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.write"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": true,
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–255 visible ASCII bytes; UUID recommended.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 255,
              "pattern": "^[!-~]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "website_url": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2048,
                    "format": "uri",
                    "x-max-utf8-bytes": 2048
                  }
                },
                "required": [
                  "website_url"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectCreateAccepted"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/AutoContentError"
          }
        }
      },
      "get": {
        "operationId": "listProjects",
        "summary": "List Projects",
        "tags": [
          "projects"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.read"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": false,
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^(?:[1-9]|[1-9][0-9]|100)$"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "analyzing",
                "needs_review",
                "ready",
                "failed",
                "archived"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "data",
                    "next_cursor"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Project"
                      }
                    },
                    "next_cursor": {
                      "oneOf": [
                        {
                          "type": "string",
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/AutoContentError"
          }
        }
      }
    },
    "/projects/{id}": {
      "get": {
        "operationId": "getProject",
        "summary": "Get a Project and analysis status",
        "tags": [
          "projects"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.read"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": false,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^prj_[A-Za-z0-9_-]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/AutoContentError"
          }
        }
      },
      "patch": {
        "operationId": "updateProject",
        "summary": "Edit and confirm a Project profile",
        "tags": [
          "projects"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.write"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": true,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^prj_[A-Za-z0-9_-]+$"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–255 visible ASCII bytes; UUID recommended.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 255,
              "pattern": "^[!-~]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200,
                    "x-max-utf8-bytes": 200
                  },
                  "description": {
                    "type": "string",
                    "minLength": 0,
                    "maxLength": 4000,
                    "x-max-utf8-bytes": 4000
                  },
                  "category": {
                    "type": "string",
                    "minLength": 0,
                    "maxLength": 500,
                    "x-max-utf8-bytes": 500
                  },
                  "audience": {
                    "type": "string",
                    "minLength": 0,
                    "maxLength": 2000,
                    "x-max-utf8-bytes": 2000
                  },
                  "relevant_keywords": {
                    "maxItems": 50,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200,
                      "x-max-utf8-bytes": 200
                    }
                  },
                  "competitor_keywords": {
                    "maxItems": 50,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200,
                      "x-max-utf8-bytes": 200
                    }
                  },
                  "excluded_keywords": {
                    "maxItems": 50,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200,
                      "x-max-utf8-bytes": 200
                    }
                  },
                  "allow_competitor_mentions": {
                    "type": "boolean"
                  },
                  "research_locale": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 255,
                    "format": "bcp47"
                  },
                  "crawl_scope": {
                    "type": "object",
                    "properties": {
                      "root_url": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2048,
                        "format": "uri",
                        "x-max-utf8-bytes": 2048
                      }
                    },
                    "required": [
                      "root_url"
                    ],
                    "additionalProperties": false
                  },
                  "brand": {
                    "type": "object",
                    "properties": {
                      "colors": {
                        "maxItems": 8,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^#[0-9A-F]{6}$"
                        }
                      },
                      "instructions": {
                        "type": "string",
                        "minLength": 0,
                        "maxLength": 2000,
                        "x-max-utf8-bytes": 2000
                      },
                      "default_voice_id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^voice_[A-Za-z0-9_-]+$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "default_avatar_id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^avatar_[A-Za-z0-9_-]+$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "confirmed": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/AutoContentError"
          }
        }
      },
      "delete": {
        "operationId": "archiveProject",
        "summary": "Archive a Project and its Loops",
        "tags": [
          "projects"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.write"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": false,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^prj_[A-Za-z0-9_-]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/AutoContentError"
          }
        }
      }
    },
    "/projects/{id}/logo": {
      "put": {
        "operationId": "replaceProjectLogo",
        "summary": "Replace the primary Project logo revision",
        "tags": [
          "projects"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.write"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": true,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^prj_[A-Za-z0-9_-]+$"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–255 visible ASCII bytes; UUID recommended.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 255,
              "pattern": "^[!-~]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "source_url": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2048,
                    "format": "uri",
                    "x-max-utf8-bytes": 2048
                  }
                },
                "required": [
                  "source_url"
                ],
                "additionalProperties": false
              }
            },
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "file"
                ],
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/AutoContentError"
          }
        }
      },
      "delete": {
        "operationId": "removeProjectLogo",
        "summary": "Clear the primary Project logo for future work",
        "tags": [
          "projects"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.write"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": false,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^prj_[A-Za-z0-9_-]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/AutoContentError"
          }
        }
      }
    },
    "/projects/{id}/refresh": {
      "post": {
        "operationId": "refreshProject",
        "summary": "Refresh Project website analysis",
        "tags": [
          "projects"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.write"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": true,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^prj_[A-Za-z0-9_-]+$"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–255 visible ASCII bytes; UUID recommended.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 255,
              "pattern": "^[!-~]+$"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/AutoContentError"
          }
        }
      }
    },
    "/projects/{id}/collections": {
      "post": {
        "operationId": "createCollection",
        "summary": "Create a Source collection",
        "tags": [
          "projects"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.write"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": true,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^prj_[A-Za-z0-9_-]+$"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–255 visible ASCII bytes; UUID recommended.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 255,
              "pattern": "^[!-~]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200,
                    "x-max-utf8-bytes": 200
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Collection"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/AutoContentError"
          }
        }
      },
      "get": {
        "operationId": "listCollections",
        "summary": "List Source collections",
        "tags": [
          "projects"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.read"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": false,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^prj_[A-Za-z0-9_-]+$"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^(?:[1-9]|[1-9][0-9]|100)$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "data",
                    "next_cursor"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Collection"
                      }
                    },
                    "next_cursor": {
                      "oneOf": [
                        {
                          "type": "string",
                          "minLength": 1
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/AutoContentError"
          }
        }
      }
    },
    "/collections/{id}": {
      "patch": {
        "operationId": "updateCollection",
        "summary": "Rename a Source collection",
        "tags": [
          "collections"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.write"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": false,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^col_[A-Za-z0-9_-]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200,
                    "x-max-utf8-bytes": 200
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Collection"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/AutoContentError"
          }
        }
      },
      "delete": {
        "operationId": "deleteCollection",
        "summary": "Delete an empty Source collection",
        "tags": [
          "collections"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.write"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": false,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^col_[A-Za-z0-9_-]+$"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted successfully; no response body."
          },
          "default": {
            "$ref": "#/components/responses/AutoContentError"
          }
        }
      }
    },
    "/projects/{id}/sources": {
      "post": {
        "operationId": "createSource",
        "summary": "Add a Project Source",
        "tags": [
          "projects"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.write"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": true,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^prj_[A-Za-z0-9_-]+$"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–255 visible ASCII bytes; UUID recommended.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 255,
              "pattern": "^[!-~]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "url"
                      },
                      "url": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2048,
                        "format": "uri",
                        "x-max-utf8-bytes": 2048
                      },
                      "title": {},
                      "collection_id": {
                        "type": "string",
                        "pattern": "^col_[A-Za-z0-9_-]+$"
                      }
                    },
                    "required": [
                      "type",
                      "url"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "youtube"
                      },
                      "url": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2048,
                        "format": "uri",
                        "x-max-utf8-bytes": 2048
                      },
                      "title": {},
                      "collection_id": {
                        "type": "string",
                        "pattern": "^col_[A-Za-z0-9_-]+$"
                      }
                    },
                    "required": [
                      "type",
                      "url"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "text"
                      },
                      "text": {},
                      "title": {},
                      "collection_id": {
                        "type": "string",
                        "pattern": "^col_[A-Za-z0-9_-]+$"
                      }
                    },
                    "required": [
                      "type",
                      "text",
                      "title"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "product_visual"
                      },
                      "url": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2048,
                        "format": "uri",
                        "x-max-utf8-bytes": 2048
                      },
                      "title": {},
                      "collection_id": {
                        "type": "string",
                        "pattern": "^col_[A-Za-z0-9_-]+$"
                      }
                    },
                    "required": [
                      "type",
                      "url"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            },
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "file"
                ],
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  },
                  "collection_id": {
                    "type": "string",
                    "pattern": "^col_[A-Za-z0-9_-]+$"
                  },
                  "title": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 500,
                    "x-max-utf8-bytes": 500
                  },
                  "keep_as_project_asset": {
                    "type": "boolean",
                    "default": true,
                    "description": "Set false to keep the upload request-only; it expires after 24 hours unless claimed by a Generation."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Source"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/AutoContentError"
          }
        }
      },
      "get": {
        "operationId": "listSources",
        "summary": "List Project Sources",
        "tags": [
          "projects"
        ],
        "security": [
          {
            "platformOAuth": []
          },
          {
            "platformApiKey": []
          }
        ],
        "x-required-scopes": [
          "platform.read"
        ],
        "x-principal": "oauth_or_api_key",
        "x-idempotency-required": false,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema":

# --- truncated at 32 KB (519 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/autocontent-api/refs/heads/main/openapi/autocontent-api-platform-v1-openapi.json