artifact-types
Operations of the Artifact Store API. Paths are relative to your deployment's API host.
GET /api/artifact-store-api/artifact-types
List every artifact type visible to the caller org: platform built-ins, biome contributions, and the org's own rows. Biome-contributed types are filtered through @xemahq/biome-governance-client; types shipped by disabled biomes are hidden.
Authentication: bearer token (Authorization: Bearer <token>)
| Status | Description | Body |
|---|---|---|
| 200 | application/json ArtifactTypeResponseDtoDataArrayEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/problem+json ProblemDetailsDto |
POST /api/artifact-store-api/artifact-types
Register an org-scoped artifact type. Org-admin only. Rejects ids already claimed by the platform or a biome.
Authentication: bearer token (Authorization: Bearer <token>)
Request body: application/json CreateArtifactTypeDto
| Status | Description | Body |
|---|---|---|
| 201 | application/json ArtifactTypeResponseDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/problem+json ProblemDetailsDto |
DELETE /api/artifact-store-api/artifact-types/{id}
Delete an org-scoped artifact type by id. Org-admin only. 404 if the id does not belong to the caller's org. Existing artifacts emitted with this type are NOT touched; future emits will fail validation until the type is re-registered.
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json ArtifactTypeResponseDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/problem+json ProblemDetailsDto |