---
title: "Create Compound"
method: POST
path: "/compound/compounds"
tags: ["compound-discovery"]
---

# Create Compound

`POST /compound/compounds`

## Request

- Base URL: `https://api.crowelogic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.crowelogic.com/compound/compounds`
- Auth: none declared

## Request body

- Compound
  - `id` string
  - `name` string, required
  - `iupac_name` string, nullable
  - `formula` string, nullable
  - `molecular_weight` number, nullable
  - `smiles` string, nullable
  - `inchi_key` string, nullable
  - `source_organism` string, nullable
  - `source_type` 'fungal' | 'plant' | 'marine' | 'synthetic' | 'semi_synthetic' | 'endophytic'
  - `compound_class` 'terpene' | 'polysaccharide' | 'phenolic' | 'alkaloid' | 'peptide' | 'polyketide' | 'steroid' | 'lipid' | 'other'
  - `development_stage` 'identified' | 'isolated' | 'characterized' | 'in_vitro' | 'in_vivo' | 'preclinical' | 'clinical'
  - `bioactivities` BioactivityType[]
  - `cas_number` string, nullable
  - `pubchem_cid` string, nullable
  - `notes` string, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Response `200`

Successful Response

- Compound
  - `id` string
  - `name` string, required
  - `iupac_name` string, nullable
  - `formula` string, nullable
  - `molecular_weight` number, nullable
  - `smiles` string, nullable
  - `inchi_key` string, nullable
  - `source_organism` string, nullable
  - `source_type` 'fungal' | 'plant' | 'marine' | 'synthetic' | 'semi_synthetic' | 'endophytic'
  - `compound_class` 'terpene' | 'polysaccharide' | 'phenolic' | 'alkaloid' | 'peptide' | 'polyketide' | 'steroid' | 'lipid' | 'other'
  - `development_stage` 'identified' | 'isolated' | 'characterized' | 'in_vitro' | 'in_vivo' | 'preclinical' | 'clinical'
  - `bioactivities` BioactivityType[]
  - `cas_number` string, nullable
  - `pubchem_cid` string, nullable
  - `notes` string, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/crowelogic/apis/crowe-logic-foundry.md) · [All operations](https://skmtc.dev/crowelogic/apis/crowe-logic-foundry/llms.txt) · [OpenAPI document](https://skmtc.dev/crowelogic/apis/crowe-logic-foundry/revisions/a3c1ef17f171?raw)
