API for managing ChatGPT Project Sources

I maintain a homelab documentation system that generates a structured Markdown corpus representing infrastructure state and documentation.

I would like to automatically upload this corpus to a ChatGPT Project so the project always contains the latest knowledge snapshot.

Currently this requires manually uploading files in the ChatGPT UI.

A public API to manage project sources would enable powerful workflows such as:

  • automated knowledge base syncing

  • CI/CD documentation updates

  • infrastructure context generation

  • AI-assisted operations tooling

Example workflow:

Generate corpus
→ Upload via API
→ Attach to Project
→ Remove previous corpus version

Proposed endpoints:

POST /v1/projects/{project_id}/sources
GET /v1/projects/{project_id}/sources
DELETE /v1/projects/{project_id}/sources/{source_id}

This would make ChatGPT Projects dramatically more useful for engineering teams.

Hey @Robert_Lankford,

Thanks for sharing this idea. For automation workflows like the one you described, it may also be worth looking at Custom GPTs with GPT Actions. GPT Actions can interact with external applications through REST APIs, which can help enable integrations and automation outside of ChatGPT.

Since you’re specifically looking for this capability within Projects, I’ll also pass your suggestion along to the product team as feedback. We can’t share timelines or updates on feature requests, but feedback like this is helpful for the team as they evaluate potential features.

-Ace

1 Like