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>)

StatusDescriptionBody
200application/json ArtifactTypeResponseDtoDataArrayEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/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

StatusDescriptionBody
201application/json ArtifactTypeResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/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>)

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200application/json ArtifactTypeResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto