---
title: "Add Source Polymorphic"
method: POST
path: "/api/v1/deliverables/{deliverable_id}/sources"
tags: ["v1", "Deliverables", "deliverables"]
---

# Add Source Polymorphic

`POST /api/v1/deliverables/{deliverable_id}/sources`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/deliverables/{deliverable_id}/sources`
- Auth: none declared

Add source content to deliverable — polymorphic (text/image/audio).

Accepts optional quote_id or project_id to create source rows for quote/project context.
Format auto-detected; hint skips classification.

## Path parameters

- `deliverable_id` string, uuid, required

## Request body

- AddSourcePolymorphicRequest: Request body for POST /deliverables/{id}/sources (unified polymorphic).
  - `content` string, required: Raw content: plain text or base64-encoded file
  - `format` 'text' | 'image' | 'audio' | 'auto': Content format; auto infers from content
  - `content_type` string, nullable: Optional MIME type from multipart upload (e.g. image/png)
  - `title` string, nullable: Optional title for the source
  - `hint` 'email' | 'list' | 'instructions' | 'note' | 'drawing', nullable: Skip LLM classification; use this as source_type when provided
  - `quote_id` integer, nullable: When adding from quote context: create source row for this quote
  - `project_id` integer, nullable: When adding from project context: create source row for this project

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
