CollectSEA Analyze API

The Analyze API from CollectSEA — 1 operation(s) for analyze.

GitHub OpenAPI

Operations 1

POST /api/analyze Find real incidents and safeguards for a planned design or existing app #

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/collectsea-com:collectsea-com-analyze-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

collectsea-com-analyze-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Collectsea Com Analyze API
  version: 2026.10.22-review-workspace
  contact:
    url: https://collectsea.com/about#contact
  license:
    name: 'Data: CC BY 4.0'
    url: https://creativecommons.org/licenses/by/4.0/
  description: 'Operations tagged Analyze across 2 of this provider''s published API definitions: collectsea-com-openapi.json, collectsea-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://collectsea.com
tags:
- name: Analyze
paths:
  /api/analyze:
    post:
      operationId: analyzeDesign
      summary: Find real incidents and safeguards for a planned design or existing app
      description: Profiles behavior signals in a design description or submitted existing-app context, retrieves analogous documented incidents and advisories, and returns safeguards. Call this before implementing features that move money, delete data, change permissions, run code, or let an AI agent act on external content.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              anyOf:
              - required:
                - proposal
              - properties:
                  mode:
                    const: existing_app
                  files:
                    minItems: 1
                required:
                - files
                - mode
              properties:
                repository:
                  type: object
                  description: Repository metadata returned by /api/app-context; preserve it alongside imported files.
                  properties:
                    url:
                      type: string
                    revision:
                      type: string
                    selected_files:
                      type: integer
                    available_files:
                      type: integer
                    partial:
                      const: true
                  required:
                  - url
                  - revision
                  - selected_files
                  - available_files
                  - partial
                mode:
                  type: string
                  enum:
                  - design
                  - existing_app
                  default: design
                files:
                  type: array
                  maxItems: 10
                  description: 'Existing-app mode only. Combined description and file contents: at most 25,000 characters. Entire request: at most 32 KB. Text is not executed or crawled.'
                  items:
                    type: object
                    required:
                    - name
                    - content
                    properties:
                      name:
                        type: string
                        minLength: 1
                        maxLength: 160
                      content:
                        type: string
                        minLength: 1
                        maxLength: 25000
                      origin:
                        type: string
                        enum:
                        - repository
                        - upload
                        description: Preserve repository origin from /api/app-context; mark additional local text as upload.
                proposal:
                  type: string
                  maxLength: 25000
                  description: 'What the system does: what it can change, what it reads, which services it calls.'
                max_results:
                  type: integer
                  minimum: 1
                  maximum: 25
                  default: 6
                exclude_incident_ids:
                  type: array
                  items:
                    type: string
                  maxItems: 10
      responses:
        '200':
          description: Analysis result
          content:
            application/json:
              schema:
                type: object
                properties:
                  analysis_id:
                    type: string
                  input_context:
                    type: object
                    properties:
                      mode:
                        type: string
                        enum:
                        - design
                        - existing_app
                      sources:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            characters:
                              type: integer
                      limitations:
                        type: string
                  profile:
                    type: object
                  matches:
                    type: array
                    items:
                      type: object
                      properties:
                        incident:
                          type: object
                        composite_score:
                          type: number
                        why_analogous:
                          type: string
                        lessons:
                          type: array
                          items:
                            type: object
                  top_lessons:
                    type: array
                    items:
                      type: object
                      properties:
                        title:
                          type: string
                        statement:
                          type: string
                        actionable_rule:
                          type: string
                        supporting_incident_ids:
                          type: array
                          items:
                            type: string
                  coverage:
                    type: object
                    properties:
                      status:
                        type: string
                        enum:
                        - strong
                        - partial
                        - none
                      message:
                        type: string
                  metadata:
                    type: object
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
        '413':
          description: Proposal too long
          content:
            application/json:
              schema:
                type: object
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                type: object
      tags:
      - Analyze
    servers:
    - url: https://collectsea.com
externalDocs:
  url: https://collectsea.com/docs
x-refined-from:
- collectsea-com-openapi.json
- collectsea-com-openapi.yml