Artifacts
Update an artifact
Updates an artifact you can edit: one you own, or one shared with you with write permission. Changed content creates a new version; the other fields change in place. Omitted fields are left unchanged. Unknown body fields are rejected.
patch/api/v1/artifacts/{id}
Request
- Base URL: https://your-deployment.example.com
- URL: https://your-deployment.example.com/api/v1/artifacts/{id}
- Auth: one of:
- HTTP bearer
- API key in header x-api-key
Path parameters
idstring required
Request body
Example request
{
"content": "graph TD; A[Sign up] --> B[Verify email] --> C[Done]"
}Response
The updated artifact and its current content. content is null for a caller who may edit but not read the artifact, unless the request sent content.
Changes
No recorded changes to this operation across all 1 revision of this API.