Get a pipeline by ID

Returns a pipeline by its unique identifier.