# An admin API for AI web artifact creation and editing

**URL:** https://meta.discourse.org/t/an-admin-api-for-ai-web-artifact-creation-and-editing/371297
**Category:** Feature
**Tags:** rest-api, completed, ai, ai-artifacts
**Created:** [June 23, 2025, 7:35am UTC](https://meta.discourse.org/t/an-admin-api-for-ai-web-artifact-creation-and-editing/371297 "2025-06-23T07:35:42Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![MachineScholar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/machinescholar/32/424719_2.png) [@MachineScholar](https://meta.discourse.org/u/MachineScholar)
#### Post date: [June 24, 2025, 10:01am UTC](https://meta.discourse.org/t/an-admin-api-for-ai-web-artifact-creation-and-editing/371297/2 "2025-06-24T10:01:56Z")

</div>

I’ve just attempted to manually add a new artifact to the `ai_artifacts` database table using pgAdmin4. I copy/pasted the row of an already existing artifact then changed the values for the `id`,`user_id`, and `post_id` columns. Did the same process for the `ai_artifact_key_values` table.

And it still didn’t work for some unknown reason. The new artifact which I manually added was not visible to the user which it should be visible to. So I fear the only way to get this done is via a dedicated admin API endpoint 😔

---

_[View the full topic](https://meta.discourse.org/t/an-admin-api-for-ai-web-artifact-creation-and-editing/371297)._
