Get Artifact Versions
GET /api/v1/team-chat/artifacts/{artifact_id}/versions
Get version history for a shared artifact.
Args: artifact_id: The artifact UUID string. user: The authenticated user context. svc: The artifact service (injected).
Returns: The artifact version history.
Raises: HTTPException: 404 if artifact not found.
Authorizations
Parameters
Path Parameters
Responses
200
Successful Response
Response schema for artifact version history.
Attributes: versions: List of artifact versions (newest first). current_version: The latest version number. total_versions: Total number of versions.
object
Response schema for a persisted shared artifact.
Attributes: id: Unique artifact identifier. thread_id: Owning thread identifier. tenant_id: Owning tenant UUID. artifact_type: Type classification. name: Human-readable artifact name. content: The artifact data. version: Version number. created_by: Agent role that created it. updated_by: Agent role that last updated it. parent_artifact_id: Previous version’s ID. created_at: When the artifact was created. updated_at: When the artifact was last updated.
object
object
422
Validation Error