# Chroma Function API

**Canonical:** https://apis.io/apis/chroma/chroma-function-api/  
**Provider:** Chroma — https://apis.io/providers/chroma/  
**Base URL:** https://api.trychroma.com  
**Documentation:** https://docs.trychroma.com/reference/python/client

Chroma Function API is one of 9 APIs that [Chroma](https://apis.io/providers/chroma/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Function. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

The Function API from Chroma — 4 operation(s) for function.

## Operations (4)

| Method | Path | Summary |
|---|---|---|
| POST | `/api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/attached_functions/{name}/add_input` | Add attached function input |
| POST | `/api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/attached_functions/{name}/detach` | Detach function |
| POST | `/api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/functions/attach` | Attach function |
| GET | `/api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/functions/{function_name}` | Get attached function |

## Machine-readable artifacts (12)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/chroma/refs/heads/main/openapi/chroma-function-api-openapi.yml
- **Documentation** — https://docs.trychroma.com/reference/chroma-reference
- **Documentation** — https://docs.trychroma.com/cloud/sync/overview
- **Documentation** — https://docs.trychroma.com/docs/collections/manage-collections
- **APIReference** — https://docs.trychroma.com/reference/chroma-reference
- **PostmanCollection** — https://raw.githubusercontent.com/api-evangelist/chroma/refs/heads/main/collections/chroma-db.postman_collection.json
- **OpenCollection** — https://raw.githubusercontent.com/api-evangelist/chroma/refs/heads/main/collections/chroma-db.opencollection.json
- **Documentation** — https://docs.trychroma.com/docs/collections/add-data
- **APIReference** — https://docs.trychroma.com/reference/chroma-api/record/add-records
- **Documentation** — https://docs.trychroma.com/docs/querying-collections/query-and-get
- **APIReference** — https://docs.trychroma.com/reference/chroma-api/record/query-collection
- **Documentation** — https://docs.trychroma.com/docs/overview/architecture

## Other Chroma APIs (8)

- [Chroma Python Client](https://apis.io/apis/chroma/python-client/)
- [Chroma JavaScript Client](https://apis.io/apis/chroma/javascript-client/)
- [Chroma System API](https://apis.io/apis/chroma/chroma-system-api/)
- [Chroma Authentication API](https://apis.io/apis/chroma/chroma-authentication-api/)
- [Chroma Collection API](https://apis.io/apis/chroma/chroma-collection-api/)
- [Chroma Database API](https://apis.io/apis/chroma/chroma-database-api/)
- [Chroma Record API](https://apis.io/apis/chroma/chroma-record-api/)
- [Chroma Tenant API](https://apis.io/apis/chroma/chroma-tenant-api/)

## Tags

Function

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/chroma/chroma-function-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/chroma/.
