cURL
curl --request GET \ --url https://genui.sh/api/artifacts/{id}
{ "id": "art_abc123", "template": "markdown", "title": "My Document", "description": "A sample document", "content": { "text": "# Hello World\n\nThis is my artifact." }, "status": "active", "metadata": { "author": "john@example.com" }, "createdAt": "2024-01-15T12:00:00Z", "updatedAt": "2024-01-15T12:00:00Z", "expiresAt": "2024-01-22T12:00:00Z" }
art_xxx
active
expired
deleted
curl -X GET https://genui.sh/api/artifacts/art_abc123 \ -H "Authorization: Bearer $GENUI_API_KEY"