CoreStory Sample Projects API

The sample_projects API from CoreStory — 3 operation(s) for sample_projects.

Operations 6

GET /api/projects/samples List sample projects #
POST /api/projects/samples Create sample project #
GET /api/projects/samples/{sample_project_id} Get sample project #
PATCH /api/projects/samples/{sample_project_id} Update sample project #
DELETE /api/projects/samples/{sample_project_id} Delete sample project #
POST /api/projects/samples/clone Clone a sample project #

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/corestory-sample-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

corestory-sample-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Crowdbotics API Documentation Sample Projects API
  description: '# CoreStory API Overview


    The CoreStory API provides programmatic access to structured insights derived from software source code.'
  version: 1.26.2
servers:
- url: /
  description: Current server
security:
- BearerAuth: []
tags:
- name: sample_projects
paths:
  /api/projects/samples:
    get:
      tags:
      - sample_projects
      summary: List sample projects
      description: List all available sample projects with pagination. Requires CoreStory internal access.
      operationId: list_sample_projects
      parameters:
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          default: 0
          title: Offset
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SampleProjectDetail'
                title: Response List Sample Projects
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
    post:
      tags:
      - sample_projects
      summary: Create sample project
      description: Create a new sample project from an existing project. Requires CoreStory internal access.
      operationId: create_sample_project
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SampleProjectCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SampleProjectDetail'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
  /api/projects/samples/{sample_project_id}:
    get:
      tags:
      - sample_projects
      summary: Get sample project
      description: Retrieve details for a specific sample project by ID. Requires CoreStory internal access.
      operationId: get_sample_project
      parameters:
      - name: sample_project_id
        in: path
        required: true
        schema:
          type: integer
          title: Sample Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SampleProjectDetail'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
    patch:
      tags:
      - sample_projects
      summary: Update sample project
      description: Update an existing sample project's details. Requires CoreStory internal access.
      operationId: update_sample_project
      parameters:
      - name: sample_project_id
        in: path
        required: true
        schema:
          type: integer
          title: Sample Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SampleProjectUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SampleProjectDetail'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
    delete:
      tags:
      - sample_projects
      summary: Delete sample project
      description: Delete a sample project entry. Requires CoreStory internal access.
      operationId: delete_sample_project
      parameters:
      - name: sample_project_id
        in: path
        required: true
        schema:
          type: integer
          title: Sample Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicSuccessResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
  /api/projects/samples/clone:
    post:
      tags:
      - sample_projects
      summary: Clone a sample project
      description: Clone a sample project by language into the current user's organization. Creates a new project with all related data.
      operationId: clone_sample_project
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_clone_sample_project'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClonedSampleProjectResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
components:
  schemas:
    ErrorSchema:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
      type: object
      required:
      - error
      title: ErrorSchema
    Body_clone_sample_project:
      properties:
        language:
          type: string
          maxLength: 64
          minLength: 1
          title: Language
      type: object
      required:
      - language
      title: Body_clone_sample_project
    ClonedSampleProjectResponse:
      properties:
        new_project_id:
          type: integer
          title: New Project Id
      type: object
      required:
      - new_project_id
      title: ClonedSampleProjectResponse
    SampleProjectCreate:
      properties:
        language:
          type: string
          maxLength: 64
          minLength: 1
          title: Language
        project_id:
          type: integer
          title: Project Id
      type: object
      required:
      - language
      - project_id
      title: SampleProjectCreate
    SampleProjectUpdate:
      properties:
        language:
          anyOf:
          - type: string
            maxLength: 64
            minLength: 1
          - type: 'null'
          title: Language
        project_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Project Id
      type: object
      title: SampleProjectUpdate
    SampleProjectDetail:
      properties:
        language:
          type: string
          maxLength: 64
          minLength: 1
          title: Language
        project_id:
          type: integer
          title: Project Id
        id:
          type: integer
          title: Id
      type: object
      required:
      - language
      - project_id
      - id
      title: SampleProjectDetail
    ErrorBody:
      properties:
        message:
          type: string
          title: Message
        type:
          type: string
          title: Type
        details:
          additionalProperties: true
          type: object
          title: Details
          description: Optional extra context for the error.
      type: object
      required:
      - message
      - type
      title: ErrorBody
    BasicSuccessResponse:
      properties:
        detail:
          type: string
          title: Detail
          default: success
      type: object
      title: BasicSuccessResponse
      description: 'Use this for returns for deletes and patches.

        UI ALWAYS needs some payload return. This just standarizes it.'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Enter the Bearer token from Clerk authentication
x-tagGroups:
- name: Ingest Your Codebase
  tags:
  - vector_store
  - projects
  - pre_ingestion
  - reingestion
- name: Generate Code Intelligence
  tags:
  - documents
  - document_generation
  - document_formatters
  - prd
  - prd_version
  - tech_spec
  - quality_metrics
  - sample_projects
- name: Query Your Codebase
  tags:
  - conversations
  - workflows
  - discovery
  - context
  - artifacts
- name: Manage and Inspect Intelligence
  tags:
  - api_debugging
  - events
  - version
  - files
  - cache
  - token_tracking
- name: Authenticate and Manage Access
  tags:
  - clerk_authentication
  - github_webhooks
  - github_integration
  - organizations
  - api_key_management
  - mcp_token_management
  - user
- name: (Advanced) Prompt Tuning
  tags:
  - prompts
- name: MCP Protocol
  tags:
  - mcp_protocol
- name: Administration
  tags:
  - admin